Re: [libvirt] [PATCH resend V10 03/12] Resctrl: Add new xml element to support cache tune

2017-03-17 Thread Martin Kletzander
On Wed, Mar 15, 2017 at 05:48:09PM -0300, Marcelo Tosatti wrote: On Wed, Mar 15, 2017 at 08:49:57PM +0100, Martin Kletzander wrote: On Wed, Mar 15, 2017 at 02:11:23PM -0300, Marcelo Tosatti wrote: >On Wed, Mar 15, 2017 at 03:59:31PM +0100, Martin Kletzander wrote: >>On Wed, Mar 15, 2017 at

Re: [libvirt] [PATCH resend V10 03/12] Resctrl: Add new xml element to support cache tune

2017-03-17 Thread Marcelo Tosatti
On Wed, Mar 15, 2017 at 08:49:57PM +0100, Martin Kletzander wrote: > On Wed, Mar 15, 2017 at 02:11:23PM -0300, Marcelo Tosatti wrote: > >On Wed, Mar 15, 2017 at 03:59:31PM +0100, Martin Kletzander wrote: > >>On Wed, Mar 15, 2017 at 02:23:26PM +, Daniel P. Berrange wrote: > >>>On Wed, Mar 15,

Re: [libvirt] [PATCH resend V10 03/12] Resctrl: Add new xml element to support cache tune

2017-03-15 Thread Martin Kletzander
On Wed, Mar 15, 2017 at 02:11:23PM -0300, Marcelo Tosatti wrote: On Wed, Mar 15, 2017 at 03:59:31PM +0100, Martin Kletzander wrote: On Wed, Mar 15, 2017 at 02:23:26PM +, Daniel P. Berrange wrote: >On Wed, Mar 15, 2017 at 03:11:26PM +0100, Martin Kletzander wrote: >>On Mon, Mar 06, 2017 at

Re: [libvirt] [PATCH resend V10 03/12] Resctrl: Add new xml element to support cache tune

2017-03-15 Thread Marcelo Tosatti
On Wed, Mar 15, 2017 at 03:59:31PM +0100, Martin Kletzander wrote: > On Wed, Mar 15, 2017 at 02:23:26PM +, Daniel P. Berrange wrote: > >On Wed, Mar 15, 2017 at 03:11:26PM +0100, Martin Kletzander wrote: > >>On Mon, Mar 06, 2017 at 06:06:32PM +0800, Eli Qiao wrote: > >>> This patch adds new xml

Re: [libvirt] [PATCH resend V10 03/12] Resctrl: Add new xml element to support cache tune

2017-03-15 Thread Martin Kletzander
On Wed, Mar 15, 2017 at 02:23:26PM +, Daniel P. Berrange wrote: On Wed, Mar 15, 2017 at 03:11:26PM +0100, Martin Kletzander wrote: On Mon, Mar 06, 2017 at 06:06:32PM +0800, Eli Qiao wrote: > This patch adds new xml element to support cache tune as: > > > ... > I tend to view use of

Re: [libvirt] [PATCH resend V10 03/12] Resctrl: Add new xml element to support cache tune

2017-03-15 Thread Daniel P. Berrange
On Wed, Mar 15, 2017 at 03:11:26PM +0100, Martin Kletzander wrote: > On Mon, Mar 06, 2017 at 06:06:32PM +0800, Eli Qiao wrote: > > This patch adds new xml element to support cache tune as: > > > > > > ... > > > Again, this was already discussed, probably, I just can't find the > source of

Re: [libvirt] [PATCH resend V10 03/12] Resctrl: Add new xml element to support cache tune

2017-03-15 Thread Martin Kletzander
On Mon, Mar 06, 2017 at 06:06:32PM +0800, Eli Qiao wrote: This patch adds new xml element to support cache tune as: ... Again, this was already discussed, probably, I just can't find the source of it. But host_id actually already selects what cache is supposed to be used, so instead of

[libvirt] [PATCH resend V10 03/12] Resctrl: Add new xml element to support cache tune

2017-03-06 Thread Eli Qiao
This patch adds new xml element to support cache tune as: ... ... id: any non-minus number host_id: reference of the host's cache banks id, it's from capabilities type: cache bank type size: should be multiples of the min_size of the bank on host. vcpus: cache allocation on vcpu set, if