Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-26 Thread Sam Bobroff
On Tue, Oct 25, 2016 at 02:13:07PM +0200, Martin Kletzander wrote: > On Tue, Oct 25, 2016 at 01:10:23PM +1100, Sam Bobroff wrote: > >On Tue, Oct 18, 2016 at 10:43:31PM +0200, Martin Kletzander wrote: > >>On Mon, Oct 17, 2016 at 03:45:09PM +1100, Sam Bobroff wrote: > >>>On Fri, Oct 14, 2016 at

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-25 Thread Martin Kletzander
On Tue, Oct 25, 2016 at 01:10:23PM +1100, Sam Bobroff wrote: On Tue, Oct 18, 2016 at 10:43:31PM +0200, Martin Kletzander wrote: On Mon, Oct 17, 2016 at 03:45:09PM +1100, Sam Bobroff wrote: >On Fri, Oct 14, 2016 at 10:19:42AM +0200, Martin Kletzander wrote: >>On Fri, Oct 14, 2016 at 11:52:22AM

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-24 Thread Sam Bobroff
On Tue, Oct 18, 2016 at 10:43:31PM +0200, Martin Kletzander wrote: > On Mon, Oct 17, 2016 at 03:45:09PM +1100, Sam Bobroff wrote: > >On Fri, Oct 14, 2016 at 10:19:42AM +0200, Martin Kletzander wrote: > >>On Fri, Oct 14, 2016 at 11:52:22AM +1100, Sam Bobroff wrote: > >>>I did look at the libnuma

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-18 Thread Martin Kletzander
On Mon, Oct 17, 2016 at 03:45:09PM +1100, Sam Bobroff wrote: On Fri, Oct 14, 2016 at 10:19:42AM +0200, Martin Kletzander wrote: On Fri, Oct 14, 2016 at 11:52:22AM +1100, Sam Bobroff wrote: >I did look at the libnuma and cgroups approaches, but I was concerned they >wouldn't work in this case,

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-16 Thread Sam Bobroff
On Fri, Oct 14, 2016 at 10:19:42AM +0200, Martin Kletzander wrote: > On Fri, Oct 14, 2016 at 11:52:22AM +1100, Sam Bobroff wrote: > >On Thu, Oct 13, 2016 at 11:34:43AM +0200, Martin Kletzander wrote: > >>On Thu, Oct 13, 2016 at 11:34:16AM +1100, Sam Bobroff wrote: > >>>On Wed, Oct 12, 2016 at

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-14 Thread Martin Kletzander
On Fri, Oct 14, 2016 at 11:52:22AM +1100, Sam Bobroff wrote: On Thu, Oct 13, 2016 at 11:34:43AM +0200, Martin Kletzander wrote: On Thu, Oct 13, 2016 at 11:34:16AM +1100, Sam Bobroff wrote: >On Wed, Oct 12, 2016 at 10:27:50AM +0200, Martin Kletzander wrote: >>On Wed, Oct 12, 2016 at 03:04:53PM

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-13 Thread Sam Bobroff
On Thu, Oct 13, 2016 at 11:34:43AM +0200, Martin Kletzander wrote: > On Thu, Oct 13, 2016 at 11:34:16AM +1100, Sam Bobroff wrote: > >On Wed, Oct 12, 2016 at 10:27:50AM +0200, Martin Kletzander wrote: > >>On Wed, Oct 12, 2016 at 03:04:53PM +1100, Sam Bobroff wrote: > >>>At the moment, guests that

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-13 Thread Martin Kletzander
On Thu, Oct 13, 2016 at 11:34:16AM +1100, Sam Bobroff wrote: On Wed, Oct 12, 2016 at 10:27:50AM +0200, Martin Kletzander wrote: On Wed, Oct 12, 2016 at 03:04:53PM +1100, Sam Bobroff wrote: >At the moment, guests that are backed by hugepages in the host are >only able to use policy to control

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-12 Thread Sam Bobroff
On Wed, Oct 12, 2016 at 09:48:07AM +0200, Peter Krempa wrote: > On Wed, Oct 12, 2016 at 15:04:53 +1100, Sam Bobroff wrote: > > At the moment, guests that are backed by hugepages in the host are > > only able to use policy to control the placement of those hugepages > > on a per-(guest-)CPU basis.

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-12 Thread Sam Bobroff
On Wed, Oct 12, 2016 at 10:27:50AM +0200, Martin Kletzander wrote: > On Wed, Oct 12, 2016 at 03:04:53PM +1100, Sam Bobroff wrote: > >At the moment, guests that are backed by hugepages in the host are > >only able to use policy to control the placement of those hugepages > >on a per-(guest-)CPU

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-12 Thread Martin Kletzander
On Wed, Oct 12, 2016 at 03:04:53PM +1100, Sam Bobroff wrote: At the moment, guests that are backed by hugepages in the host are only able to use policy to control the placement of those hugepages on a per-(guest-)CPU basis. Policy applied globally is ignored. Such guests would use and a block

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-12 Thread Peter Krempa
On Wed, Oct 12, 2016 at 15:04:53 +1100, Sam Bobroff wrote: > At the moment, guests that are backed by hugepages in the host are > only able to use policy to control the placement of those hugepages > on a per-(guest-)CPU basis. Policy applied globally is ignored. > > Such guests would use and >