From: Christoph Egger <Christoph.Egger@amd.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: unfair VCPU scheduling: slow HVM guest boot
Date: Fri, 15 Aug 2008 13:29:16 +0200 [thread overview]
Message-ID: <200808151329.16470.Christoph.Egger@amd.com> (raw)
Hi,
Launch a HVM guest with twice as many VCPUs as physical CPUs are in the
machine. You will notice the guest boots slow.
With xentop you see, the first VCPU is rarely scheduled once the other
VCPUs are up in the guest.
If the boot process is just waiting for the first VCPU to finish something
(e.g. handling an interrupt), then the whole boot process "freezes" until the
first VCPU gets scheduled.
Here is an xentop line showing how unfair the VCPUs are scheduled:
VCPUs(sec): 0: 44s 1: 94s 2: 96s 3: 140s
Christoph
--
AMD Saxony, Dresden, Germany
Operating System Research Center
Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
Dr. Hans-R. Deppe, Thomas McCoy
next reply other threads:[~2008-08-15 11:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-15 11:29 Christoph Egger [this message]
2008-08-15 11:39 ` unfair VCPU scheduling: slow HVM guest boot George Dunlap
2008-08-15 11:50 ` Christoph Egger
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=200808151329.16470.Christoph.Egger@amd.com \
--to=christoph.egger@amd.com \
--cc=Keir.Fraser@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.