1

Is there any way to make linux remove from memory all cached disk data? Our goal is to time some performance tests on various storage configurations and have each one start with a clean slate cache-wise.

Skyhawk
  • 14,230

1 Answers1

3

How about this:

$ sync ; echo 3 > /proc/sys/vm/drop_caches
EEAA
  • 110,608