1823257 Members
3043 Online
109648 Solutions
New Discussion юеВ

stress test

 
Printaporn_1
Esteemed Contributor

stress test

Hi,

Any body have idea how can I get benchmark software , or other software that can generate load on machine ?

thanks in advance,
enjoy any little thing in my life
4 REPLIES 4
Edward Sedgemore
Trusted Contributor

Re: stress test


You dont really need software to do this. There is one simple command which will stress test any box as much as you want. We use it all the time; dd

If you simply kick off as many dd commands at the same time as you want until the load average gets to a nice high level this is sufficient to really stress test your box.

dd if=/dev/rdsk/cxxxxx of=/dev/null bs=1024k &

On a K class we would kick off one for each disk we had on the server (which was around 60), this would run the load average at around 100 which would stress the box nicely. In the script when the first dd finished we would kick off another so we always had the same heavy load. We would ideally run this for a week on a new server. Usually in that time we would find at least 1 disk or controller which would fail, but thats what stress testing is for!
Thomas Kollig
Trusted Contributor

Re: stress test

Hi!

For a simple floating point performance test I use a matrix multiplication program. With an increasing matrix size the effects of the cache of the processor can be reduced. Such a program is also good to generate processor and memory load.

Hope this helps, Thomas
Steven Sim Kok Leong
Honored Contributor

Re: stress test

Hi,

With respect to I/O benchmarking, stkio is a very good tool which you can download from the storagetek website.

It allows you to specify numerous parameters such as block size and test on specific filesystems or raw devices the I/O throughput for random reads and writes as well as sequential reads and writes. It presents the results in MB/s, IO/s as well as total time taken in ms.

For commercial load-generation software, you can take a look at Mercury Interactive.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Philip Chan_1
Respected Contributor

Re: stress test

I personally felt that program compiling is one of the better way to stress test a system. For example, a server with a faulty CPU may lost for a couple days before it reboots itself. But, if you get it to compile samba, I bet you the server will be rebooted within 10 minutes.

~Philip