From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 21 14:32:42 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 ED914353 for ; Wed, 21 Nov 2012 14:32:42 +0000 (UTC) (envelope-from rnejdl@ringofsaturn.com) Received: from tethys.ringofsaturn.com (tethys.ringofsaturn.com [71.252.219.43]) by mx1.freebsd.org (Postfix) with ESMTP id B1E928FC17 for ; Wed, 21 Nov 2012 14:32:42 +0000 (UTC) Received: from ASSP.nospam (localhost [127.0.0.1]) (authenticated bits=0) by tethys.ringofsaturn.com (8.14.5/8.14.5) with ESMTP id qALEWZAX033820 for ; Wed, 21 Nov 2012 08:32:35 -0600 (CST) (envelope-from rnejdl@ringofsaturn.com) Received: from anyhost.local ([127.0.0.1] helo=anyhost.local) by ASSP.nospam with ESMTP (ASSP 1.9); 21 Nov 2012 08:32:34 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Wed, 21 Nov 2012 08:32:34 -0600 From: Rusty Nejdl To: Subject: Re: virtualbox 4.2.4 tooooo slow Mail-Reply-To: In-Reply-To: References: Message-ID: X-Sender: rnejdl@ringofsaturn.com User-Agent: Roundcube Webmail/0.9-git X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: rnejdl@ringofsaturn.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 14:32:43 -0000 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 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