I am using a centos 5 (2.6.18-194.el5).
I need to be able to list files very quickly, in order for my rsync backup to be efficient.
I don't really need to cache file contents, because file access response time isn't that important.
I've got hundred million files and they keep being added and removed, and I got the feeling that my inode cache gets replaced by file content cache, which I don't want.
After some lookup I think that maybe /proc/sys/vm/vfs_cache_pressure could be helpful, but I am not sure how to use it and how to check it actually works.
Dear vfs guru, thank you for your help in advance