linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Reason for md raid 01 blksize limited to 4 KiB?
@ 2012-05-21  8:43 Sebastian Riemer
  2012-05-21 23:14 ` Stan Hoeppner
  2012-05-21 23:28 ` NeilBrown
  0 siblings, 2 replies; 11+ messages in thread
From: Sebastian Riemer @ 2012-05-21  8:43 UTC (permalink / raw)
  To: linux-raid

Hi list,

I'm wondering why stacking raid1 above raid0 limits the block sizes in
the blkio queue to 4 KiB both read and write.

The max_sectors_kb is at 512. So it's not a matter of limits.

Could someone explain, please? Or could someone pinpoint me to the
related location in the source code?

We've thought of using this for replication via InfiniBand/SRP. 4 KiB
chunks are completely inefficient with SRP. We wanted to do this with
DRBD first, but this is also extremely inefficient, because of chunk
sizes in the blkio queue.

I can reproduce the small 4 KiB chunks also in a file copy benchmark
with raid 01 on ram disks.

Cheers,
Sebastian

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

end of thread, other threads:[~2012-05-31 10:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-21  8:43 Reason for md raid 01 blksize limited to 4 KiB? Sebastian Riemer
2012-05-21 23:14 ` Stan Hoeppner
2012-05-21 23:28 ` NeilBrown
2012-05-25 12:35   ` Sebastian Riemer
2012-05-28  4:05     ` NeilBrown
2012-05-29  9:30       ` Sebastian Riemer
2012-05-29 10:25         ` NeilBrown
2012-05-30 13:03           ` Sebastian Riemer
2012-05-31  5:42             ` NeilBrown
2012-05-31  6:18               ` Yuanhan Liu
2012-05-31 10:26               ` Sebastian Riemer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).