I have an older patch to create dynamic bitmaps based on the last
run and only prefetch those pages.
It wasn't entirely a win for everything and didn't work for shared
libraries, but with some additional tuning the approach still has
potential I think, by combining memory saving with prefetching.
ftp://firstfloor.org/pub/ak/pbitmap/INTROhttp://halobates.de/dp2.pdf
For your use case the algorithm would likely need some glibc support.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--