open-vm-tools icon indicating copy to clipboard operation
open-vm-tools copied to clipboard

FindFirstChangeNotification & inotify for a remote file system

Open denji opened this issue 3 years ago • 6 comments

VMware plans to support FileSystem Notifications for HGFS? Support for IntelliJ IDEA projects on HGFS is extremely slow, and antiviruses are also not reacting well to file changes.

  • https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-findfirstchangenotificationa
  • https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-readdirectorychangesw

VMware® Workstation 16 Pro (16.1.2 build-17966106) Host: 5.13.13-arch1-1 Windows 11 Pro N for Workstations. Stable version of Windows 10 Pro N for Workstations get the same result with HGFS loading on all threads because the systems cannot detect which files have changed.

I get full load on all cores at some points in time, there is a HGFS issue with multi-threading in the logs at that point (ESET 14.2.24.0 antivirus scans the whole project tree). Performance exclusions helps, but all JetBrains+ESET products cause temporary overloads HGFS from time to time when opening a project and scans the entire project tree.

In Windows 8 and Windows Server 2012, this function is supported by the following technologies.

Technology Supported
Server Message Block (SMB) 3.0 protocol Yes
SMB 3.0 Transparent Failover (TFO) Yes
SMB 3.0 with Scale-out File Shares (SO) Yes
Cluster Shared Volume File System (CsvFS) See remark
Resilient File System (ReFS) Yes

denji avatar Sep 12 '21 20:09 denji