Browse code

XenAPI: Increase DomU's memory

Devstack has been increasing in complexity, and if we use too
much of our memory it can lead to fragmentation which in turn
causes a DomU error and a failure of random tests.

Change-Id: Ide9cc84625caed4e35a64a47ee1e92a6cd567651

Bob Ball authored on 2013/12/04 02:35:02
Showing 1 changed files
... ...
@@ -13,7 +13,13 @@ CLEAN_TEMPLATES=${CLEAN_TEMPLATES:-false}
13 13
 
14 14
 # Size of image
15 15
 VDI_MB=${VDI_MB:-5000}
16
-OSDOMU_MEM_MB=3072
16
+
17
+# Devstack now contains many components.  3GB ram is not enough to prevent
18
+# swapping and memory fragmentation - the latter of which can cause failures
19
+# such as blkfront failing to plug a VBD and lead to random test fails.
20
+#
21
+# Set to 4GB so an 8GB XenServer VM can have a 1GB Dom0 and leave 3GB for VMs
22
+OSDOMU_MEM_MB=4096
17 23
 OSDOMU_VDI_GB=8
18 24
 
19 25
 # Network mapping. Specify bridge names or network names. Network names may