Re: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-13 Thread Thomas Gleixner
On Sun, 11 Sep 2016, Shaohua Li wrote: > On Sat, Sep 10, 2016 at 12:36:57AM +, Yu, Fenghua wrote: > > One way to implement this is we can extend the current interface to accept > > a resctrl file system mount parameter to switch b/w "procs" and "tasks" > > during > > mount time. So the file sy

Re: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-11 Thread Shaohua Li
On Sat, Sep 10, 2016 at 12:36:57AM +, Yu, Fenghua wrote: > > > Hmm, I don't know how applications are going to use the interface. > > > Nobody knows it right now. But we do have some candicate workloads > > > which want to configure the cache partition at runtime, so it's not > > > just a boot

RE: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-09 Thread Yu, Fenghua
> > Hmm, I don't know how applications are going to use the interface. > > Nobody knows it right now. But we do have some candicate workloads > > which want to configure the cache partition at runtime, so it's not > > just a boot time stuff. I'm wondering why we have such limitation. The > > framew

RE: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-09 Thread Luck, Tony
> Hmm, I don't know how applications are going to use the interface. Nobody > knows > it right now. But we do have some candicate workloads which want to configure > the cache partition at runtime, so it's not just a boot time stuff. I'm > wondering why we have such limitation. The framework is th

Re: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-09 Thread Shaohua Li
On Fri, Sep 09, 2016 at 06:03:12PM +, Luck, Tony wrote: > > I don't think this is convenient, but it's ok. Now if we create a new thread > > between 1 and 2, the new thread is in group1. The new thread pid isn't in > > the > > pid list we found in 1, so after 2, the new thread still is in grou

RE: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-09 Thread Luck, Tony
> I don't think this is convenient, but it's ok. Now if we create a new thread > between 1 and 2, the new thread is in group1. The new thread pid isn't in the > pid list we found in 1, so after 2, the new thread still is in group 1. Truely > sysadmin can repeat the step 1 & 2 and move the new threa

Re: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-09 Thread Shaohua Li
On Fri, Sep 09, 2016 at 12:22:46AM -0700, Fenghua Yu wrote: > On Thu, Sep 08, 2016 at 03:45:14PM -0700, Shaohua Li wrote: > > On Thu, Sep 08, 2016 at 06:17:47PM -0700, Fenghua Yu wrote: > > > On Thu, Sep 08, 2016 at 03:01:20PM -0700, Shaohua Li wrote: > > > > On Thu, Sep 08, 2016 at 02:57:00AM -070

Re: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-08 Thread Fenghua Yu
On Thu, Sep 08, 2016 at 03:45:14PM -0700, Shaohua Li wrote: > On Thu, Sep 08, 2016 at 06:17:47PM -0700, Fenghua Yu wrote: > > On Thu, Sep 08, 2016 at 03:01:20PM -0700, Shaohua Li wrote: > > > On Thu, Sep 08, 2016 at 02:57:00AM -0700, Fenghua Yu wrote: > > > > From: Fenghua Yu > > > > > > > > The

Re: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-08 Thread Shaohua Li
On Thu, Sep 08, 2016 at 06:17:47PM -0700, Fenghua Yu wrote: > On Thu, Sep 08, 2016 at 03:01:20PM -0700, Shaohua Li wrote: > > On Thu, Sep 08, 2016 at 02:57:00AM -0700, Fenghua Yu wrote: > > > From: Fenghua Yu > > > > > > The documentation describes user interface of how to allocate resource > > >

Re: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-08 Thread Fenghua Yu
On Thu, Sep 08, 2016 at 03:01:20PM -0700, Shaohua Li wrote: > On Thu, Sep 08, 2016 at 02:57:00AM -0700, Fenghua Yu wrote: > > From: Fenghua Yu > > > > The documentation describes user interface of how to allocate resource > > in Intel RDT. > > > > Please note that the documentation covers generi

Re: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-08 Thread Shaohua Li
On Thu, Sep 08, 2016 at 02:57:00AM -0700, Fenghua Yu wrote: > From: Fenghua Yu > > The documentation describes user interface of how to allocate resource > in Intel RDT. > > Please note that the documentation covers generic user interface. Current > patch set code only implemente CAT L3. CAT L2

Re: [PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-08 Thread Borislav Petkov
On Thu, Sep 08, 2016 at 02:57:00AM -0700, Fenghua Yu wrote: > From: Fenghua Yu > > The documentation describes user interface of how to allocate resource > in Intel RDT. > > Please note that the documentation covers generic user interface. Current > patch set code only implemente CAT L3. CAT L2

[PATCH v2 06/33] Documentation, x86: Documentation for Intel resource allocation user interface

2016-09-08 Thread Fenghua Yu
From: Fenghua Yu The documentation describes user interface of how to allocate resource in Intel RDT. Please note that the documentation covers generic user interface. Current patch set code only implemente CAT L3. CAT L2 code will be sent later. Signed-off-by: Fenghua Yu Reviewed-by: Tony Luc