mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 10:03:31 +00:00
Add several lmbench network benchmark
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
3e47ed10fd
commit
3dbdef4d6c
13
test/benchmark/lmbench/tcp_virtio_connect_lat/run.sh
Normal file
13
test/benchmark/lmbench/tcp_virtio_connect_lat/run.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "Running lmbench TCP latency over virtio-net..."
|
||||
|
||||
# Start the server
|
||||
benchmark/bin/lmbench/lat_connect -s 10.0.2.15 -b 1000
|
||||
|
||||
# Sleep for a long time to ensure VM won't exit
|
||||
sleep 200
|
Reference in New Issue
Block a user