Re: [Xen-devel] [PATCH v5 0/6] enable Memory Bandwidth Monitoring (MBM) for VMs

2015-01-22 Thread Chao Peng
On Thu, Jan 22, 2015 at 07:59:39AM +, Jan Beulich wrote: > >>> On 22.01.15 at 02:12, wrote: > > On Wed, Jan 21, 2015 at 11:28:34AM +, Jan Beulich wrote: > >> >>> On 21.01.15 at 12:19, wrote: > >> > Changes from v4: > >> > * Make the counter read and timestamp read atomic by disable IRQ; >

Re: [Xen-devel] [PATCH v5 0/6] enable Memory Bandwidth Monitoring (MBM) for VMs

2015-01-22 Thread Jan Beulich
>>> On 22.01.15 at 02:12, wrote: > On Wed, Jan 21, 2015 at 11:28:34AM +, Jan Beulich wrote: >> >>> On 21.01.15 at 12:19, wrote: >> > Changes from v4: >> > * Make the counter read and timestamp read atomic by disable IRQ; >> > * Treat MSR_IA32_TSC as a special case and return NOW() for read pa

Re: [Xen-devel] [PATCH v5 0/6] enable Memory Bandwidth Monitoring (MBM) for VMs

2015-01-21 Thread Chao Peng
On Wed, Jan 21, 2015 at 11:28:34AM +, Jan Beulich wrote: > >>> On 21.01.15 at 12:19, wrote: > > Changes from v4: > > * Make the counter read and timestamp read atomic by disable IRQ; > > * Treat MSR_IA32_TSC as a special case and return NOW() for read path; > > * Add MBM description in xl comm

Re: [Xen-devel] [PATCH v5 0/6] enable Memory Bandwidth Monitoring (MBM) for VMs

2015-01-21 Thread Jan Beulich
>>> On 21.01.15 at 12:19, wrote: > Changes from v4: > * Make the counter read and timestamp read atomic by disable IRQ; > * Treat MSR_IA32_TSC as a special case and return NOW() for read path; > * Add MBM description in xl command line. You should really have answered Andrew's question regarding

[Xen-devel] [PATCH v5 0/6] enable Memory Bandwidth Monitoring (MBM) for VMs

2015-01-21 Thread Chao Peng
Changes from v4: * Make the counter read and timestamp read atomic by disable IRQ; * Treat MSR_IA32_TSC as a special case and return NOW() for read path; * Add MBM description in xl command line. Changes from v3: * Get timestamp information from host along with the monitoring counter; This is re