From 34dadfe8d168b72340b497469ee6550349689f1a Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Thu, 24 Sep 2020 13:11:45 +0200 Subject: [PATCH] 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 --- resources/libraries/python/Constants.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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, } -- 2.16.6