Re: Possible Idea with filesystem buffering.

Hans Reiser
2002-01-20T14:25:18Z

Write clustering is one thing it achieves. When we flush a slum, the
cost of the seek so far outweighs the transfer cost that we should
transfer FLUSH_SIZE (where flush size is imagined to be something like
64 or 16 or at least 8) adjacent (in the tree order) nodes at the same
time to disk. There are many ways in which LRU is only an approximation
to optimum. This is one of many.

Flushing everything involved in a transaction so that (the buffers being
pinned in RAM (so that they don't have to be reread from disk when the
transaction commits) until the transaction commits) can be unpinned is
another thing.

Hans