Thread (11 messages) 11 messages, 5 authors, 2014-03-28

Re: raid resync speed

From: Bernd Schubert <hidden>
Date: 2014-03-20 15:35:24

Yes.  The article gives 16384 and 32768 as examples for
stripe_cache_size.  Such high values tend to reduce throughput instead
of increasing it.  Never use a value above 2048 with rust, and 1024 is
usually optimal for 7.2K drives.  Only go 4096 or higher with SSDs.  In
addition, high values eat huge amounts of memory.  The formula is:
Why should the stripe-cache size differ between SSDs and rotating disks? 
Did you ever try to figure out yourself why it got slower with higher 
values? I profiled that in the past and it was a CPU/memory limitation - 
the md thread went to 100%, searching for stripe-heads.

So I really wonder how you got the impression that the stripe cache size 
should have different values for differnt kinds of drives.


Cheers,
Bernd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help