Skip to content

Instantly share code, notes, and snippets.

@jestan
Created November 28, 2012 18:19
Show Gist options
  • Select an option

  • Save jestan/4163018 to your computer and use it in GitHub Desktop.

Select an option

Save jestan/4163018 to your computer and use it in GitHub Desktop.
Simple disk benchmark
dd bs=1M count=128 if=/dev/zero of=/tmp/test
dd bs=1M count=128 if=/dev/zero of=/tmp/test; sync
dd bs=1M count=128 if=/dev/zero of=/tmp/test conv=fdatasync
dd bs=1M count=128 if=/dev/zero of=/tmp/test oflag=dsync
iozone -R -l 5 -u 5 -r 4k -s 100m -F /tmp/f1 /tmp/f2 /tmp/f3 /tmp/f4 /tmp/f5 | tee -a /tmp/iozone_results.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment