RAM for test nodes = 1.5 Gb
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 22 May 2014 10:45:42 +0000 (12:45 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 22 May 2014 10:45:42 +0000 (12:45 +0200)
adjust max kvm nodes per box accordingly

system/LocalSubstrate.inria.py
system/template-qemu/qemu-start-node

index 4ed1547..b414dbb 100755 (executable)
@@ -39,22 +39,22 @@ class OnelabSubstrate (Substrate):
 # as of jan 2014 this is renumbered so that 1 is preferred
    def qemu_boxes_spec (self):
       return [ # (hostname, how many qemus max in this box)
-# speedball - old school but robust and a big disk
-         ('kvm64-1', 3), # 4 cores, 4Gb, 840 Gb
+# speedball (1) - old school but robust and a big disk
+         ('speedball', 2), # 4 cores, 4Gb, 840 Gb
 # used to have kruder too, but it is broken/dead
-# dorfmeister
-         ('kvm64-2', 3), # 4 cores, 4Gb
+# dorfmeister (2)
+         ('dorfmeister', 2), # 4 cores, 4Gb
 # enfoui - this HP box behaves weird at boot-time
 # we don't get to see much of the boot process
 # use F10 to enter BIOS setup
 # nodes spawned in this box won't get network connectivity
-#         ('kvm64-3', 4), # 4 cores, 8Gb
-# estran - big mem but small disk
-         ('kvm64-4', 2), # 4 cores, 8Gb
-# lodos - rather old/small
-         ('kvm64-5', 1), # 2 cores, 4Gb
-# cyblok         
-         ('kvm64-6', 1), # 2 cores, 4Gb
+#         ('enfoui', 4), # 4 cores, 8Gb
+# estran (4) - big mem but small disk
+         ('estran', 3), # 4 cores, 8Gb
+# lodos (5) - rather old/small
+         ('lodos', 1), # 2 cores, 4Gb
+# cyblok (6)        
+         ('cyblok', 1), # 2 cores, 4Gb
          ]
 
    # the nodes pool has a MAC address as user-data (3rd elt in tuple)
index 7198b03..accfbd2 100755 (executable)
@@ -14,8 +14,9 @@ COMMAND=$(basename $0)
 cd $(dirname $0)
 
 ########## globals
-# 2 gigabytes ram
-RAM=2048
+# historically we used 1Gb nodes but with fedora20 bootcd with qemu this is not enough
+# OTOH our test infra is old so 2Gb would be a lot
+RAM=$((1024+512))
 DISK_SIZE=100G
 DISK_FORMAT=qcow2
 DISK_IMAGE=hdd-${DISK_FORMAT}-${DISK_SIZE}.img