Re: [Xen-devel] [PATCH v5 12/13] tools: add tools support for Intel CAT

2015-04-22 Thread Chao Peng
On Tue, Apr 21, 2015 at 05:15:15PM +0200, Dario Faggioli wrote: > On Tue, 2015-04-21 at 17:49 +0800, Chao Peng wrote: > > On Tue, Apr 21, 2015 at 03:24:37AM +0200, Dario Faggioli wrote: > > > On Fri, 2015-04-17 at 22:33 +0800, Chao Peng wrote: > > > > This is the xc/xl changes to support Intel Cach

Re: [Xen-devel] [PATCH v5 12/13] tools: add tools support for Intel CAT

2015-04-22 Thread Chao Peng
On Tue, Apr 21, 2015 at 04:39:05PM +0200, Dario Faggioli wrote: > On Tue, 2015-04-21 at 15:01 +0100, Ian Campbell wrote: > > On Tue, 2015-04-21 at 17:49 +0800, Chao Peng wrote: > > > > I do like this suggestion and I have ever considered it actually. The > > > only thing prevents me is that we nee

Re: [Xen-devel] [PATCH v5 12/13] tools: add tools support for Intel CAT

2015-04-21 Thread Dario Faggioli
On Tue, 2015-04-21 at 17:49 +0800, Chao Peng wrote: > On Tue, Apr 21, 2015 at 03:24:37AM +0200, Dario Faggioli wrote: > > On Fri, 2015-04-17 at 22:33 +0800, Chao Peng wrote: > > > This is the xc/xl changes to support Intel Cache Allocation > > > Technology(CAT). Two commands are introduced: > > > -

Re: [Xen-devel] [PATCH v5 12/13] tools: add tools support for Intel CAT

2015-04-21 Thread Dario Faggioli
On Tue, 2015-04-21 at 15:01 +0100, Ian Campbell wrote: > On Tue, 2015-04-21 at 17:49 +0800, Chao Peng wrote: > > I do like this suggestion and I have ever considered it actually. The > > only thing prevents me is that we need an extra _get_socket_count in xl > > for TARGET_ALL case. So libxl__coun

Re: [Xen-devel] [PATCH v5 12/13] tools: add tools support for Intel CAT

2015-04-21 Thread Ian Campbell
On Tue, 2015-04-21 at 17:49 +0800, Chao Peng wrote: > On Tue, Apr 21, 2015 at 03:24:37AM +0200, Dario Faggioli wrote: > > On Fri, 2015-04-17 at 22:33 +0800, Chao Peng wrote: > > > This is the xc/xl changes to support Intel Cache Allocation > > > Technology(CAT). Two commands are introduced: > > > -

Re: [Xen-devel] [PATCH v5 12/13] tools: add tools support for Intel CAT

2015-04-21 Thread Chao Peng
On Tue, Apr 21, 2015 at 03:24:37AM +0200, Dario Faggioli wrote: > On Fri, 2015-04-17 at 22:33 +0800, Chao Peng wrote: > > This is the xc/xl changes to support Intel Cache Allocation > > Technology(CAT). Two commands are introduced: > > - xl psr-cat-hwinfo > > Show CAT hardware information. > > >

Re: [Xen-devel] [PATCH v5 12/13] tools: add tools support for Intel CAT

2015-04-20 Thread Dario Faggioli
On Fri, 2015-04-17 at 22:33 +0800, Chao Peng wrote: > This is the xc/xl changes to support Intel Cache Allocation > Technology(CAT). Two commands are introduced: > - xl psr-cat-hwinfo > Show CAT hardware information. > Examples: > [root@vmm-psr vmm]# xl psr-cat-hwinfo > Cache Allocation Technolo

[Xen-devel] [PATCH v5 12/13] tools: add tools support for Intel CAT

2015-04-17 Thread Chao Peng
This is the xc/xl changes to support Intel Cache Allocation Technology(CAT). Two commands are introduced: - xl psr-cat-hwinfo Show CAT hardware information. - xl psr-cat-cbm-set [-s socket] Set cache capacity bitmasks(CBM) for a domain. - xl psr-cat-show Show CAT domain information. Examp