aboutgitcodebugslistschat
path: root/test/demo
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-15 20:45:16 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-15 20:46:17 +0200
commit6231422dfb33bdc81eac5a69ca99b968964956f4 (patch)
tree95535e7ff7c233ba6bd169b6ac9aa9b8e93c7a3f /test/demo
parenta56721b61cd9b93094ff33b02364d4922fe934e2 (diff)
downloadpasst-6231422dfb33bdc81eac5a69ca99b968964956f4.tar
passt-6231422dfb33bdc81eac5a69ca99b968964956f4.tar.gz
passt-6231422dfb33bdc81eac5a69ca99b968964956f4.tar.bz2
passt-6231422dfb33bdc81eac5a69ca99b968964956f4.tar.lz
passt-6231422dfb33bdc81eac5a69ca99b968964956f4.tar.xz
passt-6231422dfb33bdc81eac5a69ca99b968964956f4.tar.zst
passt-6231422dfb33bdc81eac5a69ca99b968964956f4.zip
demo/pasta: Swap init>ns and ns>init flows
...make those short performance tests actually match table headers. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/demo')
-rw-r--r--test/demo/pasta48
1 files changed, 24 insertions, 24 deletions
diff --git a/test/demo/pasta b/test/demo/pasta
index ef250d7..b2e8131 100644
--- a/test/demo/pasta
+++ b/test/demo/pasta
@@ -185,68 +185,68 @@ th flow init>ns ns>init
set OPTS -P4 -l 1M -w 32M -i1 --pacing-timer 100000
tr TCP/IPv6 throughput
-nsb sleep 10; iperf3 -c ::1 __OPTS__
-hout BW iperf3 -s1J | jq -rM ".end.sum_received.bits_per_second"
-bw __BW__ 10.0 20.0
-sleep 5
hostb sleep 10; iperf3 -c ::1 __OPTS__
nsout BW iperf3 -s1J | jq -rM ".end.sum_received.bits_per_second"
bw __BW__ 10.0 20.0
+sleep 5
+nsb sleep 10; iperf3 -c ::1 __OPTS__
+hout BW iperf3 -s1J | jq -rM ".end.sum_received.bits_per_second"
+bw __BW__ 10.0 20.0
tl TCP/IPv6 RR latency
-hostb tcp_rr -6 --nolog
+nsb tcp_rr -6 --nolog
sleep 2
-nsout LAT tcp_rr --nolog -c -H ::1 | sed -n 's/^throughput=\(.*\)/\1/p'
+hout LAT tcp_rr --nolog -c -H ::1 | sed -n 's/^throughput=\(.*\)/\1/p'
lat __LAT__ 1000 500
sleep 2
-nsb tcp_rr -6 --nolog
+hostb tcp_rr -6 --nolog
sleep 2
-hout LAT tcp_rr --nolog -c -H ::1 | sed -n 's/^throughput=\(.*\)/\1/p'
+nsout LAT tcp_rr --nolog -c -H ::1 | sed -n 's/^throughput=\(.*\)/\1/p'
lat __LAT__ 1000 500
sleep 2
tl TCP/IPv6 CRR latency
-hostb tcp_crr -6 --nolog
+nsb tcp_crr -6 --nolog
sleep 2
-nsout LAT tcp_crr --nolog -c -H ::1 | sed -n 's/^throughput=\(.*\)/\1/p'
+hout LAT tcp_crr --nolog -c -H ::1 | sed -n 's/^throughput=\(.*\)/\1/p'
lat __LAT__ 1000 500
sleep 2
-nsb tcp_crr -6 --nolog
+hostb tcp_crr -6 --nolog
sleep 2
-hout LAT tcp_crr --nolog -c -H ::1 | sed -n 's/^throughput=\(.*\)/\1/p'
+nsout LAT tcp_crr --nolog -c -H ::1 | sed -n 's/^throughput=\(.*\)/\1/p'
lat __LAT__ 1000 500
sleep 2
tr TCP/IPv4 throughput
-nsb sleep 10; iperf3 -c 127.0.0.1 __OPTS__
-hout BW iperf3 -s1J | jq -rM ".end.sum_received.bits_per_second"
-bw __BW__ 10.0 20.0
-sleep 5
hostb sleep 10; iperf3 -c 127.0.0.1 __OPTS__
nsout BW iperf3 -s1J | jq -rM ".end.sum_received.bits_per_second"
bw __BW__ 10.0 20.0
+sleep 5
+nsb sleep 10; iperf3 -c 127.0.0.1 __OPTS__
+hout BW iperf3 -s1J | jq -rM ".end.sum_received.bits_per_second"
+bw __BW__ 10.0 20.0
tl TCP/IPv4 RR latency
-hostb tcp_rr -4 --nolog
+nsb tcp_rr -4 --nolog
sleep 2
-nsout LAT tcp_rr --nolog -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
+hout LAT tcp_rr --nolog -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
lat __LAT__ 1000 500
sleep 2
-nsb tcp_rr -4 --nolog
+hostb tcp_rr -4 --nolog
sleep 2
-hout LAT tcp_rr --nolog -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
+nsout LAT tcp_rr --nolog -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
lat __LAT__ 1000 500
sleep 2
tl TCP/IPv4 CRR latency
-hostb tcp_crr -4 --nolog
+nsb tcp_crr -4 --nolog
sleep 2
-nsout LAT tcp_crr --nolog -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
+hout LAT tcp_crr --nolog -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
lat __LAT__ 1000 500
sleep 2
-nsb tcp_crr -4 --nolog
+hostb tcp_crr -4 --nolog
sleep 2
-hout LAT tcp_crr --nolog -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
+nsout LAT tcp_crr --nolog -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
lat __LAT__ 1000 500
sleep 2