r/ServerPorn • • Jul 01 '14

Dat Read-Write :P

Post image
0 Upvotes

7 comments sorted by

13

u/drmugg123 Jul 01 '14

Writing only zeroes is not actually a good benchmark of disk performance.

2

u/XavierNite Jul 01 '14

What would you suggest doing to get a proper bench mark?

5

u/Neco_ Jul 01 '14

bonnie++ or iozone

7

u/StrangeWill Jul 01 '14

Reading off a disk like that will likely just pull from disk cache, which means you're not really testing anything useful.

2

u/RedSquirrelFtw Jul 02 '14

How big is a typical disk cache? I would imagine if you use large enough values it will have to read/write directly. Or is it smart enough to know that everything is 0's and basically just tell the disk "write nn 0's here".

3

u/cstoner Jul 02 '14

How big is a typical disk cache?

As much free RAM as you have. bonnie++ recommends using total IO sized at 2x your RAM to get a valid test.

-1

u/Supermathie Jul 01 '14

Nice memory speed eh. much wow. such fast!