Date: Mon, 26 Oct 2015 13:49:15 -0500 From: Rusty Nejdl <rnejdl@ringofsaturn.com> To: Christer Solskogen <christer.solskogen@gmail.com> Cc: freebsd-emulation@freebsd.org, owner-freebsd-emulation@freebsd.org Subject: Re: Slowness with Virtualbox Message-ID: <assp.0741ce5f4f.7e5033774a424b72d57c792ae33e5a57@ringofsaturn.com> In-Reply-To: <n0lpc3$9dh$1@ger.gmane.org> References: <n0lpc3$9dh$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Do you have the vbox network kernel drivers loaded and are you using the bridged adapter? Those give great performance for me. Rusty Nejdl On 2015-10-26 12:54, Christer Solskogen wrote: > Hi! > > I wrote this yesterday without any response so far: https://forums.freebsd.org/threads/poor-performance-with-virtualbox-ose.53722/ [1] > > Short story. My "pretty" fast FreeBSD server (host) runs Virtualbox guests (Linux/CentOS) very slowly. Much slower than I anticipated. I've had Linux on that box before with Virtualbox without the same slowness. > Where should I begin to look? > > And by slow, I mean /slow/. I have a PXE boot system where I can boot and install via kickstart a CentOS system in just about 4 min on a Windows machine with VirtualBox. On my FreeBSD host it takes about 10-15min. Network is slow, but disk seems to be OK. > > If I put some load on the guest, the guest locks up and I loose network connection to it, while the console (from VirtualBox GUI) is not responding (but the GUI for VirtualBox is working properly) > > Help, please! > > FreeBSD friend 10.2-RELEASE-p4 FreeBSD 10.2-RELEASE-p4 #0 r288404: Thu Oct 22 22:58:13 CEST 2015 root@friend:/usr/obj/usr/src/sys/FRIEND amd64 > > virtualbox-ose-4.3.32 (I have also tried the unofficial 5.x port, but with the same result) Links: ------ [1] https://forums.freebsd.org/threads/poor-performance-with-virtualbox-ose.53722/ From owner-freebsd-emulation@freebsd.org Mon Oct 26 20:09:43 2015 Return-Path: <owner-freebsd-emulation@freebsd.org> Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 179E3A1E507 for <freebsd-emulation@mailman.ysv.freebsd.org>; Mon, 26 Oct 2015 20:09:43 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C25E0175A for <freebsd-emulation@freebsd.org>; Mon, 26 Oct 2015 20:09:42 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from <freebsd-emulation@m.gmane.org>) id 1Zqo5J-0000oM-J0 for freebsd-emulation@freebsd.org; Mon, 26 Oct 2015 21:09:37 +0100 Received: from 51.174.160.102 ([51.174.160.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <freebsd-emulation@freebsd.org>; Mon, 26 Oct 2015 21:09:37 +0100 Received: from christer.solskogen by 51.174.160.102 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <freebsd-emulation@freebsd.org>; Mon, 26 Oct 2015 21:09:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Christer Solskogen <christer.solskogen@gmail.com> Subject: Re: Slowness with Virtualbox Date: Mon, 26 Oct 2015 21:09:35 +0100 Lines: 31 Message-ID: <n0m19r$933$1@ger.gmane.org> References: <n0lpc3$9dh$1@ger.gmane.org> <assp.0741ce5f4f.7e5033774a424b72d57c792ae33e5a57@ringofsaturn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 51.174.160.102 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <assp.0741ce5f4f.7e5033774a424b72d57c792ae33e5a57@ringofsaturn.com> X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of Emulators of other operating systems <freebsd-emulation.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-emulation>, <mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation/> List-Post: <mailto:freebsd-emulation@freebsd.org> List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-emulation>, <mailto:freebsd-emulation-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 26 Oct 2015 20:09:43 -0000 On 26.10.2015 19.49, Rusty Nejdl wrote: > > > Do you have the vbox network kernel drivers loaded and are you using the > bridged adapter? Those give great performance for me. > Yes, I do. [solskogen@friend ~]$ kldstat Id Refs Address Size Name 1 27 0xffffffff80200000 bba878 kernel 2 1 0xffffffff80dbb000 2e6a00 zfs.ko 3 2 0xffffffff810a2000 56d8 opensolaris.ko 4 3 0xffffffff810a8000 6d450 vboxdrv.ko 5 1 0xffffffff81211000 6251 tmpfs.ko 6 1 0xffffffff81218000 165d fdescfs.ko 7 1 0xffffffff8121a000 1b35 ums.ko 8 2 0xffffffff8121c000 29b2 vboxnetflt.ko 9 2 0xffffffff8121f000 91b3 netgraph.ko 10 1 0xffffffff81229000 165d ng_ether.ko 11 1 0xffffffff8122b000 3f64 vboxnetadp.ko And: <BridgedInterface name="em0"/> In the .vdi-file. -- chs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.0741ce5f4f.7e5033774a424b72d57c792ae33e5a57>