Page 1 of 1

Array Cache

Posted: Fri Jan 24, 2014 8:26 am
by 3padm
Hi,

I see that the statcmp displays good cache info but is there a command which is able to flush cache from the nodes memory? I realize this may sound crazy but we are not in prod yet and want to run some IO tests and want to clearcache before each test.

Thanks

Re: Array Cache

Posted: Fri Jan 31, 2014 1:31 pm
by Cleanur
Sorry not possible, best you can do is to run a 100% random workload, that will attempt to defeat read cache and you could use this as a ramp up test to ensure cache is overwritten prior to you benchmark run. Writes will still be a hit but statcmp only reports write hits for hits in cache e.g when dirty pages (which were destined to be flushed to disk) are overwritten in cache by a subsequent write before they are flushed.