git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Uses rspec to calculate bwlimits. Respects sirius loans. Also uses min defaults...
[nodemanager.git]
/
sm.py
diff --git
a/sm.py
b/sm.py
index
67730a4
..
cb90364
100644
(file)
--- a/
sm.py
+++ b/
sm.py
@@
-30,6
+30,10
@@
DEFAULT_ALLOCATION = {
'net_i2_min_rate': bwmin / 1000, # kbps
'net_i2_max_rate': bwmax / 1000, # kbps
'net_i2_share': 1, # proportional share
'net_i2_min_rate': bwmin / 1000, # kbps
'net_i2_max_rate': bwmax / 1000, # kbps
'net_i2_share': 1, # proportional share
+ 'net_max_kbyte' : 5662310, #Kbyte
+ 'net_thresh_kbyte': 4529848, #Kbyte
+ 'net_i2_max_kbyte': 17196646,
+ 'net_i2_thresh_kbyte': 13757316,
'disk_max': 5000000 # bytes
}
'disk_max': 5000000 # bytes
}