当前位置:首页 > 虚拟机 > 正文

vm虚拟机怎么提升性能(vm虚拟机怎么设置流畅)

How to optimize the running speed of VMWare virtual machine?

The running speed of the virtual machine is based on the configuration of the computer. Here's how to optimize your virtual machine while ensuring your configuration is adequate.

1. Find the virtual machine to be optimized and right-click.

2. After clicking, select "Settings" in the pop-up menu.

3. In the settings window, first click "Memory" on the left.

4. After entering the memory settings, increase the memory size appropriately according to the actual situation of your computer and the system version of the virtual machine.

5. After adjusting the memory, click "Processor" on the left.

6. In the processor settings, give more processors appropriately according to the actual situation.

7. After the settings are completed, restart the virtual machine to optimize its running speed.

VMware virtual machine is stuck, how to solve it?

Based on the information you provided, this problem may be caused by incorrect virtual machine settings or resource configuration. The following are some possible solutions:


Adjust the resource configuration of the virtual machine: Virtual machine freezes may be caused by insufficient resources or uneven distribution. You can try adjusting CPU and memory allocation. Make sure the virtual machine has enough resources to run Windows 11 and required programs. In VMware's virtual machine settings, you can manually adjust the number of CPU cores and memory size.

Turn off or adjust virtualization technology: Some computers' virtualization support may not be optimal. You can try turning off or adjusting virtualization settings to improve virtual machine performance. In VMware's virtual machine settings, you can try disabling options such as virtualization acceleration.

Check the resource usage of the physical machine: You mentioned that the memory usage of the physical machine is low, but the fan speed does not increase accordingly. This may be due to energy-saving settings or power management of the physical machine. Make sure that the physical machine's resources are not overly constrained or power-saving to provide sufficient resources for the virtual machine.


Check the virtual machine network settings: The virtual machine's network settings may affect its performance. Ensure that the virtual machine has the correct network configuration to communicate with the host and other network resources.

Update VMware Workstation and drivers: Sometimes, software updates may fix performance-related issues. Make sure your version of VMware Workstation is up to date and update drivers for both virtual and physical machines.

Check the compatibility of physical and virtual machines: Make sure your physical and virtual machine versions are compatible. In some cases, hardware or software incompatibilities can cause performance issues.

If you have tried the above solutions but the problem still persists, it is recommended to contact Lenovo’s technical support or VMware’s support team for more professional help and guidance.

How to set up VMware Workstation CPU more reasonably? How can we maximize the performance of virtual machines?

Reasonable settings for VMware Workstation CPU to maximize the performance of the virtual machine.

1. Basic concepts

The number of processors refers to: the number of virtual CPUs.

The number of cores per processor refers to the number of cores of the virtual CPU.

Total number of processor cores = number of processors ✖ number of cores per processor.

The total number of processor cores of the virtual machine here corresponds to the number of CPU threads (that is, the number of logical processors) of the real physical machine (or host).

So when setting, we only need to make the total number of processor cores

2. How to check the parameters of your computer

Open the task manager. You can right-click on the taskbar and select Task Manager, or use the shortcut key "ctrl+esc" and select "Performance" ” and then click “CPU” to see relevant information about your CPU.

The first is the number of cores, and the second is the number of logical processors. (A CPU can have multiple cores, and one core generally corresponds to one thread. However, through Intel's hyper-threading technology, one core can correspond to two threads, that is, two tasks can be processed in parallel, so the number of logical processors is cores. Twice the number.)

3. Specific configuration

1. One CPU

If the physical machine has only one CPU Taking my computer as an example, my computer's CPU has 12 cores and 24 threads, so I only need to make the total number of processor cores of the virtual machine less than 24.

For ordinary computers, we recommend that the total number of processor cores of the virtual machine be set to half the number of threads of the physical machine, which is 12 here. If the computer configuration is better and there are more threads, you can set the total number of processor cores of the virtual machine to about the number of threads of the physical machine, that is, 16 here, so that the virtual machine can have better performance.

After determining the total number, next we need to set the number of processors and the number of cores per processor.

According to testing, the allocation of these two does not result in much difference in actual performance. So you can set it as you like. For simplicity, we set it to

The number of processors is 1 and the number of cores per processor is 16.

But you need to pay attention! The Windows non-server version of the system does not support more than two processors. The Win10 version is limited to a maximum of 2 cores for the Home Edition, Professional Edition and Education Edition, and the Workstation Edition and Enterprise Edition support 4 cores. So if you use a virtual machine to install a Windows system, the number of processors on the virtual machine needs to meet the above restrictions, and then the number of cores for each processor can be calculated by multiplication. The easiest way is to set the number of processors to 1.

Finally, the total number of virtual machine processor cores is 16, and the real physical machine will be full of 16 threads.

(Some people also suggest that instead of increasing the number of processors, try to increase the number of cores per processor. The recommended number of processors is: the number of cores per processor = 1:4, which means the performance is weaker. The ratio is 1:2. Based on the above points, you can consider using 2 processors and 8 cores per processor.)

2. Multiple CPUs< /p>

If there are multiple CPUs physically, it is recommended to set the number of processors of the virtual machine to be the same as that of the physical machine, and set the total number of processor cores as above. Set the total number of processor cores of the virtual machine to the physical machine. Half of the number of threads on the machine. If the computer configuration is better and there are more threads, you can set the total number of processor cores of the virtual machine to about the number of threads on the physical machine.

In this case, the processor of the virtual machine can be evenly distributed to the CPU of the physical machine. For example, assume that there is a physical machine with four 8-core CPUs and a total number of threads of 64.

If we set the number of processors of the virtual machine to 8, the number of cores per processor is 2. It is possible that one physical CPU on the physical machine provides 8 cores and 2 threads; it is also possible that one physical CPU on the physical machine provides 5 cores and 2 threads, and another CPU provides 3 cores and 2 threads. , so that all physical CPUs are not used.

If we set the number of processors of the virtual machine to 4, the number of cores per processor is 4. Then each CPU of the physical machine will provide 2 cores and 2 threads per core. ultimately achieve the best computing performance.

上一篇:虚拟机 性能

下一篇:vm虚拟机运行慢