Skip to content

Instantly share code, notes, and snippets.

@miebach
Created December 26, 2010 16:53
Show Gist options
  • Save miebach/755503 to your computer and use it in GitHub Desktop.
Save miebach/755503 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo testing write performance
sync; date; time dd if=/dev/zero of=1000m bs=1024k count=5000; date
echo testing read performance
sync; date; time dd if=1000m of=/dev/null bs=1024k; date
rm 1000m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment