search for: posix_fadvise64

Displaying 2 results from an estimated 2 matches for "posix_fadvise64".

Did you mean: posix_fadvise
2007 Apr 22
1
patch to stop rsync from polluting the filesystem cache
...file system cache with all the data from the files being backed up. The effect is that all the other 'sensible' data in the cache gets thrown out in the process. This is rather unfortunate as the performance of the system becomes very bad after running rsync. Some research showed, that posix_fadvise64(fd, 0, 0,POSIX_FADV_DONTNEED); would tell the OS that it should not keep the file in cache. I have written a patch for rsync that adds the --drop-cache option which activates posix_fadvise64. There are some caveats though: * When calling posix_fadvise64 while writing a file, only the...
2017 Aug 11
2
How commonly applications make use of fadvise?
Hi all, In a conversation between me, Milind and Csaba, Milind pointed out fadvise(2) [1] and its potential benefits to Glusterfs' caching translators like read-ahead etc. After discussing about it, we agreed that our performance translators can leverage the hints to provide better performance. Now the question is how commonly applications actually provide hints? Is it something that is used