Re: [Xen-devel] [PATCH v2] libxl: Wait for ballooning if free memory is increasing

2015-01-30 Thread Mike Latimer
On Friday, January 30, 2015 01:04:00 PM Mike Latimer wrote: > +if (free_memkb > free_memkb_prev) { > +retries = MAX_RETRIES; > +free_memkb_prev = free_memkb; > +} else { > +retires--; > +} Please ignore. Typo 'retires' in the above... I'

[Xen-devel] [PATCH v2] libxl: Wait for ballooning if free memory is increasing

2015-01-30 Thread Mike Latimer
During domain startup, all required memory ballooning must complete within a maximum window of 33 seconds (3 retries, 11 seconds of delay). If not, domain creation is aborted with a 'failed to free memory' error. In order to accommodate large domains or slower hardware (which require substantially