Stress testing your machine -- what program?

teddy mills teddymills1-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Apr 20 14:32:56 UTC 2011


http://weather.ou.edu/~apw/projects/stress/ 
<http://weather.ou.edu/%7Eapw/projects/stress/>

I use this a lot to stress test.
I am testing various network monitoring programs, so I need the stress 
test to exceed a threshold.
There is a stresslinux distro, but I have not needed that.

Teddy


On 20/04/2011 10:18 AM, Lennart Sorensen wrote:
> On Tue, Apr 19, 2011 at 09:16:04PM -0400, William Park wrote:
>> It did happened to me once, and disks were thrashing a lot.  In fact,
>> that was what caused me to look at /proc/mdstat, and realized that it
>> was in the middle of re-sync.
> That will certainly make things slow.  You can reduce the maximum resync
> data rate (I think the default is 200MB/s these days) to something
> sensible.  I think I tend to change it to 20MB/s just so the machine is
> not bogged down by it.
>
>> Well, I used 64kB chunk size, as in the following:
>>
>>      # chunksize = 64kB
>>      # blocksize = 4kB
>>      # stride = chunksize / blocksize = 64 / 4 = 16
>>      # (Raid5) stripe-width = stride * (N - 1) = 16 * (4 - 1) = 48
>>      # (Raid0) stripe-width = stride * (N) = 16 * (4) = 64
>>      #
>>      mkfs.ext4 -b 4096 -m 0.1 -E stride=16,stripe-width=48 /dev/md0
>>
>> Are you saying I should use different chunk size?
> No that looks good to me.  Just making sure you had done that.
>

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list