Messages in this thread |  | | Subject | Re: [resent PATCH] Re: very slow parallel read performance | Date | Sun, 26 Aug 2001 02:07:23 +0100 (BST) | From | Alan Cox <> |
| |
> Ummm... is this really more of an agreement that Daniel's used-once > patch is a good idea on a system. Keep a page around if it's used > once, but drop it quickly if only used once? But you seem to be
Is there a reason aging alone cannot do most of the work instead. When you readahead a page you look to age a page that is a a bit over the readahead window further back in the file if it is in memory, and has no mapped users - ie its just cache.
That seems to cost us extra lookups in the page cache hashes but push things in the right direction.
Alan
- 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/
|  |