Closed arramesh42 closed 5 months ago
Please also explain exactly how to run this when you update the PR, to shorten the test/review cycle.
This PR adds a fio based stress test. It expects the fio binary to be installed in the system. This test can be run using the command:
"_make stresstests" => this runs the test for a default runtime of 60 seconds on /dev/dax0.0
It can also be run using the below command, where we can specify custom fio binary path (using -f option) and custom runtime using -r and custom device /dev/dax1.0.
"_sudo ./run_stress_tests.sh -d /dev/dax1.0 -f /usr/local/Repos/Fio/fio/fio -r 300_ " <== this runs the fio test on /dev/dax1.0 using the fio available at the location /usr/Repo/... for a runtime of 5 mins. Note: -f expects the full binary path and not the directory. Also as mentioned above, "-f " is optional, this tests uses system installed fio if it is available in the system.
Thanks Aravind
Run fio with multiple files filling up the entire filesystem