fix(nat44det): reduce ramp-up rate 93/35693/7
authorVratko Polak <vrpolak@cisco.com>
Thu, 17 Mar 2022 15:50:48 +0000 (16:50 +0100)
committerVratko Polak <vrpolak@cisco.com>
Tue, 22 Mar 2022 11:24:12 +0000 (11:24 +0000)
The previous values were too high for 9000b bandwidth.
In order to avoid any packet loss,
the new values are low enough even for x710 (10 Gbps).

The ramp-up rate is also considerably lowered
for lower scales, to keep the rate constant.
Ramp-up duration slightly increased above the minimum needed
to avoid time overheads, duration stretching and rounding errors.

Ticket: CSIT-1811

Change-Id: Iefa8d4d9344e3876014dc5415a4acfedc5abf429
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h1-p1-s1-ndrpdr.robot
tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h1024-p63-s64512-ndrpdr.robot
tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h16384-p63-s1032192-ndrpdr.robot
tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h262144-p63-s16515072-ndrpdr.robot
tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h4096-p63-s258048-ndrpdr.robot
tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h65536-p63-s4128758-ndrpdr.robot

index a075aa0..1eb8b09 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2022 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -88,8 +88,8 @@
 | ${n_ports}= | ${1}
 | ${n_sessions}= | ${${n_hosts} * ${n_ports}}
 # Ramp-up settings
-| ${ramp_up_rate}= | ${500000}
-| ${ramp_up_duration}= | ${1}
+| ${ramp_up_rate}= | ${66061.0}
+| ${ramp_up_duration}= | ${2.0}
 # Traffic profile
 | ${traffic_profile}= | trex-stl-2n-ethip4udp-${n_hosts}u${n_ports}p
 
index 8ceac80..64b7954 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2022 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -85,8 +85,8 @@
 | ${n_ports}= | ${63}
 | ${n_sessions}= | ${${n_hosts} * ${n_ports}}
 # Ramp-up settings
-| ${ramp_up_rate}= | ${500000}
-| ${ramp_up_duration}= | ${1}
+| ${ramp_up_rate}= | ${66061.0}
+| ${ramp_up_duration}= | ${2.0}
 # Traffic profile
 | ${traffic_profile}= | trex-stl-ethip4udp-${n_hosts}u${n_ports}p
 
index c96dd4d..df584d4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2022 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -85,8 +85,8 @@
 | ${n_ports}= | ${63}
 | ${n_sessions}= | ${${n_hosts} * ${n_ports}}
 # Ramp-up settings
-| ${ramp_up_rate}= | ${400000}
-| ${ramp_up_duration}= | ${5.5}
+| ${ramp_up_rate}= | ${66061.0}
+| ${ramp_up_duration}= | ${16.8}
 # Traffic profile
 | ${traffic_profile}= | trex-stl-ethip4udp-${n_hosts}u${n_ports}p
 
index d9e0325..af8145d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2022 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -87,8 +87,8 @@
 # Main heap size multiplicator
 | ${heap_size_mult}= | ${7}
 # Ramp-up settings
-| ${ramp_up_rate}= | ${150000}
-| ${ramp_up_duration}= | ${111.4}
+| ${ramp_up_rate}= | ${66061.0}
+| ${ramp_up_duration}= | ${252.3}
 # Traffic profile
 | ${traffic_profile}= | trex-stl-ethip4udp-${n_hosts}u${n_ports}p
 
index 97307e8..ad62d38 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2022 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -85,8 +85,8 @@
 | ${n_ports}= | ${63}
 | ${n_sessions}= | ${${n_hosts} * ${n_ports}}
 # Ramp-up settings
-| ${ramp_up_rate}= | ${400000}
-| ${ramp_up_duration}= | ${1.6}
+| ${ramp_up_rate}= | ${66061.0}
+| ${ramp_up_duration}= | ${5.0}
 # Traffic profile
 | ${traffic_profile}= | trex-stl-ethip4udp-${n_hosts}u${n_ports}p
 
index 1eaadfc..4a45ef8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2022 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -87,8 +87,8 @@
 # Main heap size multiplicator
 | ${heap_size_mult}= | ${2}
 # Ramp-up settings
-| ${ramp_up_rate}= | ${150000}
-| ${ramp_up_duration}= | ${31.4}
+| ${ramp_up_rate}= | ${66061.0}
+| ${ramp_up_duration}= | ${63.9}
 # Traffic profile
 | ${traffic_profile}= | trex-stl-ethip4udp-${n_hosts}u${n_ports}p