aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.py
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-04-23 14:01:35 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2013-04-23 14:01:35 -0400
commit7545402506aa76261e18d85af585ff0ac1cf05c1 (patch)
tree6b5a6d2e819c10311f3b4cdc94174877bdfcfbde /config/config.py
parent25ccdb0cbc6b959b1f96c89b8bce91963cb67b4c (diff)
Improved accuracy of sched_trace measurement parsing.
* Measurements from tasks missing > 20% of their scheduling records are ignored. This is configurable in config/config.py. * Measurements which only have zero values are ignored. * If either of these 2 situations are encountered print out a message the first time using the common.log_once() method. See parse_exps.py for how this is used with multiple threads. * Measurements from a task's last job are ignored. * Miss ratio is calculated only as a fraction of the number of jobs whose matching release and completion records were found, not just release.
Diffstat (limited to 'config/config.py')
-rw-r--r--config/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/config.py b/config/config.py
index b631aa2..5e6f9e3 100644
--- a/config/config.py
+++ b/config/config.py
@@ -56,3 +56,7 @@ OVH_ALL_EVENTS = ["%s_%s" % (e, t) for (e,t) in
56OVH_ALL_EVENTS += ['RELEASE_LATENCY'] 56OVH_ALL_EVENTS += ['RELEASE_LATENCY']
57# This event doesn't have a START and END 57# This event doesn't have a START and END
58OVH_BASE_EVENTS += ['RELEASE_LATENCY'] 58OVH_BASE_EVENTS += ['RELEASE_LATENCY']
59
60# If a task is missing more than this many records, its measurements
61# are not included in sched_trace summaries
62MAX_RECORD_LOSS = .2