Sadly we lack a proper infrastructure for handing guest memory size
and fitting it into the host.  We don't currently even have in our
database the amount of RAM the host has.

The recommended minimum for Windows is 2Gby.  But we have (in the
Cambridge instance) some hosts which only have 4Gby.  We allow 512 for
dom0.  We need to leave some spare for Xen and other overheads.  So
set this to 1536 (1.5Gby) which should fit even during localhost
migration.

Later we may want to do something more sophisticated, like adjusting
this to 2048 if the host has enough, or only running the test on
bigger hosts, or something.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
CC: Wei Liu <wei.l...@citrix.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
---
v2: 1536 not 1700.
    Mention migration in the commit message.
---
 ts-windows-install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ts-windows-install b/ts-windows-install
index 7740ee6..bdedf2b 100755
--- a/ts-windows-install
+++ b/ts-windows-install
@@ -28,7 +28,7 @@ our $ho= selecthost($whhost);
 
 our $gho;
 
-our $ram_mb=    512;
+our $ram_mb=   1700;
 our $disk_mb= 10000;
 
 our $guesthost= 'win.guest.osstest';
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to