aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-09-24 13:11:45 +0200
committerVratko Polak <vrpolak@cisco.com>2020-09-29 10:58:37 +0000
commit49fbf0359c51f54555f0c4040593fe6ccfa06f52 (patch)
tree8ab597f6bda225945dab8fb38234aad4639b9b4c /resources/libraries
parent9561ed11b78f45c4e95ce40fb5675e4bb7d7c2a3 (diff)
Constants: Lower Mellanox pps limit
The previous 60 Mpps stil leads to ~30% duration stretching. + Add comment on why 36 Mpps was chosen as the new limit. Change-Id: Ic11e8ece03939bdc8680cd7bc4122373583a2f17 Signed-off-by: Vratko Polak <vrpolak@cisco.com> (cherry picked from commit 34dadfe8d168b72340b497469ee6550349689f1a)
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/python/Constants.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py
index 437c97f187..3775d98377 100644
--- a/resources/libraries/python/Constants.py
+++ b/resources/libraries/python/Constants.py
@@ -285,7 +285,13 @@ class Constants:
u"Intel-XL710": 18750000,
u"Intel-XXV710": 18750000,
u"Intel-E810CQ": 58500000,
- u"Mellanox-CX556A": 60000000, # 148809523,
+ # 2n-clx testbeds show duration stretching on high rates,
+ # depending on encapsulation TRex has to generate.
+ # 40 Mpps is still too much for dot1q (~8% stretching).
+ # 36 Mpps is around the maximal VPP throughput (l2patch 4c8t).
+ # Vxlan traffic will still show stretching at 36 Mpps (>12%),
+ # but we do not care about those tests that much.
+ u"Mellanox-CX556A": 36000000, # 148809523,
u"Amazon-Nitro-50G": 1500000,
u"virtual": 14880952,
}