From: Jeremy Fitzhardinge <jeremy@goop.org>
To: George Dunlap <George.Dunlap@eu.citrix.com>
Cc: Mark Williamson <mark.williamson@cl.cam.ac.uk>,
xen-devel@lists.xensource.com,
Gabriel Southern <gsouther@gmu.edu>
Subject: Re: Priority for SMP VMs
Date: Tue, 22 Jul 2008 08:59:25 -0700 [thread overview]
Message-ID: <488603DD.5080009@goop.org> (raw)
In-Reply-To: <de76405a0807220407m30661d76k3935adffdc04d6f9@mail.gmail.com>
George Dunlap wrote:
> If you want a "clean" scheduler test, you should instead run "while(1)
> ;" loops, which will never block, and will always consume all cpu time
> available. My guess is if you do that, then the cpu time given to
> each domain will be exactly according to their weight. On the other
> hand, if you do a "kernbench" test, which will include a lot of
> blocking, I suspect you may get even more disparity between the
> runtimes.
>
My experience is that kernbench, if run properly, should not block. It
precaches the source in memory before starting, so it should not
generate any reads during a benchmark run. It will still write the
build products, but write-behind should make that non-blocking from the
benchmark's perspective.
Running the maximal "make -j" test without enough memory will drive the
machine into swapstorm, which will definitely block, but you're supposed
to run with enough memory to avoid that (~4G bytes, I think).
J
next prev parent reply other threads:[~2008-07-22 15:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 2:36 Priority for SMP VMs Gabriel Southern
2008-07-21 21:00 ` Mark Williamson
2008-07-22 3:43 ` Gabriel Southern
2008-07-22 11:07 ` George Dunlap
2008-07-22 15:59 ` Jeremy Fitzhardinge [this message]
2008-07-23 2:49 ` Gabriel Southern
2008-07-24 15:20 ` George Dunlap
2008-07-31 2:40 ` Gabriel Southern
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=488603DD.5080009@goop.org \
--to=jeremy@goop.org \
--cc=George.Dunlap@eu.citrix.com \
--cc=gsouther@gmu.edu \
--cc=mark.williamson@cl.cam.ac.uk \
--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.