From: Zhang Haoyu <ahzhanghaoyu@gmail.com>
To: kvm <kvm@vger.kernel.org>,
"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>
Subject: [question] Is there a plan to introduce a unified co-scheduling mechanism to CFS ?
Date: Fri, 10 Oct 2014 19:37:41 +0800 [thread overview]
Message-ID: <5437C505.4010504@gmail.com> (raw)
Hi,
Is it worthy to introduce a unified co-scheduling mechanism to CFS ?
Because multiple cooperating threads or tasks frequently synchronize
with each other,
not executing them concurrently would only increase the latency of
synchronization.
For example, a thread blocking in spinlock to waiting for another thread
to release the same spinlock
might reduce its waiting time by being executed concurrently with the
thread which hold the same spinlock.
In virtualization scenario, multiple vcpus (which belong to the same vm)
co-scheduling is more desired
when several cooperating threads/task is running in guest.
Is there a plane for this work?
Thanks,
Zhang Haoyu
WARNING: multiple messages have this Message-ID (diff)
From: Zhang Haoyu <ahzhanghaoyu@gmail.com>
To: kvm <kvm@vger.kernel.org>,
"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [question] Is there a plan to introduce a unified co-scheduling mechanism to CFS ?
Date: Fri, 10 Oct 2014 19:37:41 +0800 [thread overview]
Message-ID: <5437C505.4010504@gmail.com> (raw)
Hi,
Is it worthy to introduce a unified co-scheduling mechanism to CFS ?
Because multiple cooperating threads or tasks frequently synchronize
with each other,
not executing them concurrently would only increase the latency of
synchronization.
For example, a thread blocking in spinlock to waiting for another thread
to release the same spinlock
might reduce its waiting time by being executed concurrently with the
thread which hold the same spinlock.
In virtualization scenario, multiple vcpus (which belong to the same vm)
co-scheduling is more desired
when several cooperating threads/task is running in guest.
Is there a plane for this work?
Thanks,
Zhang Haoyu
next reply other threads:[~2014-10-10 11:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-10 11:37 Zhang Haoyu [this message]
2014-10-10 11:37 ` [Qemu-devel] [question] Is there a plan to introduce a unified co-scheduling mechanism to CFS ? Zhang Haoyu
2014-10-10 11:44 ` Wanpeng Li
2014-10-10 11:44 ` [Qemu-devel] " Wanpeng Li
2014-10-10 12:00 ` Zhang Haoyu
2014-10-10 12:00 ` [Qemu-devel] " Zhang Haoyu
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=5437C505.4010504@gmail.com \
--to=ahzhanghaoyu@gmail.com \
--cc=kvm@vger.kernel.org \
--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.