All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: wei.liu2@citrix.com, keir@xen.org,
	stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com,
	Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org,
	will.auld@intel.com, JBeulich@suse.com,
	Chao Peng <chao.p.peng@linux.intel.com>,
	dgdegra@tycho.nsa.gov
Subject: Re: [PATCH v6 13/14] tools: add tools support for Intel CAT
Date: Tue, 5 May 2015 23:33:42 +0200	[thread overview]
Message-ID: <1430861622.5415.60.camel@citrix.com> (raw)
In-Reply-To: <1430830376.2660.79.camel@citrix.com>


[-- Attachment #1.1: Type: text/plain, Size: 2255 bytes --]

On Tue, 2015-05-05 at 13:52 +0100, Ian Campbell wrote:
> On Thu, 2015-04-23 at 17:55 +0800, Chao Peng wrote:

> > @@ -1495,10 +1495,20 @@ for any of these monitoring types.
> >  
> >  =over 4
> >  
> > -=item B<psr-hwinfo>
> > +=item B<psr-hwinfo> [I<OPTIONS>]
> >  
> >  Show CMT hardware information.
> >  
> > +B<OPTIONS>
> > +
> > +=over 4
> > +
> > +=item B<-m>, B<--cmt>
> > +
> > +Show Cache Monitoring Technology (CMT) hardware information.
> 
> Duplicating the psr-hwinfo case for CMT and CAT is confusing.
> 
> I suggest to add =head1 <WHATEVER PSR STANDS FOR> and to push the
> existing "=head1 CACHE MONITORING TECHNOLOGY" to a =head2, and the same
> for the new CACHE ALLOCATION TECHNOLOGY section.
> 
> i.e. have an overall PSR section and then subsections for CMT and CAT.
> 
> psr-hwinfo would then be described at the top level and the CMD/CAT
> specifics in the relevant section.
> 
> Does that sound ok?
> 
+1

> > +=head1 CACHE ALLOCATION TECHNOLOGY
> > +
> > +Intel Broadwell and later server platforms offer capabilities to configure and
> > +make use of the Cache Allocation Technology (CAT) mechanisms, which enable more
> > +cache resources (i.e. L3 cache) to be made available for high priority
> > +applications. In Xen implementation, CAT is used to control cache allocation
>                    ^the
> 
> > diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c
> > index b81b3ff..eede5f1 100644
> > --- a/tools/libxl/xl_cmdtable.c
> > +++ b/tools/libxl/xl_cmdtable.c
> > @@ -527,7 +527,9 @@ struct cmd_spec cmd_table[] = {
> >      { "psr-hwinfo",
> >        &main_psr_hwinfo, 0, 1,
> >        "Show hardware information for Platform Shared Resource",
> > -      "",
> > +      "[options]",
> > +      "-m <cmt>       Show Cache Monitoring Technology (CMT) hardware info\n"
> > +      "-a <cat>       Show Cache Allocation Technology (CAT) hardware info\n"
> 
> <cmt> and <cat> seem out of place here, since -m and -a do not take
> options AFAICT.
> 
Chao, maybe you meant something like this?

 "-m, --cmt      Show Cache Monitoring Technology (CMT) hardware info\n"
 "-a, --cat      Show Cache Allocation Technology (CAT) hardware info\n"

Dario

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2015-05-05 21:33 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-23  9:55 [PATCH v6 00/14] enable Cache Allocation Technology (CAT) for VMs Chao Peng
2015-04-23  9:55 ` [PATCH v6 01/14] x86: add socket_to_cpumask Chao Peng
2015-04-24 14:46   ` Jan Beulich
2015-05-05  7:44     ` Chao Peng
2015-05-05  9:11       ` Jan Beulich
2015-05-05 10:25         ` Chao Peng
2015-05-05 10:43           ` Jan Beulich
2015-05-06  7:05             ` Chao Peng
2015-05-06  7:16               ` Jan Beulich
2015-05-06  8:06                 ` Chao Peng
2015-04-23  9:55 ` [PATCH v6 02/14] x86: improve psr scheduling code Chao Peng
2015-04-23  9:55 ` [PATCH v6 03/14] x86: detect and initialize Intel CAT feature Chao Peng
2015-04-24 14:59   ` Jan Beulich
2015-05-07  9:08     ` Chao Peng
2015-05-07 11:32       ` Jan Beulich
2015-04-23  9:55 ` [PATCH v6 04/14] x86: maintain COS to CBM mapping for each socket Chao Peng
2015-04-23  9:55 ` [PATCH v6 05/14] x86: add COS information for each domain Chao Peng
2015-04-23  9:55 ` [PATCH v6 06/14] x86: expose CBM length and COS number information Chao Peng
2015-04-24 15:17   ` Jan Beulich
2015-04-23  9:55 ` [PATCH v6 07/14] x86: dynamically get/set CBM for a domain Chao Peng
2015-04-24 15:26   ` Jan Beulich
2015-04-24 15:27   ` Jan Beulich
2015-04-23  9:55 ` [PATCH v6 08/14] x86: add scheduling support for Intel CAT Chao Peng
2015-04-24 15:28   ` Jan Beulich
2015-04-23  9:55 ` [PATCH v6 09/14] xsm: add CAT related xsm policies Chao Peng
2015-04-23  9:55 ` [PATCH v6 10/14] tools/libxl: minor name changes for CMT commands Chao Peng
2015-04-23  9:55 ` [PATCH v6 11/14] tools/libxl: add command to show PSR hardware info Chao Peng
2015-04-23  9:55 ` [PATCH v6 12/14] tools/libxl: introduce some socket helpers Chao Peng
2015-05-05 12:43   ` Ian Campbell
2015-05-05 12:45     ` Ian Campbell
2015-05-06  7:06       ` Chao Peng
2015-04-23  9:55 ` [PATCH v6 13/14] tools: add tools support for Intel CAT Chao Peng
2015-05-05 12:52   ` Ian Campbell
2015-05-05 21:33     ` Dario Faggioli [this message]
2015-05-06  7:09       ` Chao Peng
2015-05-06  7:07     ` Chao Peng
2015-05-05 21:41   ` Dario Faggioli
2015-04-23  9:55 ` [PATCH v6 14/14] docs: add xl-psr.markdown Chao Peng
2015-05-05 12:54   ` Ian Campbell
2015-05-06  7:12     ` Chao Peng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1430861622.5415.60.camel@citrix.com \
    --to=dario.faggioli@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=chao.p.peng@linux.intel.com \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=ian.campbell@citrix.com \
    --cc=keir@xen.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=will.auld@intel.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.