diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-11-06 18:08:32 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-11-07 09:56:21 +0100 |
commit | aa0bb9f471627c10b3c71fc9dacd06c642d88ad6 (patch) | |
tree | 54f507d422d88227941c10cbf09607d71bb9af64 /test/perf/pasta_tcp | |
parent | 498108ad70e95f8485b9be3e480f2c9e2fed713a (diff) | |
download | passt-aa0bb9f471627c10b3c71fc9dacd06c642d88ad6.tar passt-aa0bb9f471627c10b3c71fc9dacd06c642d88ad6.tar.gz passt-aa0bb9f471627c10b3c71fc9dacd06c642d88ad6.tar.bz2 passt-aa0bb9f471627c10b3c71fc9dacd06c642d88ad6.tar.lz passt-aa0bb9f471627c10b3c71fc9dacd06c642d88ad6.tar.xz passt-aa0bb9f471627c10b3c71fc9dacd06c642d88ad6.tar.zst passt-aa0bb9f471627c10b3c71fc9dacd06c642d88ad6.zip |
test/perf: Remove unnecessary --pacing-timer options
We always set --pacing-timer when invoking iperf3. However, the iperf3
man page implies this is only relevant for the -b option. We only use the
-b option for the UDP tests, not TCP, so remove --pacing-timer from the TCP
cases.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/perf/pasta_tcp')
-rw-r--r-- | test/perf/pasta_tcp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/perf/pasta_tcp b/test/perf/pasta_tcp index 3a8ad40..11c73f8 100644 --- a/test/perf/pasta_tcp +++ b/test/perf/pasta_tcp @@ -25,7 +25,7 @@ set THREADS 2 set STREAMS 2 set TIME 10 hout OMIT echo __TIME__ / 6 | bc -l -set OPTS -Z -w 4M -l 1M -P __STREAMS__ -O__OMIT__ --pacing-timer 10000 +set OPTS -Z -w 4M -l 1M -P __STREAMS__ -O__OMIT__ hout FREQ_PROCFS (echo "scale=1"; sed -n 's/cpu MHz.*: \([0-9]*\)\..*$/(\1+10^2\/2)\/10^3/p' /proc/cpuinfo) | bc -l | head -n1 hout FREQ_CPUFREQ (echo "scale=1"; printf '( %i + 10^5 / 2 ) / 10^6\n' $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq) ) | bc -l @@ -128,7 +128,7 @@ nsout GW6 ip -j -6 route show|jq -rM '.[] | select(.dst == "default").gateway' nsout IFNAME ip -j link show | jq -rM '.[] | select(.link_type == "ether").ifname' set THREADS 1 set STREAMS 2 -set OPTS -Z -P __STREAMS__ -i1 -O__OMIT__ --pacing-timer 100000 +set OPTS -Z -P __STREAMS__ -i1 -O__OMIT__ info Throughput in Gbps, latency in µs, one thread at __FREQ__ GHz, __STREAMS__ streams report pasta tap_tcp __THREADS__ __FREQ__ |