What is the Linux page replacement policy?

From: Martin Martin
Date: Tue Jun 09 2015 - 11:48:35 EST


Specifically for the file system cache.

These pages claim it's a variant of 2Q, at least in 2.6:
https://www.kernel.org/doc/gorman/html/understand/understand013.html
http://linux-mm.org/PageReplacementDesign

It looks like there was some work on LIRS, CLOCK-Pro and CAR/CART.
Did those ever make it into the kernel?
http://linux-mm.org/AdvancedPageReplacement

There's also FlexiCache, that didn't make it into the standard
distribution, did it?
https://www.usenix.org/conference/fast-07/flexicache-flexible-interface-customizing-linux-file-system-buffer-cache

I'm interested in the default in kernels that are or will be in
widespread use, e.g. Ubuntu.

I'm not on the mailing list although I plan to check the archives, but
please reply to me directly as well as the list.

Thanks,
Martin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/