git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55f2ec0
)
s/cpu_min/cpu_pct/g
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Tue, 22 Jan 2008 20:46:00 +0000
(20:46 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Tue, 22 Jan 2008 20:46:00 +0000
(20:46 +0000)
sm.py
patch
|
blob
|
history
diff --git
a/sm.py
b/sm.py
index
efba0eb
..
abbcaec
100644
(file)
--- a/
sm.py
+++ b/
sm.py
@@
-23,7
+23,7
@@
import string,re
DEFAULT_ALLOCATION = {
'enabled': 1,
# CPU parameters
- 'cpu_
min
': 0, # percent CPU reserved
+ 'cpu_
pct
': 0, # percent CPU reserved
'cpu_share': 1, # proportional share
# bandwidth parameters
'net_min_rate': bwmin / 1000, # kbps