Set tcp benchmarks' backlog as 1

This commit is contained in:
jiangjianfeng
2024-10-17 03:19:13 +00:00
committed by Tate, Hongliang Tian
parent 1fe0a138f9
commit a566e25803
6 changed files with 6 additions and 6 deletions

View File

@ -6,6 +6,6 @@ set -e
echo "*** Running lmbench TCP bandwidth test ***" echo "*** Running lmbench TCP bandwidth test ***"
/benchmark/bin/lmbench/bw_tcp -s /benchmark/bin/lmbench/bw_tcp -s 127.0.0.1 -b 1
/benchmark/bin/lmbench/bw_tcp -m 4096 -P 1 127.0.0.1 /benchmark/bin/lmbench/bw_tcp -m 4096 -P 1 127.0.0.1
/benchmark/bin/lmbench/bw_tcp -S 127.0.0.1 /benchmark/bin/lmbench/bw_tcp -S 127.0.0.1

View File

@ -6,6 +6,6 @@ set -e
echo "*** Running lmbench TCP bandwidth test ***" echo "*** Running lmbench TCP bandwidth test ***"
/benchmark/bin/lmbench/bw_tcp -s /benchmark/bin/lmbench/bw_tcp -s 127.0.0.1 -b 1
/benchmark/bin/lmbench/bw_tcp -m 65536 -P 1 127.0.0.1 /benchmark/bin/lmbench/bw_tcp -m 65536 -P 1 127.0.0.1
/benchmark/bin/lmbench/bw_tcp -S 127.0.0.1 /benchmark/bin/lmbench/bw_tcp -S 127.0.0.1

View File

@ -6,6 +6,6 @@ set -e
echo "*** Running lmbench TCP connection latency test***" echo "*** Running lmbench TCP connection latency test***"
/benchmark/bin/lmbench/lat_connect -s /benchmark/bin/lmbench/lat_connect -s 127.0.0.1
/benchmark/bin/lmbench/lat_connect 127.0.0.1 /benchmark/bin/lmbench/lat_connect 127.0.0.1
/benchmark/bin/lmbench/lat_connect -S 127.0.0.1 /benchmark/bin/lmbench/lat_connect -S 127.0.0.1

View File

@ -6,6 +6,6 @@ set -e
echo "*** Running lmbench TCP latency test ***" echo "*** Running lmbench TCP latency test ***"
/benchmark/bin/lmbench/lat_tcp -s 127.0.0.1 /benchmark/bin/lmbench/lat_tcp -s 127.0.0.1 -b 1
/benchmark/bin/lmbench/lat_tcp -P 1 127.0.0.1 /benchmark/bin/lmbench/lat_tcp -P 1 127.0.0.1
/benchmark/bin/lmbench/lat_tcp -S 127.0.0.1 /benchmark/bin/lmbench/lat_tcp -S 127.0.0.1

View File

@ -7,7 +7,7 @@ set -e
echo "Running lmbench TCP latency over virtio-net..." echo "Running lmbench TCP latency over virtio-net..."
# Start the server # Start the server
/benchmark/bin/lmbench/lat_tcp -s 10.0.2.15 /benchmark/bin/lmbench/lat_tcp -s 10.0.2.15 -b 1
# Sleep for a long time to ensure VM won't exit # Sleep for a long time to ensure VM won't exit
sleep 200 sleep 200

View File

@ -6,6 +6,6 @@ set -e
echo "*** Running lmbench UDP latency test ***" echo "*** Running lmbench UDP latency test ***"
/benchmark/bin/lmbench/lat_udp -s /benchmark/bin/lmbench/lat_udp -s 127.0.0.1
/benchmark/bin/lmbench/lat_udp -P 1 127.0.0.1 /benchmark/bin/lmbench/lat_udp -P 1 127.0.0.1
/benchmark/bin/lmbench/lat_udp -S 127.0.0.1 /benchmark/bin/lmbench/lat_udp -S 127.0.0.1