Re: Thought about delayed sync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 09 Oct 2011 13:32:16 +0200 Alexander Kühn
<alexander.kuehn@xxxxxxxxxx> wrote:

> 
> Zitat von NeilBrown <neilb@xxxxxxx>:
> 
> >  http://neil.brown.name/blog/20110216044002#5
> 
> Using one bit per stripe looks like the natural choice to me, no?

It might seem natural, but that doesn't mean it is good.

My rule-of-thumb is that each bit should correspond to about one second of
resync time.  So that is probably 50-100MB these days.
So a 4TB drive would have 40,000-80,000 bits or be 5KB to 10KB in size.
I would probably rather a 4KB bitmap, so each bit could correspond to 2-3
seconds which is probably fine.
That might line up with the stripe size, or it might not.  And whether is
does or not is largely irrelevant to the code.

NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux