qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC] kvm: export host NUMA info to guest's scheduler
@ 2012-05-23  6:32 Liu Ping Fan
  2012-05-23  6:32 ` [Qemu-devel] [PATCH 1/2] sched: add virt sched domain for the guest Liu Ping Fan
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Liu Ping Fan @ 2012-05-23  6:32 UTC (permalink / raw)
  To: kvm, linux-kernel, qemu-devel
  Cc: Peter Zijlstra, Ingo Molnar, Avi Kivity, Anthony Liguori

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-05-23 15:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23  6:32 [Qemu-devel] [RFC] kvm: export host NUMA info to guest's scheduler Liu Ping Fan
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

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).