使用 VirtualBox 安裝一台 CentOS5 的子機,當子機是空閒、它的 loading 也還好,母機 top 時卻顯示這台子機一直在吃 CPU 高達 80~100%,那是因為 CentOS 的 kernel 的 CONFIG_HZ_1000=y 與 CONFIG_HZ=1000,這讓一般硬體下是正常的,但 VM 的環境 下就不正常,所以

在子機的 grub.conf 裡加入 divider=10

kernel /boot/vmlinuz-2.6.18-308.16.1.el5 ro root=LABEL=/ divider=10

就不會那麼忙碌了

http://riverhippo.blogspot.tw/2009/10/virtualbox-3-vs-centos-5-high-cpu.html

 

Related posts 相關文章
VirtualBox 釋出 7 版,可以有虛擬 TPM 直接安裝 Windows 11
More...
PHP 漏洞 Multipart/form-data remote DOS 可讓 CPU 秏盡
More...
VirtualBox 與 Hyper-V 備註
More...
Virtualbox 遇到 IO Cache 問題
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。