查看文章
 
vmware 虚机变慢
2009-05-04 22:39

突然所有的虚拟机都变得超慢,baidu后
Create a new, empty text file named config.ini in C:\Documents and Settings\All Users\Application Data\VMware\VMware ProductName\config.ini.

在INI这个文件里加三行字

host.cpukHz = "1700000"
host.noTSC = "TRUE"
ptsc.noTSC = "TRUE"

OK。


疑问?
没有做过任何操作,为什么会虚拟机与主机CPU主频不一致?


PS:
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, specify the correct maximum CPU speed in your global configuration file:

Find the speed of your host's CPU. For example, in Windows XP, right click My Computer, then choose Properties. This path may be different, depending on the version of Windows you use.


Look for config.ini in one of the following locations:

C:\Documents and Settings\All Users\Application Data\VMware\VMware Workstation\config.ini

C:\Documents and Settings\All Users\Application Data\VMware\VMware GSX Server\config.ini

C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\config.ini

C:\ProgramData\VMware\VMware Workstation
(This is a hidden folder in Windows Vista. You will need to disable hiding of hidden folders within Windows to see this directory.)

C:\Program Files\VMware\VMware Workstation
(On a Windows Vista host running Workstation 6.0)

C:\Program Files (x86)\VWware\VMware Workstation
(On a 64-bit Windows (XP, 2003, or Vista) host)

Note: If the file does not exist, create it as a plain text file in the appropriate location as described above, then edit it as follows. For more detail, see "Creating and Editing config.ini on Windows Hosts" at http://kb.vmware.com/kb/1754.


Edit config.ini, adding the lines described below.

The example presented here assumes that the host computer has a maximum speed of 1700MHz. The first line is the most important one. It should be your host computer's maximum speed in KHz—that is, its speed in MHz times 1000, or its speed in GHz times 1000000.

host.cpukHz = "1700000"
       host.noTSC = "TRUE"
       ptsc.noTSC = "TRUE"
The second and third lines enable a mechanism that tries to keep the guest clock accurate even when the time stamp counter (TSC) is slow.

Note: On Windows, you can use Notepad, but be careful when you save the file that Notepad does not add an extra .txt extension to the filename. You can do that by selecting All files instead of Text files in the Save dialog box.


Restart the VMware Authorization service for the changes to the config.ini file take effect.

Click Start>Control Panel>Administrative Tools. Double-click on Services. Right-click VMware Authorization Service and click Restart.


In addition, check the VMware Tools control panel in the guest operating system. On the Options tab, ensure that Time synchronization between the virtual machine and the host operating system is selected.

另:

其实,这个是AMD的新特性造成的,AMD有一个叫CPU变频的功能,可以通过bios设置,而VMware通过发现系统当前的cpu速度和当时安装时不符后,变产生了这个现象,其实在刚装完VMware时,软件就会提示这个潜在的问题,只是我当时没有在意。


类别:Maintain Log||添加到搜藏 |分享到i贴吧|浏览(784)|评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
     

   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu