linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID6 write I/O amplification?
@ 2015-02-23 23:58 Roman Mamedov
  2015-02-24  6:29 ` AW: " Markus Stockhausen
  0 siblings, 1 reply; 4+ messages in thread
From: Roman Mamedov @ 2015-02-23 23:58 UTC (permalink / raw)
  To: linux-raid

Hello,

Got a bit of a "how does it actually work" question...

Suppose I have an MD RAID6 of 8 drives, with 64KB chunk size.

I am rewriting a 4KB filesystem sector somewhere on that RAID (not crossing
the stripe boundary).

What's the amount of disk I/O in total this will result in?

I assume the RAID will need to read data from all drives, recompute parity,
then write to the data stripe where the updated piece happened to be, and also
write to two parity stripes.

Is this done at a stripe granularity, so 6x64KB reads, 3x64KB writes?
Or down to individual sectors (pages), i.e. 6x4KB reads, 3x4KB writes?
Or am I describing this algorithm correctly at all?

-- 
With respect,
Roman

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

end of thread, other threads:[~2015-02-26  0:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-23 23:58 RAID6 write I/O amplification? Roman Mamedov
2015-02-24  6:29 ` AW: " Markus Stockhausen
2015-02-26  0:40   ` Alireza Haghdoost
2015-02-26  0:55     ` NeilBrown

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