Slowness with Virtualbox

Ranjan1018 . 214748mv at gmail.com
Mon Nov 2 19:49:50 UTC 2015


2015-11-02 19:45 GMT+01:00 Christer Solskogen <christer.solskogen at gmail.com>
:

> On 02.11.2015 18.29, Richard Kuhns wrote:
>
>> How many cores on your physical box?
>>
>> I have a 6 core Dell precision 7810. If hyperthreading is enabled (so
>> FreeBSD apparently thinks I have 12 cores), and VMs running under
>> VirtualBox are so slow as to be totally unusable. If I disable
>> hyperthreading, VMs are still extremely slow but usable in case of
>> emergency.
>>
>>
> Yes, HT is enabled. I have six cores as well. Pretty sure we're facing the
> same issue. I've never tried with HT disabled, however.
>
> --
> chs


You may not use the core 0 (cpu0 and cpu1) with the VMs, I use the
CPUSET(1) command to do it. Eg. to start a Windows 7 VM in headless mode I
use the command:
#  cpuset -l 4-7 /usr/local/lib/virtualbox/VBoxHeadless --comment
"Win7;5901" --startvm "Win7;5901"

Regards,
Maurizio


More information about the freebsd-emulation mailing list