linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Stupid question regarding RAID-1 access pattern
@ 2010-01-06 19:58 Curt Hartung
  2010-01-06 21:37 ` Robin Hill
  2010-01-07 15:17 ` Leslie Rhorer
  0 siblings, 2 replies; 7+ messages in thread
From: Curt Hartung @ 2010-01-06 19:58 UTC (permalink / raw)
  To: linux-raid@vger.kernel.org

Tried to ferret out the answer to this myself and so far so bad.

This just 'popped in there' while I was optimizing something completely 
different... in a RAID-1, writes have to be mirrored of course, thats 
what RAID-1 is, but for reads, could they not be sped up by a 
significant amount if a storage pattern was chosen such that large 
blocks of data were "striped" in an in-order/out-of-order scheme? In 
other words, store all the data on both drives, but in huge (2x cache 
size) -ish blocks that might allow 50% of a given [large] access to come 
from each drive, with trivial [smaller] reads always coming from one or 
the other chosen at random.

Downside, I know, is that the data would be organized ina  way only the 
raid subsystem would understand, so the niceness of pulling a mirrored 
drive out of service and it being a literal copy of the otehr drive 
would be lost, but for such a speedup I'd be willing to pay the price of 
always having to access it as a failed set (worst case) through the 
md-daemon.

Am I off into the weeds?

-Curt

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

end of thread, other threads:[~2010-01-21  8:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-06 19:58 Stupid question regarding RAID-1 access pattern Curt Hartung
2010-01-06 21:37 ` Robin Hill
2010-01-06 22:13   ` Billy Crook
2010-01-06 23:10     ` Robin Hill
2010-01-21  7:34   ` Erno Kuusela
2010-01-21  8:09     ` Asdo
2010-01-07 15:17 ` Leslie Rhorer

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).