Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-04-12 Thread Martin Kletzander
cgroups. And 'virsh numatune' already provides that for the whole domain (we just don't have an API to do that per memory). -Original Message- From: libvir-list-boun...@redhat.com On Behalf Of Zhong, Luyao Sent: Thursday, April 1, 2021 10:58 AM To: Martin Kletzander ; Dani

RE: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-04-12 Thread Zhong, Luyao
r memory). >-Original Message- >From: libvir-list-boun...@redhat.com On >Behalf Of Zhong, Luyao >Sent: Thursday, April 1, 2021 10:58 AM >To: Martin Kletzander ; Daniel P. Berrangé > >Cc: libvir-list@redhat.com >Subject: RE: [libvirt][PATCH v4 0/3] introduce 'rest

RE: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-31 Thread Zhong, Luyao
>-Original Message- >From: Martin Kletzander >Sent: Wednesday, March 31, 2021 5:37 PM >To: Zhong, Luyao >Cc: Daniel P. Berrangé ; libvir-list@redhat.com >Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune > >On Wed, Mar 31, 2021 at

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-31 Thread Martin Kletzander
in numatune On Tue, Mar 30, 2021 at 08:53:19AM +, Zhong, Luyao wrote: -Original Message- From: Martin Kletzander Sent: Thursday, March 25, 2021 10:28 PM To: Daniel P. Berrangé Cc: Zhong, Luyao ; libvir-list@redhat.com Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode

RE: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-31 Thread Zhong, Luyao
>-Original Message- >From: Martin Kletzander >Sent: Wednesday, March 31, 2021 12:21 AM >To: Zhong, Luyao >Cc: Daniel P. Berrangé ; libvir-list@redhat.com >Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune > >On Tue, Mar 30, 2021 at

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-30 Thread Martin Kletzander
> > > From: Martin Kletzander >> > > Sent: Thursday, March 25, 2021 4:46 AM >> > > To: Daniel P. Berrangé >> > > Cc: Zhong, Luyao ; libvir-list@redhat.com >> > > Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode >> > &g

RE: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-30 Thread Zhong, Luyao
> -Original Message- > From: Martin Kletzander > Sent: Thursday, March 25, 2021 10:28 PM > To: Daniel P. Berrangé > Cc: Zhong, Luyao ; libvir-list@redhat.com > Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune > > On Thu, Mar 25,

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Martin Kletzander
Thursday, March 25, 2021 4:46 AM > > To: Daniel P. Berrangé > > Cc: Zhong, Luyao ; libvir-list@redhat.com > > Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune > > > > On Tue, Mar 23, 2021 at 09:48:02AM +, Daniel P. Berrangé wrote: >

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Daniel P . Berrangé
; > > To: Daniel P. Berrangé > > > Cc: Zhong, Luyao ; libvir-list@redhat.com > > > Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in > > > numatune > > > > > > On Tue, Mar 23, 2021 at 09:48:02AM +, Daniel P. Berrangé wrote: &g

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Martin Kletzander
On Thu, Mar 25, 2021 at 09:11:02AM +, Zhong, Luyao wrote: -Original Message- From: Martin Kletzander Sent: Thursday, March 25, 2021 4:46 AM To: Daniel P. Berrangé Cc: Zhong, Luyao ; libvir-list@redhat.com Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Martin Kletzander
On Thu, Mar 25, 2021 at 08:36:17AM +, Daniel P. Berrangé wrote: On Wed, Mar 24, 2021 at 09:46:23PM +0100, Martin Kletzander wrote: On Tue, Mar 23, 2021 at 09:48:02AM +, Daniel P. Berrangé wrote: > On Tue, Mar 23, 2021 at 10:59:02AM +0800, Luyao Zhong wrote: > > Before this patch set,

RE: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Zhong, Luyao
> -Original Message- > From: Martin Kletzander > Sent: Thursday, March 25, 2021 4:46 AM > To: Daniel P. Berrangé > Cc: Zhong, Luyao ; libvir-list@redhat.com > Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune > > On Tue, Mar 23,

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Daniel P . Berrangé
On Wed, Mar 24, 2021 at 09:46:23PM +0100, Martin Kletzander wrote: > On Tue, Mar 23, 2021 at 09:48:02AM +, Daniel P. Berrangé wrote: > > On Tue, Mar 23, 2021 at 10:59:02AM +0800, Luyao Zhong wrote: > > > Before this patch set, numatune only has three memory modes: > > > static, interleave and

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-24 Thread Martin Kletzander
On Tue, Mar 23, 2021 at 09:48:02AM +, Daniel P. Berrangé wrote: On Tue, Mar 23, 2021 at 10:59:02AM +0800, Luyao Zhong wrote: Before this patch set, numatune only has three memory modes: static, interleave and prefered. These memory policies are ultimately set by mbind() system call. Memory

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-23 Thread Daniel P . Berrangé
On Tue, Mar 23, 2021 at 10:59:02AM +0800, Luyao Zhong wrote: > Before this patch set, numatune only has three memory modes: > static, interleave and prefered. These memory policies are > ultimately set by mbind() system call. > > Memory policy could be 'hard coded' into the kernel, but none of >

[libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-22 Thread Luyao Zhong
Before this patch set, numatune only has three memory modes: static, interleave and prefered. These memory policies are ultimately set by mbind() system call. Memory policy could be 'hard coded' into the kernel, but none of above policies fit our requirment under this case. mbind() support