在VirtualBox中安装CentOS,CPU占用过高,几乎100%的解决办法
2011-06-01 08:03
676 查看
近日在VirtualBox上安装了CentOS,突然发现CPU风扇狂转,一查,原来VirtualBox上的CentOS几乎在100%使用VirtualBox分配给它的CPU核心。
在网上找了半天,终于找到一条方法,即:修改/etc/grub.conf文件,在kernel一行后加上参数“divider=10”
,经试验,果然CPU正常了。
关于 divider=10 的解释:
For RHEL 5.4 and CentOS 5.4 and later, divider=10 is a supported kernel configuration option, but is no longer necessary for accurate timekeeping. Using it reduces the frequency of timer interrupts by 10x, which reduces the CPU overhead of processing timer interrupts. This overhead is especially noticeable for idle virtual machines. The only drawback of using divider=10 is that the granularity of wakeups provided by the kernel changes from 1ms to 10ms. The vast majority of applications are not affected by this, but using divider=10 may not be the right tradeoff for some time sensitive applications. For RHEL 5.3 and earlier, divider=10 greatly improves timekeeping accuracy and is strongly recommended.
在网上找了半天,终于找到一条方法,即:修改/etc/grub.conf文件,在kernel一行后加上参数“divider=10”
,经试验,果然CPU正常了。
关于 divider=10 的解释:
For RHEL 5.4 and CentOS 5.4 and later, divider=10 is a supported kernel configuration option, but is no longer necessary for accurate timekeeping. Using it reduces the frequency of timer interrupts by 10x, which reduces the CPU overhead of processing timer interrupts. This overhead is especially noticeable for idle virtual machines. The only drawback of using divider=10 is that the granularity of wakeups provided by the kernel changes from 1ms to 10ms. The vast majority of applications are not affected by this, but using divider=10 may not be the right tradeoff for some time sensitive applications. For RHEL 5.3 and earlier, divider=10 greatly improves timekeeping accuracy and is strongly recommended.
相关文章推荐
- 解决 Ubuntu VirtualBox 下安装xp sp3后cpu占用100%问题
- w3wp.exe(IIS ) CPU 占用 100% 的常见原因及解决办法
- Win7 使用virtualbox安装centos虚拟机出现“不能为虚拟电脑 centos7 打开一个新任务.”的解决办法。
- linux vps下mysql cpu占用过高解决办法
- VirtualBox中centos安装增强功能报错解决办法
- w3wp.exe占用CPU100%的解决办法
- Linux x64 下 Matlab R2013a 300 kb 脚本文件调试的 CPU 占用过高问题的解决办法
- Java项目服务器cpu占用100%解决办法
- VirtualBox 安装 Linux时 报错This kernel requires an X86-64 CPU,but only detected an i686 CPU错误的解决办法
- Windows10资源管理器占用CPU过高解决办法
- tomcat占用cpu过高解决办法
- 通过virtualbox最小化安装centos 6.3后无法上网解决办法
- winlogon 100%占用cpu的解决办法
- vs2010出现devenv.exe占用100%CPU解决办法
- AppleMobileDeviceService.exe CPU占用100%的解决办法
- w3wp.exe(IIS ) CPU 占用 100% 的常见原因及解决办法
- w3wp.exe(IIS ) CPU 占用 100% 的常见原因及解决办法
- MySQL占用内存与CPU过高测试与解决办法
- VirtualBox 安装 ubuntu 出现This kernel requires an X86-64 CPU,but only detected an i686 CPU错误的解决办法
- VirtualBox cpu 占用过高问题的解决[转]