|
|
Quick'n dirty (remote) disk troughput measurement
toucheatout 2006-08-07 11:53 Linux
There are good tools to very closely evaluate a disk or disk array performance. This is especially critical for remotely mounted filesystems, where performance tweaks can turn a shame into a very reasonable and efficient network attached storage. Testing Writes Replace the bs (as Block Size) by the setting you want to test, then ajust the count to create a file of the size you chose. Try to make it quite (2x) bigger than memory on the server if you are to test reading afterwards. /dev/zero is a good source of quickly grabbed bits...
This creates a 256Mb file and outputs the time it took (look at the "real" line to get the time it took from an user perspective). The other end of the rope: testing reads Try then to read it and measure the read performance (command-line, filesystem is supposed mounted on /mnt)
Those steps should be each carried out several (at least 3) times under absence of activity, and the results averaged. |
|