Add lmbench HTTP latency test

This commit is contained in:
Yuke Peng
2024-08-26 17:35:03 +08:00
committed by Tate, Hongliang Tian
parent 936da1d6df
commit 9fec6ce95a
4 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
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/lat_http 127.0.0.1 < file_list
/benchmark/bin/lmbench/lat_http -S 127.0.0.1