LogoopenSUSE Build Service > Projects
Sign Up | Log In

Minimize filesystem caching effects

The `nocache` tool tries to minimize the effect an application has on the Linux file system cache. This is done by intercepting the `open` and `close` system calls and calling `posix_fadvise` with the `POSIX_FADV_DONTNEED` parameter. Because the library remembers which pages (ie., 4K-blocks of the file) were already in file system cache when the file was opened, these will not be marked as "don't need", because other applications might need that, although they are not actively used (think: hot standby).

Source Files

Filename Size Changed Actions
nocache-1.0.tar.gz 11.3 KB Download File
nocache.changes 133 Bytes Download File
nocache.spec 2.07 KB Download File

Comments for home:vodoo (0)

Login required, please login or signup in order to comment