From owner-freebsd-emulation@freebsd.org Mon Nov 2 19:49:50 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 60336A24C94 for ; Mon, 2 Nov 2015 19:49:50 +0000 (UTC) (envelope-from 214748mv@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B39812B3 for ; Mon, 2 Nov 2015 19:49:50 +0000 (UTC) (envelope-from 214748mv@gmail.com) Received: by ioll68 with SMTP id l68so156521964iol.3 for ; Mon, 02 Nov 2015 11:49:49 -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 :cc:content-type; bh=BT2fCDPDLNTq1INN/D46t3zj2bKWGWXEUAdcNPKfWYA=; b=ZTVZ+zwECdIvV4y9xDns3wtCjwVcq1dFtqeTbtFTmP1NgSzYUhAIT4qMlo5d9hIujP +rpRmo3tqRWiobXlbFVT1DujumTdstJTnFNp7UunzRG+WxHyIQ9I2hGg4UtyZnYxbJoI QMeHh8LQHwsLaoGtmzkfVdvzBHdRPpkQg3ERghPVH/qJzLR4q/EQ9V0Ozzmd/zbhP+al Avf5owOiIHH7m7WFmUD9mzAk29/l3PILvdla1G2BUURU8OZpJhU43VeP7+1wEsF4Ctdo xfN72rtDR3vneXO3J9eKd59ewae9tbUbCLY9WAhG4YwXj3ODZEulSQ/61vWCEORL16Oe rV8w== MIME-Version: 1.0 X-Received: by 10.107.135.28 with SMTP id j28mr23902876iod.188.1446493789667; Mon, 02 Nov 2015 11:49:49 -0800 (PST) Received: by 10.79.70.130 with HTTP; Mon, 2 Nov 2015 11:49:49 -0800 (PST) In-Reply-To: References: <56379D92.40501@wintek.com> Date: Mon, 2 Nov 2015 20:49:49 +0100 Message-ID: Subject: Re: Slowness with Virtualbox From: "Ranjan1018 ." <214748mv@gmail.com> To: Christer Solskogen Cc: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 19:49:50 -0000 2015-11-02 19:45 GMT+01:00 Christer Solskogen : > On 02.11.2015 18.29, Richard Kuhns wrote: > >> 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. >> >> > Yes, HT is enabled. I have six cores as well. Pretty sure we're facing the > same issue. I've never tried with HT disabled, however. > > -- > chs You may not use the core 0 (cpu0 and cpu1) with the VMs, I use the CPUSET(1) command to do it. Eg. to start a Windows 7 VM in headless mode I use the command: # cpuset -l 4-7 /usr/local/lib/virtualbox/VBoxHeadless --comment "Win7;5901" --startvm "Win7;5901" Regards, Maurizio