Fix lmbench by adding delay to ensure lmhttp starts

This commit is contained in:
Qingsong Chen 2025-07-08 06:28:58 +00:00 committed by Tate, Hongliang Tian
parent 2a34a041c4
commit 4736004cff
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ echo "*** Running lmbench HTTP latency test ***"
dd if=/dev/zero of=test_file bs=1M count=64
echo "test_file" > file_list
/benchmark/bin/lmbench/lmhttp &
/benchmark/bin/lmbench/lmhttp &
sleep 1
/benchmark/bin/lmbench/lat_http 127.0.0.1 < file_list
/benchmark/bin/lmbench/lat_http -S 127.0.0.1