From owner-freebsd-current@FreeBSD.ORG Mon Sep 3 23:54:57 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 D03BE16A474 for ; Mon, 3 Sep 2007 23:54:57 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id AC91F13C457 for ; Mon, 3 Sep 2007 23:54:57 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2107283waf for ; Mon, 03 Sep 2007 16:54:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JVdkmZ6w4h4ajhaFKx3tkNhojDkYBVg/Sy/1m5+i04fadrcLRNpn9NOkgOTVb+WwaVCoSum1yDCDXmndOPINpSnrlEmwthQZh/PEe+kkO2TDoDYCFHhYqfomWeNRVIt+R1qtoH2na047+ru7oBK7Dzok/IGd/UVzKFpTfOD3T8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WXuDGuxt1yRduyFFugP3aVnS6/ijO28XasoQTaIA3yRuJ1f0mQC6J3MGG06n/pggM5rv9NdB2m1DPz72/c2ayOta7tI3SEiP1GWrOG+Qad4IIALAGaEuWj5nTiC095nRmHPDUPB9b61Gg9eghq4aNMBlJbsHAPYsYzvCqs/ibbc= Received: by 10.114.160.1 with SMTP id i1mr236943wae.1188863697117; Mon, 03 Sep 2007 16:54:57 -0700 (PDT) Received: by 10.115.77.13 with HTTP; Mon, 3 Sep 2007 16:54:57 -0700 (PDT) Message-ID: <4956a5e50709031654v9b13eb9na0a964dd9cb7f497@mail.gmail.com> Date: Mon, 3 Sep 2007 20:54:57 -0300 From: Nenhum_de_Nos To: "Bruce Cran" , freebsd-current@freebsd.org In-Reply-To: <46DC4118.8020300@cran.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4956a5e50709022056o16fe85c8oab72532afe335b43@mail.gmail.com> <059F5A32-4979-422B-B42B-8163A151E874@dougk-ff7.net> <46DB9A1E.4080000@cran.org.uk> <4956a5e50709030343x6de3ab6frab925421859bd7f0@mail.gmail.com> <46DC4118.8020300@cran.org.uk> X-Mailman-Approved-At: Tue, 04 Sep 2007 00:20:18 +0000 Cc: 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 23:54:57 -0000 On 9/3/07, Bruce Cran wrote: > Nenhum_de_Nos wrote: > > I have disabled all but one debug support: > > > > makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols > > > > no witness also > > > > thanks > > > > matheus > > > > > > Hi Matheus, > > If you haven't tried kqemu-kmod, I would highly recommend it - with the > caveat that, being a kernel module that hasn't been extensively tested, > it may crash your system. > It should speed up qemu to near-native speeds since it allows the code > to run natively instead of being interpreted one instruction at a time. > > Cheers, > Bruce Cran hm, I'll try this today :) thanks, but now what I think will most kill performance is that even though I say -smp 2 and it has two cpus (my machine is in fact dual core), it has one and only one process for all qemu vm, and there fore uses just one core. is it really supposed to behave this way ? thanks again matheus -- We will call you cygnus, The God of balance you shall be