mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 17:33:23 +00:00
Add file read bandwidth test
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
488445b9e8
commit
fd5fe26fae
10
test/benchmark/lmbench-file-rd-bandwidth/run.sh
Normal file
10
test/benchmark/lmbench-file-rd-bandwidth/run.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench file read bandwidth test ***"
|
||||
|
||||
dd if=/dev/zero of=/ext2/test_file bs=1M count=512
|
||||
/benchmark/bin/lmbench/bw_file_rd -P 1 512m io_only /ext2/test_file
|
Reference in New Issue
Block a user