How to improve disk I/O performances with VMware Workstation

Posted by virtualization.info Staff   |   Monday, November 21st, 2005   |  

Even on a 2 GB RAM workstation (as mine) VMware virtual machines can run slowly. Too slowly sometimes.

This can depend on a large amount of factors but we can reduce the number to 4 critical issues:

  1. Antivirus real-time protection
    You probably run VMware Workstation on your everyday working computer, and you probably want to stay secure running an antivirus software.

    The most useful feature of any AV is the real-time protection, catching and monitoring I/O accesses of every process for suspicious activities.
    This feature can greatly impact on your VMs performances and should be fine-tuned for virtualization.

    So be sure to create an exclusion filter on your real-time protection settings for .vmdk (VMware virtual disk) and .vmem (VMware virtual memory) files. In this way countinous I/O operations on your virtual machines will not be hit by antivirus checking.

    Note: if you plan to run liveCD operating systems (like Knoppix) inside your VMs or simply often use CD images for installing new software, I highly recommend to exclude .iso files too from AV checking.

  2. HostOS disk fragmentation
    A really performance hitter for virtual machines is a fragmented host OS disk.

    VMs virtual disks are very large (4 GBs at minimum on the average) and are created by default as non preallocated. In other words your virtual disk grow as you install more software on the guest OS till reaching your defined disk limit.
    If you use only one physical disk for everyday work and VMs storing, you probably will use space around a growing virtual disk, obliging your host OS to fragment virtual machines more and more.

    So be sure to:

    • Create a dedicated partition for virtual machines only
    • Create guest OSes virtual disks with Allocate all disk space now option
    • Schedule a daily defragmentation for your virtual machines directories (maybe at launch time or during the night)
  3. Memory trimming
    Workstation checks which part of the guest OS virtual memory is not used and allocates it back to the host OS. This permits to have more concurrent virtual machines running but everytime the guest OS asks back for its memory it suffers a performance degradation.

    So, if you have enough free RAM for all planned concurrent VMs, be sure to disable memory trimming for guest OSes adding the following line to the virtual machine configuration (.vmx) file:

    MemTrimRate=0

    Note: Memory trimming can be disabled through GUI since Workstation 6.0.

  4. Page sharing (quoted from VMware documentation)
    VMware uses a page sharing technique to allow guest memory pages with identical contents to be stored as a single copy-on-write page. Page sharing decreases host memory usage, but consumes system resources, potentially including I/O bandwidth.

    You may want to avoid this overhead for guests for which host memory is plentiful and I/O latency is important. To disable page sharing, add the following line to the virtual machine configuration (.vmx) file:

    sched.mem.pshare.enable=FALSE option

These suggestions will work well for every VMware Workstation 5.x and Player 1.x since both share same engine.


Labels: ,

blog comments powered by Disqus


virtualization.info Newest articles
Release: VMware Mirage 5.2

December 11th, 2014

VMware has released version 5.2 of its centralized image management solution for Windows desktops: Mirage. Version 5.2 is the follow-up of version 5.1 which was released in September this year….

Release: VMware vRealize Log Insight 2.5

December 10th, 2014

After announcing vRealize Log Insight 2.5 in October this year, VMware today released the version to its customers. Log Insight is a log aggregation, management and analisys tool, and version…

Release: VMware vRealize Operations Manager 6.0

December 10th, 2014

VMware has released version 6.0 of its monitoring tool vRealize Operations Manager. vRealize Operations Manager provides performance, capacity and configuration management capabilities across physical, virtual and cloud infrastructures. Its…

VMware makes App Volumes generally available

December 10th, 2014

In August this year, VMware acquired CloudVolumes, a company providing an application containerization solution, similar to what Docker is currently providing. Actually buying the CloudVolumes solution was quite confusing, since…

Release: Microsoft Desktop Optimization Pack 2014 R2

December 8th, 2014

Microsoft has released its Desktop Optimization Pack (MDOP) 2014 R2, which is available for Microsoft Customers with Software Assurance. The MDOP 2014 R2 is the follow up of the…

Release: 5nine Manager 6.0 for Hyper-V

December 4th, 2014

5nine has released version 6.0 of its Microsoft hypervisor management solution 5nine Manager. 5nine Manager is capable of managing multiple versions of Microsoft Hyper-V hosts, and also provdes an…

Release: Veeam Management Pack v7 R2 for System Center

December 3rd, 2014

Veaam today released a new version of its Management Pack for Microsoft’s Operations Manager monitoring solution capable of monitoring VMware vSphere, Microsoft Hyper-V and Veeam Backup & Replication environments.
The…

Release: Dell Wyse vWorkSpace 8.5

December 3rd, 2014

Dell has released version 8.5 of its VDI Connection Broker Software Wyse vWorkspace. vWorkSpace was part of the product portfolio of Quest when it was acquired by Dell in September…

Tech: Microsoft Cloud Platform Integration Framework

December 3rd, 2014

Microsoft has published a series of articles on the subject: Cloud Platform Integration Framework. The Cloud Platform Integration Framework (CPIF) provides an enterprise or cloud service provider architect patterns…

Release: VMware Workstation 11 and VMware Player 7 Pro

December 2nd, 2014

On October 1st VMware announced the upcoming features for Workstation version 11 and Player Pro version 7. Today VMware released both version making them generally available to VMware customers. Starting…

OpenStack 2015 Board of Directors Elections

November 28th, 2014

The OpenStack Foundation regularly conducts Elections for Individual Directors of the Foundation’s Board, next elections for the 2015 Board of Directors are going to be held from Monday January…

Paper: Dell Wyse Datacenter for VMware Horizon View Reference Architecture v.6.6

November 28th, 2014

Dell has released a paper titled: "Dell Wyse Datacenter for VMware Horizon View Reference Architecture v.6.6". The paper which contains 110 pages contains a Reference Architecture for the design, configuration…

Paper: Creating a VMware Software-Defined Data Center

November 27th, 2014

VMware has released a paper titled:"Creating a VMware Software-Defined Data Center". The paper which contains 29 pages describes a reference architecture for a Software Defined Data Center (SDDC) using VMware…

Release: 5nine Cloud Security 5.0 for Hyper-V

November 26th, 2014

5nine has released version 5 of its Cloud Security for Hyper-V product. Cloud Security for Hyper-V is a solution which helps to ensure security and compliance for Hyper-V environments. It…

 
Monthly Archive