Re: Downsides to madvise/fadvise(willneed) for application startup

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Monday, April 12, 2010 - 1:50 am

Taras Glek <tglek@mozilla.com> writes:


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/INTRO
http://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.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Downsides to madvise/fadvise(willneed) for application ..., Andi Kleen, (Mon Apr 12, 1:50 am)