From: Yaroslav Brustinov Date: Sat, 31 Dec 2016 10:27:58 +0000 (+0200) Subject: regression: avoid queue full at trex11 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=1eee1f314620f348a906f4813ab880a48823f685;p=trex.git regression: avoid queue full at trex11 Change-Id: If6ff7e2675657bc53ef49237db3604b088a48ffc Signed-off-by: Yaroslav Brustinov --- diff --git a/scripts/automation/regression/setups/trex11/benchmark.yaml b/scripts/automation/regression/setups/trex11/benchmark.yaml index 6c52819c..6203d851 100644 --- a/scripts/automation/regression/setups/trex11/benchmark.yaml +++ b/scripts/automation/regression/setups/trex11/benchmark.yaml @@ -187,7 +187,7 @@ test_all_profiles : test_performance_vm_single_cpu: cfg: - mult : "40%" + mult : "5%" mpps_per_core_golden : min: 1 max: 99 @@ -195,7 +195,7 @@ test_performance_vm_single_cpu: test_performance_vm_single_cpu_cached: cfg: - mult : "40%" + mult : "5%" mpps_per_core_golden : min: 1 max: 99 @@ -204,15 +204,15 @@ test_performance_vm_single_cpu_cached: test_performance_syn_attack_single_cpu: cfg: - mult : "40%" + mult : "5%" mpps_per_core_golden : min: 1 max: 99 test_performance_vm_multi_cpus: cfg: - core_count : 7 - mult : "40%" + core_count : 1 + mult : "5%" mpps_per_core_golden : min: 1 max: 99 @@ -220,16 +220,17 @@ test_performance_vm_multi_cpus: test_performance_vm_multi_cpus_cached: cfg: - core_count : 7 - mult : "40%" + core_count : 1 + mult : "5%" mpps_per_core_golden : min: 1 max: 99 test_performance_syn_attack_multi_cpus: cfg: - core_count : 7 - mult : "40%" + core_count : 1 + mult : "5%" mpps_per_core_golden : min: 1 max: 99 + diff --git a/scripts/automation/regression/stateless_tests/stl_performance_test.py b/scripts/automation/regression/stateless_tests/stl_performance_test.py index f0cdac71..7537cfa9 100644 --- a/scripts/automation/regression/stateless_tests/stl_performance_test.py +++ b/scripts/automation/regression/stateless_tests/stl_performance_test.py @@ -296,7 +296,8 @@ class STLPerformance_Test(CStlGeneral_Test): # sample bps/pps for _ in range(0, 20): stats = self.c.get_stats(ports = 0) - if stats['global'][ 'queue_full']>10000: + max_queue_full = 100000 if self.is_VM else 10000 + if stats['global'][ 'queue_full'] > max_queue_full: assert 0, "Queue is full need to tune the multiplier" # CPU results are not valid cannot use them