Messages in this thread | | | Date | Sun, 20 Jan 2002 17:21:01 +0300 | From | Hans Reiser <> | Subject | Re: Possible Idea with filesystem buffering. |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |