mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-29 13:53:21 +00:00
Add several lmbench network benchmark
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
3e47ed10fd
commit
3dbdef4d6c
11
test/benchmark/lmbench/tcp_loopback_bw_128/run.sh
Normal file
11
test/benchmark/lmbench/tcp_loopback_bw_128/run.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running lmbench TCP bandwidth test ***"
|
||||
|
||||
/benchmark/bin/lmbench/bw_tcp -s 127.0.0.1 -b 1
|
||||
/benchmark/bin/lmbench/bw_tcp -m 128 -P 1 127.0.0.1
|
||||
/benchmark/bin/lmbench/bw_tcp -S 127.0.0.1
|
Reference in New Issue
Block a user