Change default CPU share from 32 to 1
[nodemanager.git] / sm.py
diff --git a/sm.py b/sm.py
index b291506..9f0544c 100644 (file)
--- a/sm.py
+++ b/sm.py
@@ -23,8 +23,8 @@ import string,re
 DEFAULT_ALLOCATION = {
     'enabled': 1,
     # CPU parameters
-    'cpu_min': 0, # ms/s
-    'cpu_share': 32, # proportional share
+    'cpu_min': 0, # percent CPU reserved
+    'cpu_share': 1, # proportional share
     # bandwidth parameters
     'net_min_rate': bwmin / 1000, # kbps
     'net_max_rate': bwmax / 1000, # kbps