From: Liu Ping Fan <kernelfans@gmail.com>
To: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, qemu-devel@nongnu.org
Cc: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>, Avi Kivity <avi@redhat.com>,
Anthony Liguori <anthony@codemonkey.ws>
Subject: [Qemu-devel] [RFC] kvm: export host NUMA info to guest's scheduler
Date: Wed, 23 May 2012 14:32:27 +0800 [thread overview]
Message-ID: <1337754751-9018-1-git-send-email-kernelfans@gmail.com> (raw)
Currently, the guest can not know the NUMA info of the vcpu, which will
result in performance drawback. For example:
Supposing vcpu-a on nodeA, vcpu-b on nodeB, when load balance,
the tasks' pull and push between these vcpus will cost more. But
unfortunately, currently, the guest is just blind to this.
So here is the idea to solve it.
Export host numa info through guest's sched domain to its scheduler.
So the guest's lb will consider the cost.
These patches include:
For guest:
0001-sched-add-virt-sched-domain-for-the-guest.patch
0002-sched-add-virt-domain-device-s-driver.patch
For host:
0001-kvm-collect-vcpus-numa-info-for-guest-s-scheduler.patch
0001-Qemu-add-virt-sched-domain-device.patch
Please give some comments and suggestion.
Thanks and regards,
pingfan
next reply other threads:[~2012-05-23 6:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 6:32 Liu Ping Fan [this message]
2012-05-23 6:32 ` [Qemu-devel] [PATCH 1/2] sched: add virt sched domain for the guest Liu Ping Fan
2012-05-23 7:54 ` Peter Zijlstra
2012-05-23 8:10 ` Liu ping fan
2012-05-23 8:23 ` Peter Zijlstra
2012-05-23 8:34 ` Liu ping fan
2012-05-23 8:48 ` Peter Zijlstra
2012-05-23 9:58 ` Liu ping fan
2012-05-23 10:14 ` Peter Zijlstra
2012-05-23 15:23 ` Dave Hansen
2012-05-23 15:52 ` Peter Zijlstra
2012-05-23 6:32 ` [Qemu-devel] [PATCH 2/2] sched: add virt domain device's driver Liu Ping Fan
2012-05-23 6:32 ` [Qemu-devel] [PATCH] kvm: collect vcpus' numa info for guest's scheduler Liu Ping Fan
2012-05-23 6:32 ` [Qemu-devel] [PATCH] Qemu: add virt sched domain device Liu Ping Fan
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=1337754751-9018-1-git-send-email-kernelfans@gmail.com \
--to=kernelfans@gmail.com \
--cc=anthony@codemonkey.ws \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.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 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).