From: "Nick L. Petroni Jr." <npetroni@cs.umd.edu>
To: Keir Fraser <keir@xensource.com>, xen-devel@lists.xensource.com
Cc: Michael Hicks <mwh@cs.umd.edu>
Subject: Re: Xen Benchmarking guidelines
Date: Wed, 15 Aug 2007 11:20:16 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0708151103590.4984@localhost> (raw)
In-Reply-To: <C2E74840.1429C%keir@xensource.com>
Hi,
> It should be possible, and in fact difficult not, to get almost native
> scores on SPECINT benchmarks from within an HVM guest. There's no I/O or
> system activity at all -- it's just measuring raw CPU speed.
>
> The most likely culprits are scheduling problems or time problems in the HVM
> guest.
>
> To discount scheduling issues, it's probably worth pinning your HVM VCPU to
> a single physical CPU (and set the affinity of dom0 so that it *doesn't* run
> on that physical CPU) and see if that helps.
I've run some additional tests, this time with the following settings:
xm vcpu-pin 0 0 0
xm vcpu-pin 1 0 1
The overall numbers were better. That is, the best and worst times were,
in general, faster than before. However, the variance is still high. Here
are my results for my Red Hat 7.3 HVM guest:
http://www.cs.umd.edu/~npetroni/xen_cpu_results/CINT2006.001.html
(NOTE: I forgot to update the configuration description before running, so
it says this is Xen 3.0.2-2. It's actually 3.1.0)
I only ran four of the workloads (hence the "Invalid Run" wallpaper) and
experienced the same trend as before -- after a few workloads, the
numbers get worse. To be clear, the benchmark runs the workloads in column
order, not row. So, the test goes: gcc, hmmer, sjeng, libquantum, gcc,
hmmer, sjeng, ...
I thought this could be a guest scheduler issue of some sort, so I re-ran
with a vanilla Fedora Core 6 (SELinux etc. disabled) HVM domain. Here are
those results:
http://www.cs.umd.edu/~npetroni/xen_cpu_results/CINT2006.003.html
The trend, and some of the numbers, are nearly identical. After some time,
the system just appears to degrade.
I'm a little stumped at this point, but I'm out of time to keep tracking
down the issue, for this week anyway. In the mean time, I'm going to try
running each workload separately with reboots in-between so I can at least
get an idea of peak performance for each.
Take care and thanks,
nick
prev parent reply other threads:[~2007-08-15 15:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-14 10:37 Xen Benchmarking guidelines Nick L. Petroni Jr.
2007-08-14 10:53 ` Keir Fraser
2007-08-14 11:31 ` Nick L. Petroni Jr.
2007-08-15 15:20 ` Nick L. Petroni Jr. [this message]
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=Pine.LNX.4.64.0708151103590.4984@localhost \
--to=npetroni@cs.umd.edu \
--cc=keir@xensource.com \
--cc=mwh@cs.umd.edu \
--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.