WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Poor performance on HVM (kernbench)

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-devel] Poor performance on HVM (kernbench)
From: Steve Ofsthun <sofsthun@xxxxxxxxxxxxxxx>
Date: Wed, 10 Sep 2008 17:51:55 -0400
Cc: Daniel Magenheimer <dan.magenheimer@xxxxxxxxxx>, xen-devel mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 10 Sep 2008 14:52:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0809101442q225c5fcfj25c0b4ffe0da83a0@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1e16a9ed0809101123m71a12030v7d06501f6467f93@xxxxxxxxxxxxxx> <e0f1c7f4-7bc5-4d64-8409-464ade1d749f@default> <1e16a9ed0809101442q225c5fcfj25c0b4ffe0da83a0@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080421)
Todd Deshane wrote:
On Wed, Sep 10, 2008 at 5:37 PM, Daniel Magenheimer
<dan.magenheimer@xxxxxxxxxx> wrote:
This doesn't answer the HVM question but it appears that
you are running guests with 1 vCPU but comparing against
a dual-CPU native.  True?

Yes. The intuition is that we don't want to overcommit virtual CPUs
since then you are stressing the schedulers more.

I think what Dan is getting at is, the native execution run should restrict it's cpu and memory usage to be 
identical with the guest tests.  So restrict the native test cpus with "maxcpus=1" or 
"nosmp" on the boot line.  Similarly you can restrict memory using "mem=xxxM".

I ran some tests with 2 vCPUs and all the numbers are a bit higher (as
having two CPUs tackling a compile is faster).

Although overcommit (of CPUs and memory ;) is interesting, we leave a
CPU dedicated to the host system (linux/dom0)
on purpose.

Todd

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel