mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 11:23:25 +00:00
Add lmbench mmap bandwidth test
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
46d45de37a
commit
9e2956b4a3
10
test/benchmark/lmbench-mmap-bandwidth/run.sh
Normal file
10
test/benchmark/lmbench-mmap-bandwidth/run.sh
Normal 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
|
Reference in New Issue
Block a user