Skip to content

Instantly share code, notes, and snippets.

@joubertredrat
Last active August 29, 2015 14:15
Show Gist options
  • Save joubertredrat/f27a2bbeed9af217da51 to your computer and use it in GitHub Desktop.
Save joubertredrat/f27a2bbeed9af217da51 to your computer and use it in GitHub Desktop.
Disk IO benchmark desk
dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
dd if=/dev/zero of=test bs=1M count=1024 conv=fdatasync
time (dd if=/dev/zero of=/tmp/test bs=64k count=128k > /dev/null; sync)
bonnie++ -d /tmp -r 2048 -u root
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment