真正有效的解决VMware时钟/时间过快或过慢问题的方法

来源:互联网 发布:linux系统有中文版的嘛 编辑:程序博客网 时间:2024/04/30 06:01

这个问题很棘手,发生以后会对guestOS上的操作和计算控制产生极大的影响,试想你的键盘重复时间缩短一半甚至跟多会怎样?

这个问题是由于虚拟的硬件问题所造成的。当初网上找了很多资料,什么安装VMware tools什么修改grub,不过都无济于事,为什么呢?因为这是VMware虚拟的硬件出了问题。所以无论怎样修改guestOS上的参数都没有用。我估计这个问题多会发生在双核cpu的电脑上。由于节能程序对CPU主频控制产生的。
其实解决方法也很简单,VMware解释如下:

This problem occurs on some host computers that use Intel SpeedStep or other similar power-saving technologies that vary the processor speed.

To work around this problem, you can specify the correct maximum CPU speed in your global configuration file. On Windows hosts, this file is normally
C:/Documents and Settings/All Users/Application Data/VMware/VMware Workstation/config.ini for VMware Workstation
or
C:/Documents and Settings/All Users/Application Data/VMware/VMware GSX Server/config.ini for GSX Server. 
编辑此文件夹下的config.ini

If this file exists, edit it with a text editor, adding the lines described below. The file may not exist. If it does not exist, create it as a plain text file.
 如果文件不存在,新建一个config.ini并且编辑


host.cpukHz = "3753902"  // 双核CPU一定要记得将单核的主频x2 AMD TL-56 1.8x1024x1024=3753902
host.noTSC = "TRUE"
ptsc.noTSC = "TRUE"
processor0.use = "FALSE"
processor1.use = "TRUE"

 

原创粉丝点击