Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1613732 > unrolled thread

Re: [PATCH] x86/intel_rdt: Implement "update" mode when writing schemata file

Started byThomas Gleixner <tglx@linutronix.de>
First post2017-03-31 10:30 +0200
Last post2017-03-31 19:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] x86/intel_rdt: Implement "update" mode when writing  schemata file Thomas Gleixner <tglx@linutronix.de> - 2017-03-31 10:30 +0200
    Re: [PATCH] x86/intel_rdt: Implement "update" mode when writing  schemata file Thomas Gleixner <tglx@linutronix.de> - 2017-03-31 19:50 +0200
    Re: [PATCH] x86/intel_rdt: Implement "update" mode when writing  schemata file Shivappa Vikas <vikas.shivappa@intel.com> - 2017-03-31 19:50 +0200

#1613732 — Re: [PATCH] x86/intel_rdt: Implement "update" mode when writing schemata file

FromThomas Gleixner <tglx@linutronix.de>
Date2017-03-31 10:30 +0200
SubjectRe: [PATCH] x86/intel_rdt: Implement "update" mode when writing schemata file
Message-ID<tr06u-26U-7@gated-at.bofh.it>
On Fri, 24 Mar 2017, Luck, Tony wrote:
> +Reading/writing the schemata file
> +---------------------------------
> +Reading the schemata file will show the state of all resources
> +on all domains. When writing you only need to specify those values
> +which you wish to change.  E.g.
> +
> +# cat schemata
> +L3DATA:0=fffff;1=fffff;2=fffff;3=fffff
> +L3CODE:0=fffff;1=fffff;2=fffff;3=fffff
> +# echo "L3DATA:2=3c0;" > schemata
> +# cat schemata
> +L3DATA:0=fffff;1=fffff;2=3c0;3=fffff
> +L3CODE:0=fffff;1=fffff;2=fffff;3=fffff

It would be nice if the output would cover the mask width, i.e:

L3DATA:0=fffff;1=fffff;2=003c0;3=fffff
L3CODE:0=fffff;1=fffff;2=fffff;3=fffff

because that makes it tabular and simpler to read.

Thanks,

	tglx

[toc] | [next] | [standalone]


#1614193

FromThomas Gleixner <tglx@linutronix.de>
Date2017-03-31 19:50 +0200
Message-ID<tr8Qp-7JU-1@gated-at.bofh.it>
In reply to#1613732
On Fri, 31 Mar 2017, Shivappa Vikas wrote:
> On Fri, 31 Mar 2017, Thomas Gleixner wrote:
> 
> > On Fri, 24 Mar 2017, Luck, Tony wrote:
> > > +Reading/writing the schemata file
> > > +---------------------------------
> > > +Reading the schemata file will show the state of all resources
> > > +on all domains. When writing you only need to specify those values
> > > +which you wish to change.  E.g.
> > > +
> > > +# cat schemata
> > > +L3DATA:0=fffff;1=fffff;2=fffff;3=fffff
> > > +L3CODE:0=fffff;1=fffff;2=fffff;3=fffff
> > > +# echo "L3DATA:2=3c0;" > schemata
> > > +# cat schemata
> > > +L3DATA:0=fffff;1=fffff;2=3c0;3=fffff
> > > +L3CODE:0=fffff;1=fffff;2=fffff;3=fffff
> > 
> > It would be nice if the output would cover the mask width, i.e:
> > 
> > L3DATA:0=fffff;1=fffff;2=003c0;3=fffff
> > L3CODE:0=fffff;1=fffff;2=fffff;3=fffff
> > 
> > because that makes it tabular and simpler to read.
> 
> Will add this.
> 
> A sample with MBA:
> 
>   L3DATA:0=fffff;1=fffff;2=003c0;3=fffff
>   L3CODE:0=fffff;1=fffff;2=fffff;3=fffff
>       MB:0=   10;1=   20;2=  100;3=  100

Well done, the widest group sets the width for all others!

Thanks,

	tglx

[toc] | [prev] | [next] | [standalone]


#1614194

FromShivappa Vikas <vikas.shivappa@intel.com>
Date2017-03-31 19:50 +0200
Message-ID<tr8Qp-7JU-3@gated-at.bofh.it>
In reply to#1613732

On Fri, 31 Mar 2017, Thomas Gleixner wrote:

> On Fri, 24 Mar 2017, Luck, Tony wrote:
>> +Reading/writing the schemata file
>> +---------------------------------
>> +Reading the schemata file will show the state of all resources
>> +on all domains. When writing you only need to specify those values
>> +which you wish to change.  E.g.
>> +
>> +# cat schemata
>> +L3DATA:0=fffff;1=fffff;2=fffff;3=fffff
>> +L3CODE:0=fffff;1=fffff;2=fffff;3=fffff
>> +# echo "L3DATA:2=3c0;" > schemata
>> +# cat schemata
>> +L3DATA:0=fffff;1=fffff;2=3c0;3=fffff
>> +L3CODE:0=fffff;1=fffff;2=fffff;3=fffff
>
> It would be nice if the output would cover the mask width, i.e:
>
> L3DATA:0=fffff;1=fffff;2=003c0;3=fffff
> L3CODE:0=fffff;1=fffff;2=fffff;3=fffff
>
> because that makes it tabular and simpler to read.

Will add this.

A sample with MBA:

   L3DATA:0=fffff;1=fffff;2=003c0;3=fffff
   L3CODE:0=fffff;1=fffff;2=fffff;3=fffff
       MB:0=   10;1=   20;2=  100;3=  100

Thanks,
Vikas

>
> Thanks,
>
> 	tglx
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web