[PATCH 2/2] rteval: Set higher cyclictest bucket count on non-RT kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make the default for --cyclictest-buckets 50000 instead of 3500 on
non-RT kernels to make overflowing much less likely.

Signed-off-by: Tomas Glozar <tglozar@xxxxxxxxxx>
---
 rteval/modules/measurement/cyclictest.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rteval/modules/measurement/cyclictest.py b/rteval/modules/measurement/cyclictest.py
index 50b2e2a..addd8da 100644
--- a/rteval/modules/measurement/cyclictest.py
+++ b/rteval/modules/measurement/cyclictest.py
@@ -434,7 +434,8 @@ def ModuleParameters():
                          "default": 100,
                          "metavar": "INTV_US"},
             "buckets":  {"descr": "Histogram width",
-                         "default": 3500,
+                         "default": 3500 if "RT " in os.uname().version else 50000,
+                         "default_text": "3500 when running on a RT kernel, 50000 otherwise",
                          "metavar": "NUM"},
             "priority": {"descr": "Run cyclictest with the given priority",
                          "default": 95,
-- 
2.41.0




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux