From: Marcus Granado <marcus.granado@citrix.com>
To: xen-devel <xen-devel@lists.xensource.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
Matthew Portas <matthew.portas@citrix.com>,
Dario Faggioli <dario.faggioli@citrix.com>
Subject: Performance of Xen VCPU Scheduling
Date: Wed, 10 Jul 2013 14:00:36 +0100 [thread overview]
Message-ID: <51DD5AF4.3080109@citrix.com> (raw)
Hello,
I observed that a configuration where dom0 vcpus were pinned to a set of
pcpus in the host using dom0_vcpus_pin and the guests were prevented
from running on the dom0 pcpus (here called "exclusively-pinned dom0
vcpus", or xpin) caused the general performance of the guests in a host
with around 24 pcpus or more to increase during bootstorms and high
density of guests, even though there were less pcpus available to the
guests.
While trying to understand why this increased performance is not present
in the default non-pinned state and if it would be possible to obtain
this extra performance in the default non-pinned dom0 configuration,
Matthew Portas and I evaluated lots of Xen 4.2 parameters and patches:
http://wiki.xenproject.org/wiki/Performance_of_Xen_VCPU_Scheduling
We put some of the results that we thought would be of interest to this
list in the link above, and we invite everybody here to have a look. We
are especially interested in having some feedback on the prototype
section, and to find out if anyone has further ideas for patches and if
the listed patches are reasonable or could have side-effects.
Interesting results in the link above:
- xpin decreases startup time of vms in a bootstorm
- xpin has a pathological case when the vms are burning lots of cpu
- nopin produces an interesting cluster of high event channel latency
between 100us-1000us when enough vms are using lots of cpu
- experimental tweaks on the xen credit1 scheduler code that cause the
xpin pathological case to go away, and other increases (and sometimes
decreases) in bootstorm and vm density performance.
cheers,
Marcus
next reply other threads:[~2013-07-10 13:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-10 13:00 Marcus Granado [this message]
2013-07-10 13:23 ` Performance of Xen VCPU Scheduling Dario Faggioli
2013-07-10 14:46 ` Marcus Granado
2013-07-10 14:55 ` Dario Faggioli
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=51DD5AF4.3080109@citrix.com \
--to=marcus.granado@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=dario.faggioli@citrix.com \
--cc=matthew.portas@citrix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).