mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 00:23:24 +00:00
Make all network benchmark run with tap backend and vhost on
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
03aee4a7d7
commit
c8c9b9753e
@ -15,7 +15,7 @@ stop_guest() {
|
||||
trap stop_guest EXIT
|
||||
|
||||
# Run lmbench tcp client
|
||||
echo "Running lmbench tcp client"
|
||||
/usr/local/benchmark/lmbench/lat_tcp -P 1 127.0.0.1
|
||||
echo "Running lmbench tcp client connected to $GUEST_SERVER_IP_ADDRESS"
|
||||
/usr/local/benchmark/lmbench/lat_tcp -P 1 $GUEST_SERVER_IP_ADDRESS
|
||||
|
||||
# The trap will automatically stop the guest VM when the script exits
|
Reference in New Issue
Block a user