February 11, 2012

fadvise – may be not what you expect

I often hear suggestion to use fadvise system call to avoid caching in OS cache. We recently made patch for tar , which supposes to create archive without polluting OS cache, as like in case with backup, you do not really expect any benefits from caching. However working on the patch, I noticed, that fadvise [...]