vmware / open-vm-tools

Official repository of VMware open-vm-tools project
http://sourceforge.net/projects/open-vm-tools/
2.23k stars 425 forks source link

FindFirstChangeNotification & inotify for a remote file system #542

Open denji opened 3 years ago

denji commented 3 years ago

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.

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
lousybrit commented 3 years ago

Currently, file/directory change notifications are supported for Windows VMs on the Fusion product only. Tools PM/management placed this feature on hold for other hosts, such as Workstation with Windows and Linux. It has outstanding requests to implement this but has not been given the go-ahead to date.

I will append this issue will be to the existing request in the hope of raising the priority.

Please give more details on your environment, such as the Product and version combined with the VMware Tools version, the Windows OS if different from Windows 8 and Windows Server 2012, and the host OS and version.

Thanks Steve

lousybrit commented 3 years ago

Can you further specify the anti-virus product that is not working well with the VMware Shared Folders? This is regularly tested in Windows VMs with various products at Microsoft with product interop testing. Do you know if your particular anti-virus product scans network shares as file traffic is transferred? Not many do but assume the remote files are scanned on the local disk of the remote machine.

Thanks Steve

denji commented 1 year ago

https://youtrack.jetbrains.com/issue/IDEA-267775 https://github.com/mhallin/notify-forwarder https://www.codecentric.de/wissens-hub/blog/fix-webpack-watch-virtualbox

denji commented 1 year ago

@lousybrit There are problems with this implementation too in the current HGFS variant for VMware Workstation Linux/Windows https://github.com/git-for-windows/git/discussions/3251

denji commented 1 month ago

@lousybrit Someday this useful feature will be implemented cross-platform in more than just Fusion product?

lousybrit commented 3 weeks ago

@lousybrit Someday this helpful feature will be implemented cross-platform in more than just Fusion product?

That would be my hope. I would love to see it happen, at least for the Workstation on Windows host and, eventually, all platforms. We are updating our internal bug to track user interest in this feature, which can increase priority.

Thank you for reporting.