Performance Testing - clear files mapped into memory
I am trying to replicate a series of tests that involve processing large input files into an application program (Essbase) under different conditions.
To avoid having inconsistent results from having disk based files remaining in memory from the previous test and to assure that all runs are burdened with the same read from disk requirements i am using the Windows sysInternals program RamMap to clear disk file pages from ram between runs.
What would the equivalent command be for unix?
I hope I have explained this properly - I am not speaking of explicitly mapped to ramdisk files but files that (In Windows and from what i remember from unix III many years ago) are files left in mapped memory locations in case needed again or until that space is needed.