How to limit disk performance?

Posted by DrakeES on Server Fault See other posts from Server Fault or by DrakeES
Published on 2013-11-11T04:21:06Z Indexed on 2013/11/11 10:00 UTC
Read the original article Hit count: 353

Filed under:
|
|

I am load-testing a web application and studying the impact of some config tweaks (related to disk i/o) on the overall app performance, i.e. the amount of users that can be handled simultaneously.

But the problem is that I hit 100% CPU before I can see any effect of the disk-related config settings. I am therefore wondering if there is a way I could deliberately limit the disk performance so that it becomes the bottleneck and the tweaks I am trying to play with actually start impacting performance. Should I just make the hard disk busy with something else? What would serve the best for this purpose?

More details (probably irrelevant, but anyway): PHP/Magento/Apache, studying the impact of apc.stat. Setting it to 0 makes APC not checking PHP scripts for modification which should increase performance where disk is the bottleneck. Using JMeter for benchmarking.

© Server Fault or respective owner

Related posts about Performance

Related posts about disk