From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: performance trouble Date: Tue, 20 Mar 2012 14:38:22 +0200 Message-ID: <20120320123821.GL22368@redhat.com> References: <20120217100714.GB29601@redhat.com> <20120217140107.GA26955@nfs-rbx.ovh.net> <20120219091315.GA10038@redhat.com> <20120222163356.GE26955@nfs-rbx.ovh.net> <20120223083807.GA17505@redhat.com> <20120316101331.GM12293@nfs-rbx.ovh.net> <20120319105134.GA27928@redhat.com> <20120320093220.GS12293@nfs-rbx.ovh.net> <20120320094541.GH22368@redhat.com> <20120320111839.GT12293@nfs-rbx.ovh.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm@vger.kernel.org, Vadim Rozenfeld To: David Cure Return-path: Received: from mx1.redhat.com ([209.132.183.28]:64262 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759077Ab2CTMi1 (ORCPT ); Tue, 20 Mar 2012 08:38:27 -0400 Content-Disposition: inline In-Reply-To: <20120320111839.GT12293@nfs-rbx.ovh.net> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Mar 20, 2012 at 12:18:39PM +0100, David Cure wrote: > Le Tue, Mar 20, 2012 at 11:45:41AM +0200, Gleb Natapov ecrivait : > > > > This is without -no-hpet :) Also I hope you are not measuring time while > > haaaaa yes, sorry for the mistake. > > > tracing since it supposed to be slower. Can you please try to run with > > -cpu host,-hypervisor and -no-hpet and see if times are better. > > I use libvirt to start the VM, do you know how to modify the xml > file to have this option generated (I know for the -no-hpet, but not for > other) ? > If not, I capture the command and modify it to run directly. > I was pointed to here: http://berrange.com/posts/2010/02/15/guest-cpu-model-configuration-in-libvirt-with-qemukvm/ Try to add to cpu definition in XML and check command line. -- Gleb.