Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-30 Thread Andrew Cooper
On 30/11/15 08:17, Juergen Gross wrote: > On 27/11/15 18:16, Andrew Cooper wrote: >> On 27/11/15 15:53, Juergen Gross wrote: >>> On 27/11/15 16:33, Wei Liu wrote: On Fri, Nov 27, 2015 at 03:50:53PM +0100, Juergen Gross wrote: > For migration the last used pfn of a guest is needed to size

Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-30 Thread Juergen Gross
On 27/11/15 18:16, Andrew Cooper wrote: > On 27/11/15 15:53, Juergen Gross wrote: >> On 27/11/15 16:33, Wei Liu wrote: >>> On Fri, Nov 27, 2015 at 03:50:53PM +0100, Juergen Gross wrote: For migration the last used pfn of a guest is needed to size the logdirty bitmap and as an upper bound

Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-30 Thread Juergen Gross
On 30/11/15 10:47, Andrew Cooper wrote: > On 30/11/15 08:17, Juergen Gross wrote: >> On 27/11/15 18:16, Andrew Cooper wrote: >>> On 27/11/15 15:53, Juergen Gross wrote: On 27/11/15 16:33, Wei Liu wrote: > On Fri, Nov 27, 2015 at 03:50:53PM +0100, Juergen Gross wrote: >> For migration

Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-27 Thread Juergen Gross
On 27/11/15 16:33, Wei Liu wrote: > On Fri, Nov 27, 2015 at 03:50:53PM +0100, Juergen Gross wrote: >> For migration the last used pfn of a guest is needed to size the >> logdirty bitmap and as an upper bound of the page loop. Unfortunately >> there are pv-kernels advertising a much higher maximum

Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-27 Thread Andrew Cooper
On 27/11/15 15:53, Juergen Gross wrote: > On 27/11/15 16:33, Wei Liu wrote: >> On Fri, Nov 27, 2015 at 03:50:53PM +0100, Juergen Gross wrote: >>> For migration the last used pfn of a guest is needed to size the >>> logdirty bitmap and as an upper bound of the page loop. Unfortunately >>> there are

Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-27 Thread Juergen Gross
On 27/11/15 16:22, Ian Jackson wrote: > Juergen Gross writes ("Re: [Xen-devel] [PATCH] libxc: try to find last used > pfn when migrating"): >> xl migrate will use much less resources for a domain with a 3.x kernel >> started with max_mem being much larger than

Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-27 Thread Andrew Cooper
On 27/11/15 14:50, Juergen Gross wrote: > For migration the last used pfn of a guest is needed to size the > logdirty bitmap and as an upper bound of the page loop. Unfortunately > there are pv-kernels advertising a much higher maximum pfn as they > are really using in order to support memory

Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-27 Thread Juergen Gross
On 27/11/15 17:42, Andrew Cooper wrote: > On 27/11/15 14:50, Juergen Gross wrote: >> For migration the last used pfn of a guest is needed to size the >> logdirty bitmap and as an upper bound of the page loop. Unfortunately >> there are pv-kernels advertising a much higher maximum pfn as they >>

Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-27 Thread David Vrabel
On 27/11/15 14:50, Juergen Gross wrote: > For migration the last used pfn of a guest is needed to size the > logdirty bitmap and as an upper bound of the page loop. Unfortunately > there are pv-kernels advertising a much higher maximum pfn as they > are really using in order to support memory

Re: [Xen-devel] [PATCH] libxc: try to find last used pfn when migrating

2015-11-27 Thread Wei Liu
On Fri, Nov 27, 2015 at 03:50:53PM +0100, Juergen Gross wrote: > For migration the last used pfn of a guest is needed to size the > logdirty bitmap and as an upper bound of the page loop. Unfortunately > there are pv-kernels advertising a much higher maximum pfn as they > are really using in order