asterinas/test/benchmark/lmbench/udp_virtio_lat/run.sh

13 lines
231 B
Bash

#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "Running lmbench UDP latency over virtio-net..."
# Start the server
/benchmark/bin/lmbench/lat_udp -s 10.0.2.15
# Sleep for a long time to ensure VM won't exit
sleep 200