Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2012 13:01:05 -0500
From:      dweimer <dweimer@dweimer.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: PC-BSD 9.0 in VirtualBox
Message-ID:  <b061ec94f5a8267d9c68f8286007c27e@dweimer.net>
In-Reply-To: <alpine.BSF.2.00.1209281103560.97730@wonkity.com>
References:  <20120927225642.09f69458@europa> <alpine.BSF.2.00.1209281103560.97730@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b061ec94f5a8267d9c68f8286007c27e>