Skip to content

Commit

Permalink
Merge pull request #12 from ThomasKaiser/patch-1
Browse files Browse the repository at this point in the history
Simplify iozone call and also measure sequential reads
  • Loading branch information
geerlingguy committed Apr 22, 2024
2 parents 437cc7a + 16d53fe commit da819bb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions benchmarks/disk-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,8 @@ printf "\n"
# --eta-newline=1
# printf "\n"

printf "Running iozone 1024K random read and write tests...\n"
./iozone -e -I -a -s 100M -r 1024k -i 0 -i 2 -f $DEVICE_MOUNT_PATH/iozone
printf "\n"

printf "Running iozone 4K random read and write tests...\n"
./iozone -e -I -a -s 100M -r 4k -i 0 -i 2 -f $DEVICE_MOUNT_PATH/iozone
printf "Running iozone 4K / 1024K read and write tests...\n"
./iozone -e -I -a -s 100M -r 4k -r 1024k -i 0 -i 1 -i 2 -f $DEVICE_MOUNT_PATH/iozone | cut -c7-78 | tail -n6 | head -n4
printf "\n"

printf "Disk benchmark complete!\n\n"

0 comments on commit da819bb

Please sign in to comment.