On Thu, 21 Jan 2010, Sad Clouds wrote:
is there any point in implementing file caching at application level?
Probably not much.
Another question is this: is it possible for userlevel applications to tell kernel not to cache certain files? For example application might want to keep frequently accesses .html .jpeg files in memory and not cache rarely accessed huge files, which would evict many other files when loaded into core.
Have a look at madvise(2). - Hubert