Constants: Lower Mellanox pps limit 20/28720/13
authorVratko Polak <vrpolak@cisco.com>
Thu, 24 Sep 2020 11:11:45 +0000 (13:11 +0200)
committerVratko Polak <vrpolak@cisco.com>
Mon, 28 Sep 2020 15:00:43 +0000 (15:00 +0000)
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>
resources/libraries/python/Constants.py

index 437c97f..3775d98 100644 (file)
@@ -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,
     }