[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] ts-debian-hvm-install: fix local migration test
On Thu, 2014-04-17 at 15:19 +0100, Wei Liu wrote: > Make sure there's enough free RAM for local migration test. > > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> > --- > ts-debian-hvm-install | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install > index 1bca1f7..86fd7be 100755 > --- a/ts-debian-hvm-install > +++ b/ts-debian-hvm-install > @@ -167,12 +167,12 @@ sub prep () { > }); > } > > -# If host has >5G free memory, create a guest with 5G memory to catch > +# If host has >9G free memory, create a guest with 4.5G memory to catch Due to memory holes under 4G I reckon a 4.0G would be sufficient to catch the thing you are trying to catch. Ian. > # any error that triggers cross 4G boundary > my $host_freemem_mb = host_get_free_memory($ho, $toolstack); > my $ram_minslop = 100; > -my $ram_lots = 5000; > -if ($host_freemem_mb > $ram_lots + $ram_minslop) { > +my $ram_lots = 4500; > +if ($host_freemem_mb > $ram_lots * 2 + $ram_minslop) { > $ram_mb = $ram_lots; > } else { > $ram_mb = 768; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |