Add lmbench mmap bandwidth test

This commit is contained in:
Yuke Peng
2024-08-16 12:42:33 +08:00
committed by Tate, Hongliang Tian
parent 46d45de37a
commit 9e2956b4a3
4 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench mmap bandwidth test ***"
dd if=/dev/zero of=/ext2/test_file bs=1M count=256
/benchmark/bin/lmbench/bw_mmap_rd 256m mmap_only /ext2/test_file