X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fperformance%2Fperformance_utils.robot;h=a4fd2fa161a5a660415fb0e2f90b2f87d54dd48e;hb=6ac704e7388409c6aa719e50f83d0e08ebd671a0;hp=1ed7a148e59abed3b6b6731a0a37b47633578d8a;hpb=f7699715f37ee6846bceb1fa7baf51366a683737;p=csit.git diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot index 1ed7a148e5..a4fd2fa161 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -34,7 +34,9 @@ | | ... | Fail if a resulting lower bound has too high loss fraction. | | ... | Input rates are understood as uni-directional, | | ... | reported result contains aggregate rates. -| | ... | Currently, the min_rate value is hardcoded to match test teardowns. +| | ... | Currently, the min_rate value is hardcoded to 90kpps, +| | ... | allowing measurement at 10% of the discovered rate +| | ... | without breaking latency streams. | | | | ... | *Test (or broader scope) variables read:* | | ... | - traffic_profile - Name of module defining traffc for measurements. @@ -69,7 +71,7 @@ | | ... | ${latency_duration}=${PERF_TRIAL_LATENCY_DURATION} | | | | ${result} = | Perform optimized ndrpdr search | ${frame_size} -| | ... | ${traffic_profile} | ${10000} | ${max_rate} +| | ... | ${traffic_profile} | ${90000} | ${max_rate} | | ... | ${packet_loss_ratio} | ${final_relative_width} | | ... | ${final_trial_duration} | ${initial_trial_duration} | | ... | ${number_of_intermediate_phases} | timeout=${timeout} @@ -166,6 +168,8 @@ | | ... | ${final_trial_duration} | ${initial_trial_duration} | | ... | ${number_of_intermediate_phases} | timeout=${timeout} | | ... | doublings=${doublings} | traffic_directions=${traffic_directions} +| | Check NDRPDR interval validity | ${result.pdr_interval} +| | ... | ${packet_loss_ratio} | | Return From Keyword | ${result.pdr_interval.measured_low.transmit_rate} | Find critical load using PLRsearch