From: Gianluca Guida <gianluca.guida@eu.citrix.com>
To: deshantm@gmail.com
Cc: Muli Ben-Yehuda <MULI@il.ibm.com>,
Anthony Liguori <aliguori@us.ibm.com>,
xen-devel mailing list <xen-devel@lists.xensource.com>
Subject: Re: Re: Poor performance on HVM (kernbench)
Date: Thu, 11 Sep 2008 16:17:15 +0100 [thread overview]
Message-ID: <48C9367B.6090003@eu.citrix.com> (raw)
In-Reply-To: <48C8EC48.6080507@eu.citrix.com>
[-- Attachment #1: Type: text/plain, Size: 1776 bytes --]
Hi,
Gianluca Guida wrote:
> Todd Deshane wrote:
>> Xen 3.3 should be an improvement with shadow3 right?
I made a few test, in an amd64 kernel, with shadow2 and shadow 3.
Results attached. What you can see is that in 1 vcpu environment the two
system compare very well (with shadow3 being 1.5% faster that shadow2,
system time being much lower). It's disturbing that in 2 vcpus, instead,
the shadow2 is about 11% faster. I'll try to look at that and make the
shadow3 algorithm a bit more linux-friendly but, in general, I don't
think that the slow down was due *only* to shadow3.
Was it a 32bit guest? PAE?
Thanks,
Gianluca
1 vcpu, shadow2
Thu Sep 11 14:09:14 EDT 2008
2.6.18-4-amd64
Average Optimal load -j 4 Run (std deviation):
Elapsed Time 414.792 (0.4772)
User Time 303.276 (0.508409)
System Time 111.148 (0.592891)
Percent CPU 99.2 (0.447214)
Context Switches 25682.6 (146.046)
Sleeps 28827.8 (99.8884)
1 vcpu, shadow3
Thu Sep 11 13:16:23 EDT 2008
2.6.18-4-amd64
Average Optimal load -j 4 Run (std deviation):
Elapsed Time 408.948 (1.96799)
User Time 326.482 (0.553191)
System Time 81.184 (2.0058)
Percent CPU 99 (0)
Context Switches 25239.6 (205.305)
Sleeps 28995 (152.91)
2 vcpus, shadow2
Thu Sep 11 11:59:27 EDT 2008
2.6.18-4-amd64
Average Optimal load -j 8 Run (std deviation):
Elapsed Time 223.144 (0.709704)
User Time 314.844 (0.933852)
System Time 121.536 (1.46827)
Percent CPU 195.2 (0.447214)
Context Switches 27307.4 (249.907)
Sleeps 34875.6 (212.731)
2 vcpus, shadow3
Thu Sep 11 12:32:41 EDT 2008
2.6.18-4-amd64
Average Optimal load -j 8 Run (std deviation):
Elapsed Time 251.832 (1.27152)
User Time 368.878 (0.745366)
System Time 124.472 (1.15751)
Percent CPU 195.4 (0.547723)
Context Switches 28585.2 (135.509)
Sleeps 35620.4 (447.023)
[-- Attachment #2: kernbench.log --]
[-- Type: text/x-log, Size: 1141 bytes --]
1 vcpu, shadow2
Thu Sep 11 14:09:14 EDT 2008
2.6.18-4-amd64
Average Optimal load -j 4 Run (std deviation):
Elapsed Time 414.792 (0.4772)
User Time 303.276 (0.508409)
System Time 111.148 (0.592891)
Percent CPU 99.2 (0.447214)
Context Switches 25682.6 (146.046)
Sleeps 28827.8 (99.8884)
1 vcpu, shadow3
Thu Sep 11 13:16:23 EDT 2008
2.6.18-4-amd64
Average Optimal load -j 4 Run (std deviation):
Elapsed Time 408.948 (1.96799)
User Time 326.482 (0.553191)
System Time 81.184 (2.0058)
Percent CPU 99 (0)
Context Switches 25239.6 (205.305)
Sleeps 28995 (152.91)
2 vcpus, shadow2
Thu Sep 11 11:59:27 EDT 2008
2.6.18-4-amd64
Average Optimal load -j 8 Run (std deviation):
Elapsed Time 223.144 (0.709704)
User Time 314.844 (0.933852)
System Time 121.536 (1.46827)
Percent CPU 195.2 (0.447214)
Context Switches 27307.4 (249.907)
Sleeps 34875.6 (212.731)
2 vcpus, shadow3
Thu Sep 11 12:32:41 EDT 2008
2.6.18-4-amd64
Average Optimal load -j 8 Run (std deviation):
Elapsed Time 251.832 (1.27152)
User Time 368.878 (0.745366)
System Time 124.472 (1.15751)
Percent CPU 195.4 (0.547723)
Context Switches 28585.2 (135.509)
Sleeps 35620.4 (447.023)
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2008-09-11 15:17 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-10 18:23 Poor performance on HVM (kernbench) Todd Deshane
2008-09-10 21:22 ` Todd Deshane
2008-09-10 22:42 ` Anthony Liguori
2008-09-11 2:52 ` Todd Deshane
2008-09-11 9:35 ` George Dunlap
2008-09-11 15:30 ` Todd Deshane
2008-09-11 10:00 ` Gianluca Guida
2008-09-11 15:17 ` Gianluca Guida [this message]
2008-09-11 15:25 ` Gianluca Guida
2008-09-11 15:35 ` Todd Deshane
2008-09-11 16:48 ` Gianluca Guida
2008-09-11 17:25 ` Gianluca Guida
2008-09-11 18:07 ` George Dunlap
2008-09-11 18:26 ` Gianluca Guida
2008-09-11 19:04 ` Todd Deshane
2008-09-11 19:54 ` Todd Deshane
2008-09-11 20:02 ` Jeremy Fitzhardinge
2008-09-11 20:24 ` John Levon
2008-09-12 10:41 ` Gianluca Guida
2008-09-12 11:04 ` George Dunlap
2008-09-12 11:19 ` George Dunlap
2008-09-12 14:20 ` Jeremy Fitzhardinge
2008-09-10 21:37 ` Daniel Magenheimer
2008-09-10 21:42 ` Todd Deshane
2008-09-10 21:45 ` Daniel Magenheimer
2008-09-11 2:48 ` Todd Deshane
2008-09-10 21:51 ` Steve Ofsthun
2008-09-11 2:50 ` Todd Deshane
2008-09-11 6:31 ` Pasi Kärkkäinen
2008-09-11 16:02 ` Todd Deshane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48C9367B.6090003@eu.citrix.com \
--to=gianluca.guida@eu.citrix.com \
--cc=MULI@il.ibm.com \
--cc=aliguori@us.ibm.com \
--cc=deshantm@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.