From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 22 02:09:09 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E21ABF5 for ; Thu, 22 Nov 2012 02:09:09 +0000 (UTC) (envelope-from jsukoh@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9A94A8FC08 for ; Thu, 22 Nov 2012 02:09:08 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so2522349wey.13 for ; Wed, 21 Nov 2012 18:09:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mlE/CyXmPnufEUPEV1y9Q18pqsCUKfn4Keor1F0tRWk=; b=Vng8uhMuphKrBe7S3Xl5e57ChK3P7KwzswRQJQzQTXZRmgux4jgoIg7USapVaA9gnB upnywAzLL52xcwfeQxhRsz5jsJF7DNIbhWr/6YEnMn+uBGKtrTMGgVC0WiFQZNuIQFo7 C/JlZJ2rFbLlsuxpQOwDZTRj8BlCnZlamJqzDq345FjDTqKCW7Z0i+4f1Jk/xuDENhda nHg7T1vhIqRtwtNspg4ji9ih71QQtLBKsGbYYSEkDWXZG5r+TEmSNOgj6gql/YmX0Fav OY/CQDAaTrjH+I2OtYAbCaQIi/0pSH8YthFONHxx650sZkPrbBmjfKUPG76t8kW3FYIs jcyA== MIME-Version: 1.0 Received: by 10.180.89.234 with SMTP id br10mr2032434wib.2.1353550147512; Wed, 21 Nov 2012 18:09:07 -0800 (PST) Received: by 10.216.42.10 with HTTP; Wed, 21 Nov 2012 18:09:07 -0800 (PST) In-Reply-To: References: Date: Thu, 22 Nov 2012 02:09:07 +0000 Message-ID: Subject: Re: virtualbox 4.2.4 tooooo slow From: =?EUC-KR?B?wfi8rr/A?= To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 02:09:09 -0000 2012/11/22 =EC=A7=84=EC=84=9D=EC=98=A4 > 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 > >> On Wed, Nov 21, 2012 at 9:24 AM, =EC=A7=84=EC=84=9D=EC=98=A4 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/ >> > >