Knowledgebase: Troubleshooting
Using the Disk Speed Test Utility
Posted by Sven Koester, Last modified by Sven Koester on 21 December 2017 15:46

As of 3.2.2, PresSTORE includes a simple disk speed test utility. This utility can be used to check the data-transfer speed to and from a given hard disk drive.
The utility performs sequential read and write tests on the given file, thus not only testing physical disk performance but also the performance of the employed filesystem.


The utility is exposed over the CLI interface, like:

 cli::tests::disk::readwrite filename filesize [blocksize]

The commands read/write data from/to the given filename with the given  filesize using the optional blocksize.  (default = 32 kB).
Both sizes also accept the following optional modifiers:  

k|K = kilo (= size * 1024)                           
m|M = mega (= size * 1024 * 1024)                    
g|G = giga (= size * 1024 * 1024 * 1024)             

The command reports the write speed and the read speed, both in KBytes/sec.
For details calling commands via the CLI please consult the CLI guide.


# cd /usr/local/aw
# bin/nsdchat -c cli::tests::disk::readwrite /Volumes/Stripe/test.dat 1g
104857 116508
# bin/nsdchat -c cli::tests::disk::readwrite /Volumes/Stripe/test.dat 1g 64k
174762 174762

The first of the two commands uses the default blocksize of 32 kB, the second command shows that a blocksize of 64 kB results in a higher throughput in the tested system.

In today's computer architectures, there are almost always multiple caches involved to speed up disk operations. We recommend using a file size bigger than the available RAM on the computer to reduce the influence of caching in the test results.

(321 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).