Improve VM Running Speed

Source: Internet
Author: User

Whether you have encountered such a situation when using vm5. The physical machine has good performance and rich memory, but the VM runs slowly.

This is because a new function is added to the vmware5 version. The system will create a. vmem file for you. The file size is the size of the system memory of the virtual machine you have defined. This file is used as the swap space for memory. In vm5, only 16 MB of physical memory is used, and others are constantly switched to this file. The advantage is that the memory of the virtual machine is not limited by the physical memory, but the disadvantage is that the memory is simulated with hard disk files, and the performance will be very low. At this time, you will see that the physical speed is very fast, the memory is much idle, but the virtual machine is very slow.

In fact, this function can be blocked by modifying VM configuration file parameters so that virtual machines can use physical memory. Use the Text Processing Software to open the VM configuration file. If the following parameter exists, change true to false. Generally, this item is not included in the configuration file and can be added.

Mainmem. usenamedfile = "false"

 

A common technique: Remove software drives, optical drives, sound cards, and other virtual hardware components.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.