Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-27 Thread Zhong, Luyao
On 11/23/2020 8:14 PM, Martin Kletzander wrote: On Mon, Nov 23, 2020 at 05:02:31PM +0800, Zhong, Luyao wrote: On 11/20/2020 6:08 PM, Martin Kletzander wrote: On Fri, Nov 20, 2020 at 01:17:29PM +0800, Zhong, Luyao wrote: On 11/18/2020 8:42 PM, Martin Kletzander wrote: So let's finish this

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-27 Thread Zhong, Luyao
On 11/23/2020 8:14 PM, Martin Kletzander wrote: On Mon, Nov 23, 2020 at 05:02:31PM +0800, Zhong, Luyao wrote: On 11/20/2020 6:08 PM, Martin Kletzander wrote: On Fri, Nov 20, 2020 at 01:17:29PM +0800, Zhong, Luyao wrote: On 11/18/2020 8:42 PM, Martin Kletzander wrote: So let's finish this

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-23 Thread Martin Kletzander
On Mon, Nov 23, 2020 at 05:02:31PM +0800, Zhong, Luyao wrote: On 11/20/2020 6:08 PM, Martin Kletzander wrote: On Fri, Nov 20, 2020 at 01:17:29PM +0800, Zhong, Luyao wrote: On 11/18/2020 8:42 PM, Martin Kletzander wrote: So let's finish this sooner rather than later.  Let's remove the "migra

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-23 Thread Zhong, Luyao
On 11/20/2020 6:08 PM, Martin Kletzander wrote: On Fri, Nov 20, 2020 at 01:17:29PM +0800, Zhong, Luyao wrote: On 11/18/2020 8:42 PM, Martin Kletzander wrote: So let's finish this sooner rather than later.  Let's remove the "migratable/movable" attribute and add another mode for the way memor

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-20 Thread Martin Kletzander
On Fri, Nov 20, 2020 at 01:17:29PM +0800, Zhong, Luyao wrote: On 11/18/2020 8:42 PM, Martin Kletzander wrote: So let's finish this sooner rather than later.  Let's remove the "migratable/movable" attribute and add another mode for the way memory allocations are going to be treated.  But let's na

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-19 Thread Zhong, Luyao
atable' is set. If we have 'default' option, is 'migratable' still needed then? FYI. The 'mode' is corresponding to memory policy, there already a notion of default memory policy.   quote:     System Default Policy:  this policy is "hard coded" into the kern

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-18 Thread Martin Kletzander
rict', it will always conflict with the 'migratable', at the end I still need introducing a new option for 'mode' which can be a legal config when 'migratable' is set. If we have 'default' option, is 'migratable' still needed then? FYI. The

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-18 Thread Zhong, Luyao
default memory policy.   quote:     System Default Policy:  this policy is "hard coded" into the kernel. (https://www.kernel.org/doc/Documentation/vm/numa_memory_policy.txt) So it might be easier to understand if we introduce a 'default' option directly. Regards, Luyao On 8/2

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-12 Thread Martin Kletzander
corresponding to memory policy, there already a notion of default memory policy.   quote:     System Default Policy:  this policy is "hard coded" into the kernel. (https://www.kernel.org/doc/Documentation/vm/numa_memory_policy.txt) So it might be easier to understand if we introduce a &

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-11 Thread Zhong, Luyao
of default memory policy.   quote:     System Default Policy:  this policy is "hard coded" into the kernel. (https://www.kernel.org/doc/Documentation/vm/numa_memory_policy.txt) So it might be easier to understand if we introduce a 'default' option directly. Regards, Luyao On 8/26/

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-09 Thread Martin Kletzander
/numa_memory_policy.txt) So it might be easier to understand if we introduce a 'default' option directly. Regards, Luyao On 8/26/2020 6:20 AM, Martin Kletzander wrote: On Tue, Aug 25, 2020 at 09:42:36PM +0800, Zhong, Luyao wrote: On 8/19/2020 11:24 PM, Martin Kletzander wrote: On Tue, Au

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-06 Thread Zhong, Luyao
nto the kernel. (https://www.kernel.org/doc/Documentation/vm/numa_memory_policy.txt) So it might be easier to understand if we introduce a 'default' option directly. Regards, Luyao On 8/26/2020 6:20 AM, Martin Kletzander wrote: On Tue, Aug 25, 2020 at 09:42:36PM +0800, Zhong, Luyao

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-11-04 Thread Martin Kletzander
tin Kletzander wrote: On Tue, Aug 18, 2020 at 07:49:30AM +0000, Zang, Rui wrote: -Original Message- From: Martin Kletzander Sent: Monday, August 17, 2020 4:58 PM To: Zhong, Luyao Cc: libvir-list@redhat.com; Zang, Rui ; Michal Privoznik Subject: Re: [libvirt][RFC PATCH] add a new &#x

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-10-16 Thread Zhong, Luyao
wrote: -Original Message- From: Martin Kletzander Sent: Monday, August 17, 2020 4:58 PM To: Zhong, Luyao Cc: libvir-list@redhat.com; Zang, Rui ; Michal Privoznik Subject: Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune On Tue, Aug 11, 2020

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-10-16 Thread Zang, Rui
r wrote: >>>> On Tue, Aug 18, 2020 at 07:49:30AM +, Zang, Rui wrote: >>>>> >>>>> >>>>>> -Original Message- >>>>>> From: Martin Kletzander >>>>>> Sent: Monday, August 17, 2020 4:58 PM >>&g

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-10-16 Thread Zhong, Luyao
o wrote: On 8/19/2020 11:24 PM, Martin Kletzander wrote: On Tue, Aug 18, 2020 at 07:49:30AM +, Zang, Rui wrote: -Original Message- From: Martin Kletzander Sent: Monday, August 17, 2020 4:58 PM To: Zhong, Luyao Cc: libvir-list@redhat.com; Zang, Rui ; Michal Privoznik Subject: Re

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-25 Thread Martin Kletzander
-list@redhat.com; Zang, Rui ; Michal Privoznik Subject: Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune On Tue, Aug 11, 2020 at 04:39:42PM +0800, Zhong, Luyao wrote: > > >On 8/7/2020 4:24 PM, Martin Kletzander wrote: >> On Fri, Aug 07,

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-25 Thread Zhong, Luyao
: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune On Tue, Aug 11, 2020 at 04:39:42PM +0800, Zhong, Luyao wrote: > > >On 8/7/2020 4:24 PM, Martin Kletzander wrote: >> On Fri, Aug 07, 2020 at 01:27:59PM +0800, Zhong, Luyao wrote: >>> &

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-19 Thread Martin Kletzander
On Tue, Aug 18, 2020 at 07:49:30AM +, Zang, Rui wrote: -Original Message- From: Martin Kletzander Sent: Monday, August 17, 2020 4:58 PM To: Zhong, Luyao Cc: libvir-list@redhat.com; Zang, Rui ; Michal Privoznik Subject: Re: [libvirt][RFC PATCH] add a new 'default'

RE: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-18 Thread Zang, Rui
> -Original Message- > From: Martin Kletzander > Sent: Monday, August 17, 2020 4:58 PM > To: Zhong, Luyao > Cc: libvir-list@redhat.com; Zang, Rui ; Michal Privoznik > > Subject: Re: [libvirt][RFC PATCH] add a new 'default' option for attribute > m

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-17 Thread Martin Kletzander
On Tue, Aug 11, 2020 at 04:39:42PM +0800, Zhong, Luyao wrote: On 8/7/2020 4:24 PM, Martin Kletzander wrote: On Fri, Aug 07, 2020 at 01:27:59PM +0800, Zhong, Luyao wrote: On 8/3/2020 7:00 PM, Martin Kletzander wrote: On Mon, Aug 03, 2020 at 05:31:56PM +0800, Luyao Zhong wrote: Hi Libvirt e

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-11 Thread Zhong, Luyao
On 8/7/2020 4:24 PM, Martin Kletzander wrote: On Fri, Aug 07, 2020 at 01:27:59PM +0800, Zhong, Luyao wrote: On 8/3/2020 7:00 PM, Martin Kletzander wrote: On Mon, Aug 03, 2020 at 05:31:56PM +0800, Luyao Zhong wrote: Hi Libvirt experts, I would like enhence the numatune snippet configurati

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-07 Thread Martin Kletzander
On Fri, Aug 07, 2020 at 01:27:59PM +0800, Zhong, Luyao wrote: On 8/3/2020 7:00 PM, Martin Kletzander wrote: On Mon, Aug 03, 2020 at 05:31:56PM +0800, Luyao Zhong wrote: Hi Libvirt experts, I would like enhence the numatune snippet configuration. Given a example snippet:  ...        

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-06 Thread Zhong, Luyao
On 8/3/2020 7:00 PM, Martin Kletzander wrote: On Mon, Aug 03, 2020 at 05:31:56PM +0800, Luyao Zhong wrote: Hi Libvirt experts, I would like enhence the numatune snippet configuration. Given a example snippet:  ...               ... Currently, attribute mode is either 'interleave', '

Re: [libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-03 Thread Martin Kletzander
On Mon, Aug 03, 2020 at 05:31:56PM +0800, Luyao Zhong wrote: Hi Libvirt experts, I would like enhence the numatune snippet configuration. Given a example snippet: ... ... Currently, attribute mode is either 'interleave', 'strict', or 'preferred', I propose to add a new 'de

[libvirt][RFC PATCH] add a new 'default' option for attribute mode in numatune

2020-08-03 Thread Luyao Zhong
Hi Libvirt experts, I would like enhence the numatune snippet configuration. Given a example snippet: ... ... Currently, attribute mode is either 'interleave', 'strict', or 'preferred', I propose to add a new 'default' option. I give the reason as following. Presume