aboutgitcodebugslistschat
path: root/test/perf/pasta_udp
diff options
context:
space:
mode:
Diffstat (limited to 'test/perf/pasta_udp')
-rw-r--r--test/perf/pasta_udp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/perf/pasta_udp b/test/perf/pasta_udp
index 6dedbad..adaebd0 100644
--- a/test/perf/pasta_udp
+++ b/test/perf/pasta_udp
@@ -12,12 +12,12 @@
# Author: Stefano Brivio <sbrivio@redhat.com>
onlyfor passt_in_ns
-htools cpupower ip sleep iperf3 udp_rr jq sed
+htools bc head ip sleep iperf3 udp_rr jq sed
nstools ip sleep iperf3 udp_rr jq sed
test pasta: throughput and latency (local traffic)
-hout FREQ cpupower frequency-info -lm | sed -n 's/.*- \(.*\) GHz$/\1/p'
+hout FREQ (echo "scale=1"; sed -n 's/cpu MHz.*: \([0-9]*\)\..*$/(\1+10^2\/2)\/10^3/p' /proc/cpuinfo) | bc -l | head -n1
set THREADS 1
set STREAMS 4