tweaked max qemu instances against physical resources
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 22 Sep 2011 12:35:08 +0000 (14:35 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 22 Sep 2011 12:35:08 +0000 (14:35 +0200)
system/LocalSubstrate.inria.py

index b5ca69b..5c6d04f 100755 (executable)
@@ -34,13 +34,13 @@ class OnelabSubstrate (Substrate):
                 for i in range(1,21) ] 
 
    def qemu_boxes_spec (self):
-      return [
-         ('kvm64-1', 3), # how many plcs max in this box
-         ('kvm64-2', 3),
-         ('kvm64-3', 2),
-         ('kvm64-4', 3),
-         ('kvm64-5', 3),
-         ('kvm64-6', 3),
+      return [ # how many plcs max in this box
+         ('kvm64-1', 3), # 4 cores, 4Gb
+         ('kvm64-2', 3), # 4 cores, 4Gb
+         ('kvm64-3', 2), # 2 cores, 4Gb
+         ('kvm64-4', 3), # 4 cores, 8Gb
+         ('kvm64-5', 2), # 2 cores, 4Gb
+         ('kvm64-6', 2), # 2 cores, 4Gb
          ]
 
    # the nodes pool has a MAC address as user-data (3rd elt in tuple)