Following this question

I can reproduce that the first time I execute a du of a directory it takes longer than if I do it just after.

Where is this caching happening? How can I clean it? I would like to perform some performance tests about the time a directory is taking on giving its size by executing time du -sh /home/user/directory



Browse other questions tagged .