[lkml]   [2008]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [ANNOUNCE] Ramback: faster than a speeding bullet
Hi Lars,

On Monday 10 March 2008 14:03, Lars Marowsky-Bree wrote:
> On 2008-03-10T09:37:37, Alan Cox <> wrote:
> > Why - your chunks simply become a linked list in write barrier order.
> > Solve your bitmap sweep cost as well. As you are already making a copy
> > before going to backing store you don't have the internal consistency
> > problems of further writes during the I/O.
> You get duplicated blocks though. But yes, I agree - write-backs to the
> disk must be ordered, other it's going to be too unreliable in practice.

I disagree with your claim of "too unreliable". If the UPS power does
not fail before flushing completes, it is perfectly reliable. Perhaps
you need a belt to go with your suspenders?

As I wrote earlier, you cannot have optimal writeback speed and ordering
at the same time. I can see eventually implementing some kind of ordered
writeback mode where completion is signalled to the application before
writeback completes. You then get to choose between fastest flush and
most paranoid ordering. I guess everybody will choose fastest flush,
but I will be happy to accept your patch to see which they actually

> > Yes you may need to throttle in the specific case of having too many
> > copies of pages sitting in the queue - but surely that would be the set of
> > pages that are written but not yet committed from a previous store
> > barrier ?
> You could switch from a journal like the above to a bitmap when this
> overrun occurs. (Typical problem in replication.) SteelEye holds a
> patent on that though, as far as I know.

If you think this is like replication then you have the wrong idea
about what is going on. This is a cache consistency algorithm, not
a replication algorithm.



 \ /
  Last update: 2008-03-11 12:17    [W:0.110 / U:7.952 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site