Skip to contentSkip to conversation

rteval: Change the default interval for timerlat to 1100us

PATCH New John Kacur 1 participant 2 messages Feb 7, 2025

lore
Share & tools
lore

John Kacur

author
#0 lore raw

PATCH 1/2 rteval: Change the default interval for timerlat to 1100us

Change the default interval for timerlat in rteval to 1100us to make it less likely to encounter a hang in rtla timerlat hist, until we have a better solution.

---
 rteval/modules/measurement/timerlat.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rteval/modules/measurement/timerlat.py +1 -1
index 5bfc495217ea..fe29f34bccbd 100644
@@ -509,7 +509,7 @@ class Timerlat(rtevalModulePrototype):
 def ModuleParameters():
     """ default parameters """
     return {"interval": {"descr": "Base interval or period of threads in microseconds",
-                         "default": 100,
+                         "default": 1100,
                          "metavar": "INTV_US"},
             "priority": {"descr": "Run rtla timerlat with this priority",
                          "default": 95,
Signature · 1 line
2.48.1
author
#1 lore raw

PATCH 2/2 rteval: Change default measurement module to cyclictest

Change the default measurement module in rteval to cyclictest until we can fix a hang in rtla timerlat hist

---
 rteval-cmd  | 2 +-
 rteval.conf | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
rteval-cmd +1 -1
index 9875903c0107..4e13d312a24a 100755
@@ -250,7 +250,7 @@ if __name__ == '__main__':
 
         if not config.HasSection('measurement'):
             config.AppendConfig('measurement', {
-                'timerlat' : 'module',
+                'cyclictest' : 'module',
                 'sysstat' : 'module'})
 
         # Prepare log levels before loading modules, not to have unwanted log messages
rteval.conf +2 -2
index 46a9b1743716..601410b51c28 100644
@@ -6,8 +6,8 @@ duration:  60.0
 report_interval: 600
 
 [measurement]
-# cyclictest: module
-timerlat: module
+cyclictest: module
+# timerlat: module
 
 [loads]
 kcompile:  module
Signature · 1 line
2.48.1