Is this configuration ok? I've read that the stripe size should match the block size. I am mostly storing 8-30GB single files that are read sequentially. What should I adjust, and how? Ubuntu doesn't let me create a block size greater than 4k. Thanks for your help.
|
feedback
|
|
Your filesystem block size should be something that divides you RAID stripe size to produce an integer value, so 4K filesystem blocks with a 256K stripe size is fine. For most efficient operation, especially with striped RAID setups like RAID5, you need to tell the filesystem what the controllers stripe size is so it can align its structures in a way that avoids them overlapping the edge of RAID stripes: for XFS this is done by giving the You also need to make sure that the filesystem itself starts on a block at the start of a RAID stripe, otherwise the filesystem's attempts to align things efficiently will be thwarted. Because the RAID volume presented to the BIOS will have the boot sector at the start, this will mean starting the first partition 256Kb into the array (unless you are creating the filesystem on the raw device, i.e. on | |||
feedback
|
|
Stripe size / alignment is most important for small files or random access. In your case (large files, sequential access), I think it probably doesn't matter. It would (of course) be worth testing, assuming you have a test that conforms to your typical load. | |||
|
feedback
|