Fix typo in node.py (#1199)
* Fix typo in node.py * Fix another typo in node.py
This commit is contained in:
+2
-2
@@ -99,7 +99,7 @@ class Node( object ):
|
|||||||
# Stash configuration parameters for future reference
|
# Stash configuration parameters for future reference
|
||||||
self.params = params
|
self.params = params
|
||||||
|
|
||||||
# dict of port numbers to interfacse
|
# dict of port numbers to interfaces
|
||||||
self.intfs = {}
|
self.intfs = {}
|
||||||
|
|
||||||
# dict of interfaces to port numbers
|
# dict of interfaces to port numbers
|
||||||
@@ -689,7 +689,7 @@ class CPULimitedHost( Host ):
|
|||||||
Host.__init__( self, name, **params )
|
Host.__init__( self, name, **params )
|
||||||
# BL: Setting the correct period/quota is tricky, particularly
|
# BL: Setting the correct period/quota is tricky, particularly
|
||||||
# for RT. RT allows very small quotas, but the overhead
|
# for RT. RT allows very small quotas, but the overhead
|
||||||
# seems to be high. CFS has a mininimum quota of 1 ms, but
|
# seems to be high. CFS has a minimum quota of 1 ms, but
|
||||||
# still does better with larger period values.
|
# still does better with larger period values.
|
||||||
self.period_us = params.get( 'period_us', 100000 )
|
self.period_us = params.get( 'period_us', 100000 )
|
||||||
self.sched = sched
|
self.sched = sched
|
||||||
|
|||||||
Reference in New Issue
Block a user