From owner-freebsd-emulation@freebsd.org Mon Nov 2 17:45:11 2015 Return-Path: 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 34256A244F8 for ; Mon, 2 Nov 2015 17:45:11 +0000 (UTC) (envelope-from rjk@wintek.com) Received: from local.wintek.com (local.wintek.com [72.12.201.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "local.wintek.com", Issuer "GeoTrust DV SSL CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07B801C17 for ; Mon, 2 Nov 2015 17:45:10 +0000 (UTC) (envelope-from rjk@wintek.com) Received: from rjk.wintek.local (172.28.1.248) by EX-2012.wintek.local (172.28.1.134) with Microsoft SMTP Server (TLS) id 15.0.847.32; Mon, 2 Nov 2015 12:30:31 -0500 Message-ID: <56379D92.40501@wintek.com> Date: Mon, 2 Nov 2015 12:29:54 -0500 From: Richard Kuhns User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: Christer Solskogen , Subject: Re: Slowness with Virtualbox References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: EX-2012.wintek.local (172.28.1.134) To EX-2012.wintek.local (172.28.1.134) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 02 Nov 2015 17:45:11 -0000 How many cores on your physical box? I have a 6 core Dell precision 7810. If hyperthreading is enabled (so FreeBSD apparently thinks I have 12 cores), and VMs running under VirtualBox are so slow as to be totally unusable. If I disable hyperthreading, VMs are still extremely slow but usable in case of emergency. My previous desktop only had 2 cores, but I had no issues with VMs. Someone else (ohartman@zedat.fu-berlin.de, I think) mentioned that he'd seen the same issue. - Richard On 10/26/15 13: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/ > > > 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) > -- Richard Kuhns Main Number: 765-742-8428 Wintek Corporation Direct: 765-269-8541 427 N 6th Street Internet Support: 765-269-8503 Lafayette, IN 47901-2211 Consulting: 765-269-8504