Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 08:32:34 -0600
From:      Rusty Nejdl <rnejdl@ringofsaturn.com>
To:        <freebsd-emulation@freebsd.org>
Subject:   Re: virtualbox 4.2.4 tooooo slow
Message-ID:  <assp.1672f35080.d11f96b684522e9ce0e4476eb336d378@ringofsaturn.com>
In-Reply-To: <CAE-m3X1xrqaJG-_xQ_0nBR6Y4r9D1JdPWjTjcQckM9Nv%2BjYmXg@mail.gmail.com>
References:  <CADB0mjv%2BoxqKX-2oB0P7SUJ%2BzBq0HtSduKwhagSp71-vGgn2Kg@mail.gmail.com> <CAE-m3X1xrqaJG-_xQ_0nBR6Y4r9D1JdPWjTjcQckM9Nv%2BjYmXg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-11-21 07:18, Bernhard Fr=C3=B6hlich wrote:
> On Wed, Nov 21, 2012 at 9:24 AM, =EC=A7=84=EC=84=9D=EC=98=A4 <jsukoh@gmai=
l.com> wrote:
>> Dear,
>>=20
>> I installed virtualbox 4.2.4(CFT) on zfs FreeBSD 9.1-RC3
>>=20
>> installing and windows guest(windows 8) install with guest addition=20
>> was
>> successful.
>> but the windows guest is too slow, it is hardly usable.
>>=20
>> my hardware specs.
>> intel i7 quad core 3.6. ghz, with 8 thread
>> mem 16G
>> motherboard - asrock z79 extreme 6.
>> intel SSD 120G.
>>=20
>>=20
>> my virtualbox vdi file is at zroot/bigfile, with
>> primaryache, secondarycache =3D NONE, even sync=3Ddisabled because of=20
>> slow
>> performance.
>>=20
>> virtual machine settings
>> - mem  4096M, cpu 4ea
>> - 25g vdi(SATA controller) with SSD ticked
>> - VT-x/AMD-V, Nested Paging
>> - video 128M
>>=20
>>=20
>>=20
>> I tried the VB on UFS because ZFS was too slow, but the result was=20
>> the
>> same..
>> I downgraded to FreeBSD 9.0 on UFS or / ZFS, but but the result was=20
>> the
>> same..
>> and  I tried virtualbox 4.1.22 on FB 9.0/9.1-RC3,but but the result=20
>> was the
>> same..
>>=20
>> but sad story is that
>> I found that virtualbox 4.2.4 on linux(opensuse 12.2, ext4) was very=20
>> fast.
>> opensuse is installed on the second harddisk(NOT SSD)  at the same=20
>> computer.
>>=20
>> virtualbox zfs/FreeBSD on SSD is much slower than virtualbox=20
>> ext4/opensuse
>> on SATA2 harddisk...
>>=20
>>=20
>> do I have any miss to setup on FreeBSD? I do not want to reboot to=20
>> linux
>> just because of virtualbox....
>>=20
>> please let me know what I should do, if you use virtualbox on FreeBSD
>> without any problem...
>>=20
>> thank you in advance...
>>=20
>> from jsuk
>=20
> I would start doing some easy tests to verify what slow really means.
> Is it related
> to CPU, I/O, network? What does top say on the host? Is the VM=20
> consuming lots
> of CPU all the time or generating an unusual high number of=20
> interrupts?
>=20
> VirtualBox tries to use hardware CPU features for virtualization BUT=20
> it also has
> a software emulation fallback (from QEMU I think) but that is=20
> painfully slow so
> usually when someone says "vbox is slow" that is a sign of either your=20
> CPU
> features weren't detected correctly or your BIOS has a bug and doesn't=20
> announce
> them properly. In either case checking that you run the latest BIOS is
> a good idea.
>=20
> If you had a look at that stuff please attach your ~/VirtualBox
> VMs/Logs/VBox.log

I wonder if you didn't install or kldload the virtualbox kernel modules=20
on the FreeBSD host?  Can you send the output of kldstat from the host?

Rusty Nejdl



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