PC-BSD 9.0 in VirtualBox

dweimer dweimer at dweimer.net
Fri Sep 28 18:01:07 UTC 2012


On 2012-09-28 12:06, Warren Block wrote:
> On Thu, 27 Sep 2012, Mike Jeays wrote:
>
>> I have been running PC-BSD 9.0 with the KDE interface in a 
>> VirtualBox VM, and notice that it uses CPU resources when idle, 
>> driving up my CPU temperature about 15 degrees on an otherwise idle 
>> machine. (It is an Intel i5 quad four). Is this to be expected?
>
> It may help to add
>
> kern.hz="100"
>
> to /boot/loader.conf.

Ah yes, that was the fix I was vaguely remembering when I mentioned the 
old VMware issue, oddly enough I haven't seen it recently.
But then, maybe not so odd, just checked with sysctl kern | grep hz on 
two machines, one running on physical hardware the other on vmware 
workstation 9.  Both were compiled from source, running 9.0-RELEASE-p4, 
the physical system lists kern.hz: 1000, while the virtual lists ker.hz: 
100.  No value is set in /boot/loader.conf on either system, however the 
detection mechanism (whatever that might happen to be) that is setting 
this to the lower value on the VMware virtual machine might not be 
working in a Virtual Box virtual machine.

-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/


More information about the freebsd-questions mailing list