From b01d76fc57fd695f554e215b4d77db47e7d780b0 Mon Sep 17 00:00:00 2001 From: DanielMartinBuckley Date: Mon, 18 Jun 2018 19:27:41 +0100 Subject: NSB NFVi PROX VPE losing many packets JIRA: YARDSTICK-1105 Running a vPE test ends up with up to 25% drooped packets. This is due to tolerated loss being incorrectly configured, test duration was too short and test interval was too short. Note This is due to the fact that vPE use case have by default a tolerated loss of 100%, Now changed to 0.001, same as L2FWD Also: Grafan dashboard has been updated to show all SUT CPUS Utilization in 1 panel. And LINE rate MIN, MAX & TEST Rate have been added Change-Id: I7adae2199b3f656fe460705b6aeb3aa69c767d50 Signed-off-by: Daniel Martin Buckley (cherry picked from commit 39b3d9ae8ff19a0d64bff0e874f05b6dbcc30b01) --- yardstick/network_services/traffic_profile/prox_binsearch.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'yardstick') diff --git a/yardstick/network_services/traffic_profile/prox_binsearch.py b/yardstick/network_services/traffic_profile/prox_binsearch.py index a5249c70e..23d71936b 100644 --- a/yardstick/network_services/traffic_profile/prox_binsearch.py +++ b/yardstick/network_services/traffic_profile/prox_binsearch.py @@ -119,6 +119,8 @@ class ProxBinSearchProfile(ProxProfile): rate_samples["MIN_Rate"] = self.current_lower rate_samples["Test_Rate"] = test_value self.queue.put(rate_samples, True, overall_constants.QUEUE_PUT_TIMEOUT) + LOG.info("Checking MAX %s MIN %s TEST %s", + self.current_upper, self.lower_bound, test_value) while (pos_retry <= ok_retry) and (neg_retry <= ok_retry): total_retry = total_retry + 1 @@ -186,6 +188,8 @@ class ProxBinSearchProfile(ProxProfile): LOG.info(">>>##>>Collect TG KPIs %s %s", datetime.datetime.now(), samples) self.queue.put(samples, True, overall_constants.QUEUE_PUT_TIMEOUT) + LOG.info(">>>##>> Result Reached PktSize %s Theor_Max_Thruput %s Actual_throughput %s", + pkt_size, theor_max_thruput, actual_max_thruput) result_samples["Result_pktSize"] = pkt_size result_samples["Result_theor_max_throughput"] = theor_max_thruput result_samples["Result_Actual_throughput"] = actual_max_thruput -- cgit 1.2.3-korg