Messages in this thread | | | Date | Sat, 4 Oct 2003 15:14:14 -0400 (EDT) | From | Rik van Riel <> | Subject | Re: Idea for improving linux buffer cache behaviour |
| |
On Sat, 4 Oct 2003, David Ashley wrote:
> Forgive me if this has already been thought of, or is obsolete, or is > just plain a bad idea, but here it is:
Do you also want an answer if the kernel already does exactly what you are suggesting ? ;)
> 1) Lowest access count looked at first to toss > 2) If access counts equal, throw out oldest first
> The net result is commonly used items you very much want to remain in > cache always quickly get rated very highly as the system is used.
Which results in exactly the behaviour you're complaining about ;))
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
- 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/
| |