diff options
author | Vratko Polak <vrpolak@cisco.com> | 2023-10-19 10:47:48 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2023-10-19 09:38:33 +0000 |
commit | 7a27faf661cf54a84ef4ee0984e12879a223ce32 (patch) | |
tree | 07b33102eaea074c74a53264934c3fbfdfd4b96d /resources/libraries/python/MLRsearch/search_goal.py | |
parent | 351c5e1e92f31465e1a4523d3fe9b7701457a503 (diff) |
feat(MLRseach): Update to v8 conditional throughput
Hopefully, with CSIT config values, PDR lower than NDR will not happen.
+ Bump duration_sum default to an odd number,
so users are not surprised by not seeing standard median behavior.
For CSIT this should not matter, overheads hide ties
and number of trials (at least for STL) should stay the same.
Change-Id: Id7130f978c31e71227499612424007c473bcfac2
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/MLRsearch/search_goal.py')
-rw-r--r-- | resources/libraries/python/MLRsearch/search_goal.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/libraries/python/MLRsearch/search_goal.py b/resources/libraries/python/MLRsearch/search_goal.py index 7d7fd69841..777ad5b991 100644 --- a/resources/libraries/python/MLRsearch/search_goal.py +++ b/resources/libraries/python/MLRsearch/search_goal.py @@ -18,7 +18,9 @@ from dataclasses import dataclass @dataclass(frozen=True, eq=True) class SearchGoal: - """This is the part of controller inputs that can be repeated + """Storage class for search goal attributes. + + This is the part of controller inputs that can be repeated with different values. MLRsearch saves time by searching for conditional throughput for each goal at the same time, compared to repeated calls with separate goals. @@ -44,7 +46,7 @@ class SearchGoal: """Shortest trial duration employed when searching for this goal.""" final_trial_duration: float = 1.0 """Longest trial duration employed when searching for this goal.""" - duration_sum: float = 20.0 + duration_sum: float = 21.0 """Minimal sum of durations of relevant trials sufficient to declare a load to be upper or lower bound for this goal.""" preceding_targets: int = 2 |