Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Optimization process of VMware virtual machine configuration

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "the optimization process of VMware virtual machine configuration". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the optimization process of VMware virtual machine configuration".

When the Vmware virtual machine has been in use for a period of time, the running speed will slow down, what should we do? There are only two aspects to start with, the host and the configuration. The following tutorial mainly starts from optimizing the configuration of the virtual machine. Let's take a look at it.

VMwareWorkstation performance optimization we often use VMwareWorkstation (hereinafter referred to as WS) to do a variety of tests. Although the execution efficiency of WS virtualization is not as efficient as VI3, we still use a lot of it because of its convenience. Next, I'll tell you how to optimize WS. VMwareServer is also applicable.

1. Optimization of Host mainframe

WS needs to run on the host, which is usually Windows,Linux and MAC (Fusion version), so the first step in optimization must be to optimize the host, such as shutting down unwanted system services.

II. Optimization of virtual machine configuration

CPU

There are several points to pay attention to:

Try not to run a dual CPU virtual machine on a single-core (single-core hyperthreaded CPU, such as P4).

Try not to run multiple virtual machines on a single-core CPU, including hyperthreaded CPU

The allocation of virtual machine CPU should not exceed the total number of physical machines.

Adjust the priority so that the virtual machine runs at a higher level, as shown in the following figure:

Memory

Ensure that there is enough reserved memory for the virtual machine to use

It is recommended that the system allocated memory be set to "Fit all virtual machine memory into reserved host RAM" if the memory is large enough.

The recommendation for having a little more memory and wanting the virtual machine to run more smoothly is set to "Allow most virtual machine memory to beswapped"

Students who do not have much memory can only set it to "Allow some virtual machine memory to be swapped". In addition, those who have stringent performance requirements can check the following option

The main function of this option is to prevent idle virtual machine memory from being reclaimed by the host

Magnetic disk

Using SCSI virtual disks is definitely better than IDE virtual disks.

LSILogic is recommended for SCSI bus.

Virtual disks are recommended to use pre-allocated mode if you have enough hard disk space. The pre-allocation mode basically produces no disk fragmentation, and its performance is much higher than that of automatically growing virtual disks, which is why VI3 only pre-allocates virtual disks.

In addition, try not to use snapshots, which have a great impact on disk performance.

The network

Bridged performs better than NAT if the virtual machine and host have files to transfer.

Conclusion:

This is the end of the virtual machine configuration optimization tutorial. The running speed of vm is mainly affected by CPU, memory, disk and network. As long as it is properly set up, the problem of running speed can be solved.

Thank you for reading, the above is the content of "VMware virtual machine configuration optimization process". After the study of this article, I believe you have a deeper understanding of the optimization process of VMware virtual machine configuration, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report