public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* What to put for unknown stripe-width?
@ 2011-09-20 10:30 torn5
  2011-09-20 12:47 ` Theodore Tso
  0 siblings, 1 reply; 5+ messages in thread
From: torn5 @ 2011-09-20 10:30 UTC (permalink / raw)
  To: linux-ext4

Hello there,
I am planning some ext4 filesystems which are currently in (LVM over) a 
RAID array having:

stride=1MiB   stripe-witdth=4MiB

BUT ... their RAID could be enlarged with more disks in the future 
and/or they are likely to be moved around live (leveraging LVM, which I 
will align) to other RAIDs which also will have stride=1MiB but unknown, 
as of now, stripe-width.
That's on HDDs, with platters.

What do you suggest for stripe-width?
I don't really know how ext4 works, unfortunately. But I think the 
answer should be among the following values:

-  a) 60MiB: so to be exact multiple of most stripe-widths, in 
particular when number of data disks is any of: 
1,2,3,4,5,10,12,15,20,30,60 . I expect some longer-than-normal seeks 
with HDD heads with 60MiB though.

-  b) 7MiB or 11MiB: (prime numbers so *not* likely multiple of most 
stripe-widths) so to likely see data eventually spreaded equally on the 
various disks (maybe?). That's the opposite reason as (a), so one of 
these two must be wrong.

-  c) 1MiB so to be exact *divisor* (and not multiple) of all possible 
number of disks. This is wrong, isn't it?

-  d) use current optimal of 4MiB, then use tune2fs to alter 
stripe-width when the underlying stripes are changed. This should be 
fine for new writes, but I am not sure what is the impact on reads of 
old data.

Thanks for your help
T5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-20 23:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-20 10:30 What to put for unknown stripe-width? torn5
2011-09-20 12:47 ` Theodore Tso
2011-09-20 15:29   ` torn5
2011-09-20 16:00     ` Ted Ts'o
2011-09-20 23:29     ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox