diff options
author | 2020-09-12 01:25:23 +0200 | |
---|---|---|
committer | 2020-09-30 10:15:53 +0000 | |
commit | d99951620507d354c4803eb1ee26609d992b70b3 (patch) | |
tree | 49c51f7aad315e2b250b123a64233140bd914cde /tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44ed-h262144-p63-s16515072-cps-ndrpdr.robot | |
parent | 97e6988950559e98b5abfd73458dfa830727e16b (diff) |
test: compute max_translations_per_thread based on worker threads number
Change-Id: I1c638aef886bf37a9feb4a29e4949c7c8f19b717
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44ed-h262144-p63-s16515072-cps-ndrpdr.robot')
-rw-r--r-- | tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44ed-h262144-p63-s16515072-cps-ndrpdr.robot | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44ed-h262144-p63-s16515072-cps-ndrpdr.robot b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44ed-h262144-p63-s16515072-cps-ndrpdr.robot index 37495539f6..e375a7558d 100644 --- a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44ed-h262144-p63-s16515072-cps-ndrpdr.robot +++ b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44ed-h262144-p63-s16515072-cps-ndrpdr.robot @@ -76,12 +76,15 @@ | ${dest_mask}= | ${14} # NAT settings | ${nat_mode}= | endpoint-dependent -| ${max_translations_per_thread}= | 10485760 | ${in_net}= | 172.16.0.0 | ${in_mask}= | ${14} | ${out_net}= | 68.142.68.0 | ${out_net_end}= | 68.142.68.255 | ${out_mask}= | ${24} +# Scale settings +| ${n_hosts}= | ${262144} +| ${n_ports}= | ${63} +| ${n_sessions}= | ${${n_hosts} * ${n_ports}} # Traffic profile: | ${traffic_profile}= | trex-astf-ethip4udp-262144h | ${cps}= | ${16515072} @@ -122,6 +125,8 @@ | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} | | And Pre-initialize layer driver | ${nic_driver} | | And Add NAT to all DUTs | nat_mode=${nat_mode} +| | ${max_translations_per_thread}= | Compute Max Translations Per Thread +| | ... | ${n_sessions} | ${thr_count_int} | | And Add NAT max translations per thread to all DUTs | | ... | ${max_translations_per_thread} | | And Apply startup configuration on all VPP DUTs |