Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-21 Thread Eli Qiao
-- Best regards Eli 天涯无处不重逢 a leaf duckweed belongs to the sea, where not to meet in life Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, 22 February 2017 at 7:36 AM, Marcelo Tosatti wrote: > On Tue, Feb 21, 2017 at 10:25:13AM +0800, Eli Qiao wrote: > > > > >

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-21 Thread Marcelo Tosatti
On Tue, Feb 21, 2017 at 10:25:13AM +0800, Eli Qiao wrote: > > > -- > Best regards > Eli > > 天涯无处不重逢 > a leaf duckweed belongs to the sea, where not to meet in life > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > > > On Tuesday, 21 February 2017 at 4:54 AM, Marcelo Tosatti

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-20 Thread Eli Qiao
-- Best regards Eli 天涯无处不重逢 a leaf duckweed belongs to the sea, where not to meet in life Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, 21 February 2017 at 4:54 AM, Marcelo Tosatti wrote: > Can you explain how the resource leak can happen? > 1. libvirtd creates

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-20 Thread Marcelo Tosatti
On Mon, Feb 20, 2017 at 04:32:19PM +0800, Eli Qiao wrote: > > > -- > Best regards > Eli > > 天涯无处不重逢 > a leaf duckweed belongs to the sea, where not to meet in life > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > > > On Sunday, 19 February 2017 at 10:51 PM, Marcelo Tosatti

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-20 Thread Eli Qiao
-- Best regards Eli 天涯无处不重逢 a leaf duckweed belongs to the sea, where not to meet in life Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, 20 February 2017 at 5:07 PM, Martin Kletzander wrote: > On Mon, Feb 20, 2017 at 04:32:19PM +0800, Eli Qiao wrote: > > > > > >

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-20 Thread Martin Kletzander
On Mon, Feb 20, 2017 at 04:32:19PM +0800, Eli Qiao wrote: -- Best regards Eli 天涯无处不重逢 a leaf duckweed belongs to the sea, where not to meet in life Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Sunday, 19 February 2017 at 10:51 PM, Marcelo Tosatti wrote: Hi Eli Qiao,

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-20 Thread Eli Qiao
-- Best regards Eli 天涯无处不重逢 a leaf duckweed belongs to the sea, where not to meet in life Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, 20 February 2017 at 3:59 PM, Martin Kletzander wrote: > On Sun, Feb 19, 2017 at 12:20:55PM -0300, Marcelo Tosatti wrote: > > On

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-20 Thread Eli Qiao
-- Best regards Eli 天涯无处不重逢 a leaf duckweed belongs to the sea, where not to meet in life Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Sunday, 19 February 2017 at 10:51 PM, Marcelo Tosatti wrote: > > Hi Eli Qiao, > > Question about removing resctrlfs directories with

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-20 Thread Martin Kletzander
On Sun, Feb 19, 2017 at 12:20:55PM -0300, Marcelo Tosatti wrote: On Sun, Feb 19, 2017 at 12:01:57PM -0300, Marcelo Tosatti wrote: How does the management software query the amount of allocatable cache again? Section from another discussion: > The second case is necessary to get updated free

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-19 Thread Marcelo Tosatti
On Sun, Feb 19, 2017 at 12:01:57PM -0300, Marcelo Tosatti wrote: > > How does the management software query the amount of allocatable cache > again? > > Section from another discussion: > > > The second case is necessary to get updated free space information. > > > > Just VM initialization

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-19 Thread Marcelo Tosatti
How does the management software query the amount of allocatable cache again? Section from another discussion: > The second case is necessary to get updated free space information. > Just VM initialization time could be enough as virConnectGetCapabilities would just know the total and free

Re: [libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-19 Thread Marcelo Tosatti
Hi Eli Qiao, Question about removing resctrlfs directories with empty "tasks" file. /* This domain is not created by libvirt, so we don't care * about the tasks, add a fake one to prevent * virResCtrlRefresh * remove it from sysfs */

[libvirt] [v7 00/10] Support cache tune in libvirt

2017-02-16 Thread Eli Qiao
Addressed comment from v7 -> v6 Marcelo: * Fix flock usage while VM initialization. Addressed comment from v6 -> v5 Marcelo: * Support other APPs to operate /sys/fs/resctrl at same time Libvirt will scan /sys/fs/resctrl again before doing cache allocation. patch