mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 17:33:23 +00:00
Set tcp benchmarks' backlog as 1
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
1fe0a138f9
commit
a566e25803
@ -6,6 +6,6 @@ set -e
|
||||
|
||||
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 -S 127.0.0.1
|
||||
|
@ -6,6 +6,6 @@ set -e
|
||||
|
||||
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 -S 127.0.0.1
|
||||
|
@ -6,6 +6,6 @@ set -e
|
||||
|
||||
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 -S 127.0.0.1
|
||||
|
@ -6,6 +6,6 @@ set -e
|
||||
|
||||
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 -S 127.0.0.1
|
||||
|
@ -7,7 +7,7 @@ set -e
|
||||
echo "Running lmbench TCP latency over virtio-net..."
|
||||
|
||||
# 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 200
|
||||
|
@ -6,6 +6,6 @@ set -e
|
||||
|
||||
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 -S 127.0.0.1
|
||||
|
Reference in New Issue
Block a user