From: Anthony Liguori <anthony@codemonkey.ws>
To: "David S. Ahern" <daahern@cisco.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: scheduling of qemu threads
Date: Thu, 31 Jul 2008 11:02:56 -0500 [thread overview]
Message-ID: <4891E230.8090109@codemonkey.ws> (raw)
In-Reply-To: <4891DF28.6040908@cisco.com>
David S. Ahern wrote:
> Last week or so Anthony made a comment about qemu basically being single
> threaded given its global mutex. What are the impacts to simultaneous
> scheduling of qemu threads? As I understand it, qemu has a main thread,
> a monitor thread, an IO thread and a thread for each vcpu. Can 2 or more
> vcpu threads run concurrently? Can a vcpu thread and an IO thread run
> concurrently? Does kvm alter the concurrency?
>
All threads run in lock-step except when a VCPU is running (via
kvm_run). So a VCPU can run while the IO thread is active. Only one
VCPU can execute IO at a given time though.
Regards,
Anthony Liguori
> david
>
next prev parent reply other threads:[~2008-07-31 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-31 15:50 [Qemu-devel] scheduling of qemu threads David S. Ahern
2008-07-31 16:02 ` Anthony Liguori [this message]
2008-08-01 11:50 ` [Qemu-devel] " David S. Ahern
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=4891E230.8090109@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=daahern@cisco.com \
--cc=qemu-devel@nongnu.org \
/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.