clear or disable file cache
I'm trying different methods to optimize a piece of java-written software. So I've setup some test data and processed it using all the methods I wanted to test. The problem is, I'm using the same data (it's a lot of data, hard to replicate) and all the tests after the first run very quickly (much more quickly than normal).
I figured this might be because Linux caches the files the first time they are accessed, so the second, third... tests don't really read the files.
So I searched everywhere trying to find a way to clear this file cache (or as a last result disable the thing), but so far came out with nothing. Can someone help me out of this predicament?