Skip to content

Instantly share code, notes, and snippets.

View Benchmarking disk IO
# installation
sudo apt install fio
# run benchmark
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 \
--name=test --filename=/tmp/test --bs=4k --iodepth=64 --size=4G \
--readwrite=randrw --rwmixread=75
# delete test file
rm /tmp/test