diff options
author | 2016-12-31 12:27:58 +0200 | |
---|---|---|
committer | 2016-12-31 12:27:58 +0200 | |
commit | 1eee1f314620f348a906f4813ab880a48823f685 (patch) | |
tree | b2a313e2545d2b6e8794c5660fb98f479e542870 /scripts | |
parent | 37cb7ee77e24b8293cdea21eaf431923f2b4013f (diff) |
regression: avoid queue full at trex11
Change-Id: If6ff7e2675657bc53ef49237db3604b088a48ffc
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/automation/regression/setups/trex11/benchmark.yaml | 19 | ||||
-rw-r--r-- | scripts/automation/regression/stateless_tests/stl_performance_test.py | 3 |
2 files changed, 12 insertions, 10 deletions
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 |