From owner-freebsd-current@FreeBSD.ORG Mon Sep 3 04:25:35 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6925F16A419 for ; Mon, 3 Sep 2007 04:25:34 +0000 (UTC) (envelope-from dougk@dougk-ff7.net) Received: from mail.dougk-ff7.net (shen.liquidneon.com [216.87.78.181]) by mx1.freebsd.org (Postfix) with ESMTP id 44A1613C45D for ; Mon, 3 Sep 2007 04:25:33 +0000 (UTC) (envelope-from dougk@dougk-ff7.net) Received: from localhost (localhost.liquidneon.com [127.0.0.1]) by mail.dougk-ff7.net (Postfix) with ESMTP id 33AB095864 for ; Sun, 2 Sep 2007 22:25:13 -0600 (MDT) X-Virus-Scanned: by amavisd-new at dougk-ff7.net Received: from mail.dougk-ff7.net ([127.0.0.1]) by localhost (shen.liquidneon.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sm1t9TKBQTgu for ; Sun, 2 Sep 2007 22:25:11 -0600 (MDT) Received: from [192.168.10.249] (CPE-24-163-209-195.kc.res.rr.com [24.163.209.195]) by mail.dougk-ff7.net (Postfix) with ESMTP id 4D6D795863 for ; Sun, 2 Sep 2007 22:25:11 -0600 (MDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <4956a5e50709022056o16fe85c8oab72532afe335b43@mail.gmail.com> References: <4956a5e50709022056o16fe85c8oab72532afe335b43@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <059F5A32-4979-422B-B42B-8163A151E874@dougk-ff7.net> Content-Transfer-Encoding: 7bit From: Doug Kelly Date: Sun, 2 Sep 2007 23:21:23 -0500 To: freebsd-current@freebsd.org X-Mailer: Apple Mail (2.752.3) Subject: Re: qemu on a recent -current, slow like a 486 ! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2007 04:25:35 -0000 On Sep 2, 2007, at 10:56 PM, Nenhum_de_Nos wrote: > hail, > > I have a Turion X2 1.8GHz and created a SMP 64bits VM just for running > folding at home. I'm now compiling linux kernel source for gentoo > distro, and it takes a century for each module (.o) to be compiled. > > FreeBSD xxx.apartnet 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Aug 9 > 01:44:04 BRT 2007 root@xxx.apartnet:/usr/obj/usr/src/sys/xxx i386 > > and > > QEMU PC emulator version 0.9.0, Copyright (c) 2003-2007 Fabrice > Bellard > > any more info, just ask ... > > is it always this slow ?! Well, I know -CURRENT's kernel has a ton of debug options enabled by default, which will adversely impact performance. You can disable them in the kernel's config file (you'll need to rebuild the kernel, though), and the GENERIC config has some notes about them. Also, qemu is a full emulator--although there is a kernel module for Linux to allow some type of virtualization, I'm not sure if it's been ported to any other OSes. In short, yes, it will be slow. I'm sure "a century" is hyperbole, but yes, even though you are on a rather fast machine, it will be slow, as every single instruction on your qemu VM is going to be emulated. --Doug Kelly