Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Virtual machine on USB or other slow storage device runs slowly
Details
Solution
In all cases, you should upgrade to the most recent version of the VMware product, available from our Download Center:
If this upgrade does not resolve the issue, read on.
By default, when a virtual machine is stored on a local device, VMware Workstation uses a file in the virtual machine's directory as a memory swap file. USB devices -- including flash memory drives, which read and write data much more slowly than internal hard drives -- are seen as local devices. When the memory swap file is on such a slow device, virtual machine performance suffers.
The same effect is seen with other types of slow local storage devices, such as Zip drives. Another symptom of this may be excessive disk I/O.
You can improve performance by changing a configuration setting so Workstation uses the host system's hard drive to store the swap data.
To do so, use a text editor to add the following line to the virtual machine's configuration (.vmx ) file:
On Windows hosts, if you are using a version of Workstation prior to 6.5, enter the config option mainMem.useNamedFile=FALSE
On 32-bit Linux hosts, enter the config option mainMem.backing="unnamed"
In some cases, the same thing can be seen where virtual machines are stored on other types of slow disk systems. If this is the case, there are some further settings that may help. First, go into the Host settings and adjust memory so that it is set to Fit all virtual machine memory into reserved host RAM. (With Workstation, this could be done via Edit > Preferences from the menu, with Server the same could be done via Host > Settings.)
Note: Care should be taken with this. While it will reduce disk use for memory swapping, it will put more of a burden on host physical RAM. Make sure there is enough RAM on the host to support this.
Additionally, there are also some further .vmx settings that could be used - along with the same caution that implementing these can use more host physical RAM:
sched.mem.pshare.enable = "FALSE"
MemTrimRate = 0
prefvmx.useRecommendedLockedMemSize = "TRUE"
prefvmx.minVmMemPct = "100"
Special note for ACE Users: VMware recommends you use the Pocket ACE feature if planning to deploy to USB media. Deploying a Pocket ACE to removable media automatically optimizes for performance, so the above steps are NOT recommended with Pocket ACE.
Special note for ACE Users: VMware recommends you use the Pocket ACE feature if planning to deploy to USB media. Deploying a Pocket ACE to removable media automatically optimizes for performance, so the above steps are NOT recommended with Pocket ACE.
Keywords
This Article Replaces
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
- KB Article:
- Updated:
- Categories:
- Product Family:
- Products:
- Product Versions:

