Skip to content

Instantly share code, notes, and snippets.

@jinmingjian
Last active April 8, 2018 02:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save jinmingjian/0de3a4ddcccf349f5c4d to your computer and use it in GitHub Desktop.
Save jinmingjian/0de3a4ddcccf349f5c4d to your computer and use it in GitHub Desktop.
some ssd benchmarks
Tools:
# hdparm -Tt /dev/sdb /dev/sda
$ dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc
# echo 3 > /proc/sys/vm/drop_caches
$ dd if=tempfile of=/dev/null bs=1M count=1024
$ dd if=tempfile of=/dev/null bs=1M count=1024
======================================================================================
bonnie++
--------------------------------------------------------------------------------------
Intel 530 120GB:
╰─➤ bonnie++ -d /ming/tmp -r 2048
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.97 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
jin-pc 4G 899 94 248333 23 253263 13 5278 98 +++++ +++ +++++ +++
Latency 19711us 285ms 2780ms 3431us 103us 44us
Version 1.97 ------Sequential Create------ --------Random Create--------
jin-pc -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 8812 7 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
Latency 2195us 785us 2609us 152us 18us 197us
1.97,1.97,jin-pc,1,1411271702,4G,,899,94,248333,23,253263,13,5278,98,+++++,+++,+++++,+++,16,,,,,8812,7,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,19711us,285ms,2780ms,3431us,103us,44us,2195us,785us,2609us,152us,18us,197us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment