Skip to content

Instantly share code, notes, and snippets.

@nirnanaaa
Created May 5, 2015 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nirnanaaa/007eabd9362ee190cedd to your computer and use it in GitHub Desktop.
Save nirnanaaa/007eabd9362ee190cedd to your computer and use it in GitHub Desktop.
Timing O_DIRECT cached reads: 998 MB in 2.00 seconds = 498.62 MB/sec
Timing O_DIRECT disk reads: 1268 MB in 3.00 seconds = 422.44 MB/sec
/dev/xvda:
Timing O_DIRECT cached reads: 150 MB in 2.02 seconds = 74.20 MB/sec
Timing O_DIRECT disk reads: 118 MB in 3.05 seconds = 38.69 MB/sec ubuntu@ip-172-31-5-75:~$ sudo hdparm -tT --direct /dev/xvdg
/dev/xvdg:
Timing O_DIRECT cached reads: 176 MB in 2.01 seconds = 87.73 MB/sec
Timing O_DIRECT disk reads: 238 MB in 3.02 seconds = 78.79 MB/sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment