VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Troubleshooting virtual machine performance issues

Symptoms

  • The guest operating system boots slowly
  • Applications running in virtual machines perform poorly
  • Applications running in virtual machines take a long time to launch
  • Applications running in virtual machines frequently become unresponsive
  • Multi-user services have long transaction times or can handle less simultaneous users than expected

Purpose

This articles discusses identifying and resolving various issues that affect virtual machine performance running on VMware hosted products.

Resolution

Validate that each troubleshooting step below is true for your environment. The steps will provide instructions or a link to a document, for validating the step and taking corrective action as necessary. The steps are ordered in the most appropriate sequence to isolate the issue and identify the proper resolution. Please do not skip a step.

  1. Verify that the reduced performance is unexpected behavior. When a workload is virtualized it is common to see some performance reduction due to virtualization overhead. Troubleshoot a performance problem if you experience the following conditions:
    • The virtual machine was previously working at acceptable performance levels but has since degraded
    • The virtual machine performs significantly slower than a similar setup on a physical computer
    • You want to optimize your virtual machines for the best performance possible

  2. Verify that you are running the most recent version of the VMware product being used. For download information, see the VMware Download Center.

  3. Check that VMware Tools is installed in the virtual machine and running the correct version. The version listed in the toolbox application must match the version of the product hosting the virtual machine. To access the toolbox, double-click the VMware icon in the notification area on the task bar, or run vmware-toolbox in Linux. Some VMware products indicate when the version does not match by displaying a message below the console view. For more information on installing VMware Tools, see Installing VMware Tools (340).

  4. Review the virtual machine's virtual hardware settings and verify that you have provided enough resources to the virtual machine, including memory and CPU resources. Use the average hardware requirements typically used in a physical machine for that operating system as a guide. Adjustments to the settings are required to factor-in the application load: higher for larger loads such as databases or multi-user services, and lower for less intense usage such as casual single-user application like e-mail or web clients.

  5. Ensure that any antivirus software installed on the host is configured to exclude the virtual machine files from active scanning. Install antivirus software inside the virtual machine for proper virus protection. For more information, see Investigating busy hosted virtual machine files (1003849).

  6. Check the storage sub-system on the host and verify that it is configured for optimal performance. For information, see Troubleshooting hosted disk I/O performance problems (1008885).

  7. Verify that there are enough free resources on the host to satisfy the requirements of the virtual machine. In VMware hosted products resources must be shared by both the host operating system and all running guests. For more information, see Investigating hosted virtual machine resources (1003848).

  8. Disable the CPU power management features on the host. In some cases, these features can cause CPU performance issue with virtual machines. For more information, see Virtual Machine Clock Reports Time Unpredictably on Multiprocessor Systems (2041).

  9. Confirm that the networking drivers installed in the virtual machine are the performance optimized drivers, or match the networking mode set on the host for that virtual machine. Typically, installing VMware Tools installs the correct network drivers.

  10. Verify that host networking issues are not impacting the performance of the virtual machine. For more information, see Verifying host networking speed (1009527).

  11. Verify that the host operating system is working properly and is in a healthy state. When the host is not working correctly it may draw excessive resources from the guests. For more information, see Verifying the health of an operating system (1003956).

Note: If your problem still exists after trying the steps in this article, please file a support request with VMware Support and note this KB Article ID in the problem description. For more information, see How to Submit a Support Request.

Additional Information

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions