Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2012 02:09:07 +0000
From:      =?EUC-KR?B?wfi8rr/A?= <jsukoh@gmail.com>
To:        freebsd-emulation@freebsd.org
Subject:   Re: virtualbox 4.2.4 tooooo slow
Message-ID:  <CADB0mjtXtkoQvh%2BfaF_M5GtVOpXhLAwbKrJ6F6oSSE0EG8pAWw@mail.gmail.com>
In-Reply-To: <CADB0mjuMgdMuErNymphUSVs64z%2BYjfFEq5YSoC0KFeh2vV2JHA@mail.gmail.com>
References:  <CADB0mjv%2BoxqKX-2oB0P7SUJ%2BzBq0HtSduKwhagSp71-vGgn2Kg@mail.gmail.com> <CAE-m3X1xrqaJG-_xQ_0nBR6Y4r9D1JdPWjTjcQckM9Nv%2BjYmXg@mail.gmail.com> <CADB0mjuMgdMuErNymphUSVs64z%2BYjfFEq5YSoC0KFeh2vV2JHA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/11/22 =EC=A7=84=EC=84=9D=EC=98=A4 <jsukoh@gmail.com>

> this is my top message
>
> CPU: 5.4% user 0.0% nice 32.8% system 0.1% intterupt, 64.1% idle
> -------------------------
> last pid: 47130;  load averages:  2.51,  1.18,  0.99  up 0+01:49:07
>  11:00:10
> 118 processes: 1 running, 117 sleeping
>
> Mem: 869M Active, 295M Inact, 5818M Wired, 23M Cache, 1639M Buf, 8770M Fr=
ee
> Swap: 4096M Total, 65M Used, 4031M Free, 1% Inuse
>
>
>   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU
> COMMAND
> 47106 mohicann     21  25    0  4608M  4307M select  3   5:50 328.71%
> VirtualBox
>  1893 mohicann      1  20    0  3237M 49240K select  1   2:16  0.00% Xorg
>  2040 mohicann      1  20    0   483M 32380K select  7   0:58  0.00%
> npviewer.bin
>  1987 mohicann     23  20    0   534M   113M uwait   7   0:43  0.00% chro=
me
>  2171 mohicann      4  20    0   978M   174M usem    1   0:41  0.00% chro=
me
>  2058 mohicann      1  20    0   483M 32380K nanslp  1   0:38  0.00%
> npviewer.bin
>  1815 haldaemon     2  20    0 57216K  5420K piperd  6   0:26  0.00% hald
>  1712 messagebus    1  20    0 14304K  2484K select  1   0:22  0.00%
> dbus-daemon
>  1975 root          1  20    0 57720K 17060K select  4   0:19  0.00%
> perl5.14.2
>  2030 mohicann      2  20    0   284M 51560K kqread  5   0:17  0.00% chro=
me
>  1819 root          2  20    0 57764K  5000K select  2   0:17  0.00%
> polkitd
>  1926 mohicann      2  20    0   400M 41816K select  5   0:16  0.00%
> nautilus
>  1166 root          1  20    0 14232K  1280K select  7   0:13  0.00% mous=
ed
>  2347 mohicann      5  20    0   318M 37704K select  4   0:12  0.00%
> remmina
>  1919 mohicann      6  25    0   217M  6688K select  0   0:10  0.00%
> pulseaudio
>  1822 root          1  52    0 39024K  3876K select  3   0:08  0.00%
> hald-runner
>  1930 mohicann      2  52    0   229M 20340K select  7   0:08  0.00%
> gpk-update-icon
>  1901 mohicann      1  20    0 14304K  2652K select  1   0:08  0.00%
> dbus-daemon
>
> -----------
>
> WCPU of Virtualbox is usually 240 ~ 320%, when I let the virtualbox idle
> for long time it went down 100% or so, interrupt and cpu usage on the top
> that I wrote varies in just a little range
>
> thanks
>
>
>
>
> 2012/11/21 Bernhard Fr=C3=B6hlich <decke@freebsd.org>
>
>> On Wed, Nov 21, 2012 at 9:24 AM, =EC=A7=84=EC=84=9D=EC=98=A4 <jsukoh@gma=
il.com> wrote:
>> > Dear,
>> >
>> > I installed virtualbox 4.2.4(CFT) on zfs FreeBSD 9.1-RC3
>> >
>> > installing and windows guest(windows 8) install with guest addition wa=
s
>> > successful.
>> > but the windows guest is too slow, it is hardly usable.
>> >
>> > my hardware specs.
>> > intel i7 quad core 3.6. ghz, with 8 thread
>> > mem 16G
>> > motherboard - asrock z79 extreme 6.
>> > intel SSD 120G.
>> >
>> >
>> > my virtualbox vdi file is at zroot/bigfile, with
>> > primaryache, secondarycache =3D NONE, even sync=3Ddisabled because of =
slow
>> > performance.
>> >
>> > virtual machine settings
>> > - mem  4096M, cpu 4ea
>> > - 25g vdi(SATA controller) with SSD ticked
>> > - VT-x/AMD-V, Nested Paging
>> > - video 128M
>> >
>> >
>> >
>> > I tried the VB on UFS because ZFS was too slow, but the result was the
>> > same..
>> > I downgraded to FreeBSD 9.0 on UFS or / ZFS, but but the result was th=
e
>> > same..
>> > and  I tried virtualbox 4.1.22 on FB 9.0/9.1-RC3,but but the result wa=
s
>> the
>> > same..
>> >
>> > but sad story is that
>> > I found that virtualbox 4.2.4 on linux(opensuse 12.2, ext4) was very
>> fast.
>> > opensuse is installed on the second harddisk(NOT SSD)  at the same
>> computer.
>> >
>> > virtualbox zfs/FreeBSD on SSD is much slower than virtualbox
>> ext4/opensuse
>> > on SATA2 harddisk...
>> >
>> >
>> > do I have any miss to setup on FreeBSD? I do not want to reboot to lin=
ux
>> > just because of virtualbox....
>> >
>> > please let me know what I should do, if you use virtualbox on FreeBSD
>> > without any problem...
>> >
>> > thank you in advance...
>> >
>> > from jsuk
>>
>> 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 consuming
>> lots
>> of CPU all the time or generating an unusual high number of interrupts?
>>
>> VirtualBox tries to use hardware CPU features for virtualization BUT it
>> also has
>> a software emulation fallback (from QEMU I think) but that is painfully
>> slow so
>> usually when someone says "vbox is slow" that is a sign of either your C=
PU
>> features weren't detected correctly or your BIOS has a bug and doesn't
>> announce
>> them properly. In either case checking that you run the latest BIOS is
>> a good idea.
>>
>> If you had a look at that stuff please attach your ~/VirtualBox
>> VMs/Logs/VBox.log
>>
>> --
>> Bernhard Froehlich
>> http://www.bluelife.at/
>>
>
>



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