Stress testing your machine -- what program?

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Apr 20 14:18:45 UTC 2011


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.

-- 
Len Sorensen
--
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