diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp index da4e369..631a407 100644 --- a/test/perf/passt_tcp +++ b/test/perf/passt_tcp @@ -40,7 +40,7 @@ hout FREQ [ -n "__FREQ_CPUFREQ__" ] && echo __FREQ_CPUFREQ__ || echo __FREQ_PROC set THREADS 1 set STREAMS 8 set TIME 10 -hout OMIT echo __TIME__ / 6 | bc -l +set OMIT 0.1 set OPTS -Z -P __STREAMS__ -l 1M -O__OMIT__ info Throughput in Gbps, latency in µs, one thread at __FREQ__ GHz, __STREAMS__ streams diff --git a/test/perf/pasta_tcp b/test/perf/pasta_tcp index 11c73f8..7777532 100644 --- a/test/perf/pasta_tcp +++ b/test/perf/pasta_tcp @@ -24,7 +24,7 @@ ns /sbin/sysctl -w net.ipv4.tcp_timestamps=0 set THREADS 2 set STREAMS 2 set TIME 10 -hout OMIT echo __TIME__ / 6 | bc -l +set OMIT 0.1 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