From 04c1c098eda95b4f9651f64f77e0949246f650b4 Mon Sep 17 00:00:00 2001
From: cody burkard <cody@onlab.us>
Date: Thu, 4 Sep 2014 10:43:35 -0700
Subject: [PATCH] wall clock time makes rt quota independent of nprocs

---
 mininet/node.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mininet/node.py b/mininet/node.py
index 20b18aae..42aa1d9e 100644
--- a/mininet/node.py
+++ b/mininet/node.py
@@ -661,7 +661,7 @@ def rtInfo( self, f ):
         "Internal method: return parameters for RT bandwidth"
         pstr, qstr = 'rt_period_us', 'rt_runtime_us'
         # 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
 
     def cfsInfo( self, f):
-- 
GitLab