From: George Dunlap <George.Dunlap@eu.citrix.com>
To: "duyuyang@gmail.com" <duyuyang@gmail.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Offline state in scheduling
Date: Tue, 29 Jun 2010 13:50:12 +0100 [thread overview]
Message-ID: <4C29EC04.9000403@eu.citrix.com> (raw)
In-Reply-To: <201006291942243126656@gmail.com>
On 29/06/10 12:42, Yuyang Du wrote:
> Is it right to say the time HVM waits for I/O equals the offline time (given no administrator pauses)?
There are some I/O events that are handled inside of Xen (such as APIC
accesses); these don't cause a vcpu to be paused. I think in the normal
course of operation, an HVM vcpu is only paused when doing I/O. Other
reasons might be administrator pause, migration, save/restore, domain
creation, memory sharing / page swapping, and so on. But if you aren't
doing any of those, I think I/O done in QEMU would be the only reason.
> I am testing apache web server in a HVM, and I find that vcpu blocking state makes up a large portion. Since the HVM can not issue SCHED_block hypercalls, so the blocking state means the VM is not cpu intensive and often executes HLT to halt itself?
Yes. If you take a trace to include VMX / SVM events, and use xenalyze,
you should be able to see the HLT vmexit before blocking.
-George
prev parent reply other threads:[~2010-06-29 12:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-28 3:59 Offline state in scheduling Yuyang Du
2010-06-28 9:46 ` George Dunlap
2010-06-29 11:42 ` Yuyang Du
2010-06-29 12:50 ` George Dunlap [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=4C29EC04.9000403@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=duyuyang@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.