summaryrefslogtreecommitdiffstats
path: root/rteval
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2013-01-15 22:41:48 +0100
committerDavid Sommerseth <davids@redhat.com>2013-01-17 20:40:29 +0100
commit23a6d1c318d25d8c37e1fa1e9b906082e469019d (patch)
treea7b837544abe959b8e1c5cf37611172bbf35e956 /rteval
parente182a06906da968d9677f740f5156588e0da7c5d (diff)
downloadrteval-23a6d1c318d25d8c37e1fa1e9b906082e469019d.tar.gz
rteval-23a6d1c318d25d8c37e1fa1e9b906082e469019d.tar.xz
rteval-23a6d1c318d25d8c37e1fa1e9b906082e469019d.zip
Add a 30 seconds sleep before unleashing the measurement threads
This is to help the system to settle down before kicking off the realtime measurement workload. Otherwise some abnormal latency spikes might be logged, which would be false alarms. Considering that the a measurement run should run for several hours, this time-shifting for 30 seconds shouldn't really change the overall results. Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'rteval')
-rw-r--r--rteval/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rteval/__init__.py b/rteval/__init__.py
index 4d4c4ab..bf3a519 100644
--- a/rteval/__init__.py
+++ b/rteval/__init__.py
@@ -186,6 +186,8 @@ class RtEval(rtevalReport):
# Uleash the loads and measurement threads
report_interval = int(self.__rtevcfg.report_interval)
nthreads = with_loads and self._loadmods.Unleash() or None
+ self.__logger.log(Log.INFO, "Waiting 30 seconds to let load modules settle down")
+ time.sleep(30)
measure_profile.Unleash()
measure_start = datetime.now()