Make all network benchmark run with tap backend and vhost on

This commit is contained in:
Jianfeng Jiang
2024-11-14 07:37:51 +00:00
committed by Tate, Hongliang Tian
parent 03aee4a7d7
commit c8c9b9753e
14 changed files with 51 additions and 25 deletions

View File

@ -14,6 +14,7 @@ stop_guest() {
trap stop_guest EXIT
# Run apache bench
/usr/local/redis/bin/redis-benchmark -n 100000 -c 20 -t ping_inline
echo "Running apache bench connected to $GUEST_SERVER_IP_ADDRESS"
/usr/local/redis/bin/redis-benchmark -h $GUEST_SERVER_IP_ADDRESS -n 100000 -c 20 -t ping_inline
# The trap will automatically stop the guest VM when the script exits