VMWare Problem When Saving Large Files

[Note: From dejanews search, I consider the same problem reported with Microsoft Virtual Server 2005. I have no way to test whether the present resolution applies or not to that case, but it must be harmless enough to try it].

The problem occured to me only when saving files, and when the files are sufficiently large, in the tens of kilobytes vicinity. My hypothesis was that vmware bridge filter dumps virtual cable segment traffic into the physical interface network stack at an enormous rate for a 100 Mbps connection, and the OS sees this traffic as coming from the physical card driver.  I decided to reconfigure the host network to “disclose” the virtual cable segment traffic to the OS using Windows MAC bridging instead of vmware “behind the scenes” bridging.  I can neither confirm nor deny the correctness of this hypothesis, but in practice it resolved the issue.

I am assuming that you are using bridged configuration and one virtual network interface in each VM.

The procedure I performed was:

  1. Shutdown all VMs that you are going to reconfigure.
  2. Run vmware virtual network utility,  create an adapter (I will be using VMnet1 exempli gratia, but any other one except VMnet0 will work), and disconnect it from DHCP by removing it from the list on the DHCP page.  Unbinding DHCP from this adapter is important to avoid network problems.
  3. According to the procedure at http://www.vmware.com/info?id=68, enable VMnet1 participation in a bridge:
    • Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class and look for the key {4D36E972-E325-11CE-BFC1-08002bE10318}. Make sure it is the right key by selecting it and verifying that (Default) has the value `Network adapters’.
    • Under {4D36E972-E325-11CE-BFC1-08002bE10318}, there are subkeys 0000, 0001, 0002 and so forth. Select each subkey until you find the one that corresponds to the VMnet adapter in question. The correct key has the DriverDesc with value `VMware Virtual Ethernet Adapter …’.
    • Add a DWORD value called AllowBindingToMACBridge, and set it to 1.
  4. Bridge the physical and the new virtual connection, and assign the bridge correct network properties.
  5. In the VMs, set network adapter configuration to `Custom’, then choose `VMnet1′ for the network.

This configuration puts all VMs on a single virtual cable segment, bridged explicitly, from the host OS point of view, to the physical interface driver.  Although the VMnet1 connection speed is still reported as 100 Mbps, and bursts of traffic clearly exceed that value by at least an orders of magnitude, the spurious DOS detection does not occur any more, at least on the same test files that I used (up to 100 MB).

[Modified by Mitch Tulloch] – 12 Nov 2004


Leave a Comment

Your email address will not be published.

Scroll to Top