wall clock time makes rt quota independent of nprocs
This commit is contained in:
+1
-1
@@ -661,7 +661,7 @@ class CPULimitedHost( Host ):
|
|||||||
"Internal method: return parameters for RT bandwidth"
|
"Internal method: return parameters for RT bandwidth"
|
||||||
pstr, qstr = 'rt_period_us', 'rt_runtime_us'
|
pstr, qstr = 'rt_period_us', 'rt_runtime_us'
|
||||||
# RT uses wall clock time for period and quota
|
# RT uses wall clock time for period and quota
|
||||||
quota = int( self.period_us * f * numCores() )
|
quota = int( self.period_us * f )
|
||||||
return pstr, qstr, self.period_us, quota
|
return pstr, qstr, self.period_us, quota
|
||||||
|
|
||||||
def cfsInfo( self, f):
|
def cfsInfo( self, f):
|
||||||
|
|||||||
Reference in New Issue
Block a user