Re: [Xen-devel] inaccurate dirty_count from XEN_DOMCTL_SHADOW_OP

2017-03-30 Thread Olaf Hering
Am Thu, 30 Mar 2017 12:40:34 +0100 schrieb Andrew Cooper : > On 22/03/17 10:59, Olaf Hering wrote: > > On Wed, Mar 22, Olaf Hering wrote: > > > >> Did the xc_shadow_control API change at some point? > > ... staging-4.5 works, while staging-4.6 does not. > > Can

Re: [Xen-devel] inaccurate dirty_count from XEN_DOMCTL_SHADOW_OP

2017-03-30 Thread Andrew Cooper
On 22/03/17 10:59, Olaf Hering wrote: > On Wed, Mar 22, Olaf Hering wrote: > >> Did the xc_shadow_control API change at some point? > ... staging-4.5 works, while staging-4.6 does not. Can you describe in a little more detail what you are testing? I have tried reproducing your scenario, and I

Re: [Xen-devel] inaccurate dirty_count from XEN_DOMCTL_SHADOW_OP

2017-03-22 Thread Olaf Hering
On Wed, Mar 22, Olaf Hering wrote: > Did the xc_shadow_control API change at some point? ... staging-4.5 works, while staging-4.6 does not. Olaf signature.asc Description: PGP signature ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] inaccurate dirty_count from XEN_DOMCTL_SHADOW_OP

2017-03-22 Thread Andrew Cooper
On 22/03/17 10:46, Olaf Hering wrote: > On Tue, Mar 21, Olaf Hering wrote: > >> I wonder if the usage of xc_shadow_control is correct. The testing was >> done with a xen-4.4 based dom0, I will verify with staging once I find >> the time. > It does work with xen-4.4, but fails with staging. > Did

Re: [Xen-devel] inaccurate dirty_count from XEN_DOMCTL_SHADOW_OP

2017-03-22 Thread Olaf Hering
On Tue, Mar 21, Olaf Hering wrote: > I wonder if the usage of xc_shadow_control is correct. The testing was > done with a xen-4.4 based dom0, I will verify with staging once I find > the time. It does work with xen-4.4, but fails with staging. Did the xc_shadow_control API change at some point?

[Xen-devel] inaccurate dirty_count from XEN_DOMCTL_SHADOW_OP

2017-03-21 Thread Olaf Hering
To measure how many dirty pages a domU creates within a timeframe the attached tool was created, based on code from xc_domain_save. Once the domU touches many pages the reported dirty rate is high, but after a few seconds the rate drops down from thousands to just a few dozen. I wonder if the