Re: [libvirt] [PATH v9 12/12] Resctrl: Add nodecachestats

2017-03-06 Thread Eli Qiao
Best regards - Eli 天涯无处不重逢 a leaf duckweed belongs to the sea, where not to meet in life 2017-03-03 10:24 GMT+08:00 Marcelo Tosatti : > On Mon, Feb 27, 2017 at 03:22:56PM +0800, Eli Qiao wrote: > > Add new virsh command line

Re: [libvirt] [PATH v9 12/12] Resctrl: Add nodecachestats

2017-03-02 Thread Marcelo Tosatti
On Thu, Mar 02, 2017 at 11:24:00PM -0300, Marcelo Tosatti wrote: > On Mon, Feb 27, 2017 at 03:22:56PM +0800, Eli Qiao wrote: > > Add new virsh command line `nodecachestats` to expose the cache usage > > on a node. > > Testing: > > Setup: one guest with 3072 bytes reserved for it. > > Test-1:

Re: [libvirt] [PATH v9 12/12] Resctrl: Add nodecachestats

2017-03-02 Thread Marcelo Tosatti
On Mon, Feb 27, 2017 at 03:22:56PM +0800, Eli Qiao wrote: > Add new virsh command line `nodecachestats` to expose the cache usage > on a node. Testing: Setup: one guest with 3072 bytes reserved for it. Test-1: start libvirt with free cache. resctrlfs default: L3:0=f;1=f #

Re: [libvirt] [PATH v9 12/12] Resctrl: Add nodecachestats

2017-03-02 Thread Marcelo Tosatti
On Thu, Mar 02, 2017 at 11:24:00PM -0300, Marcelo Tosatti wrote: > On Mon, Feb 27, 2017 at 03:22:56PM +0800, Eli Qiao wrote: > > Add new virsh command line `nodecachestats` to expose the cache usage > > on a node. > > Testing: > > Setup: one guest with 3072 bytes reserved for it. > > Test-1:

[libvirt] [PATH v9 12/12] Resctrl: Add nodecachestats

2017-02-26 Thread Eli Qiao
Add new virsh command line `nodecachestats` to expose the cache usage on a node. Signed-off-by: Eli Qiao --- src/libvirt_private.syms | 3 ++- src/qemu/qemu_driver.c | 12 ++ src/util/virresctrl.c| 62