Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a benchmark program I can use to measure random read speeds of a vps without interference from the kernel cache? Also looking for something where you can change the read sizes say 4k-64k.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

I would recommend using iozone and/or bonnie++ to benchmark. If you're solid on what you need to test, both tools are customizable to those requirements.

For iozone, try something like the following to run a single-threaded random read/write test with a 4k record size using a 4 Gigabyte file.

Run this from the directory you wish to test: iozone -t1 -i2 -r4k -s4g

share|improve this answer
    
I tried running iozone but I keep getting "iozone.DUMMY.0: No such file or directory". Do you know how to fix this error? –  incognito2 Aug 13 '11 at 16:09
    
Make sure you are running iozone in a directory that you have write permissions to. –  ewwhite Aug 13 '11 at 16:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.