You need to turn it off with hdparm.

sudo hdparm -W 0 /dev/<whatever>

-Ivan

On Thu, Jun 12, 2014 at 01:05:25AM -0700, Anita Kar wrote:
> Hi,
> 
> I am trying to test Zooekeeper perf. The paper "Zab: High-performance
> broadcast for <http://www.stanford.edu/class/cs347/reading/zab.pdf>
> primary-backup systems <http://www.stanford.edu/class/cs347/reading/zab.pdf>"
> mentions one of the tests that involves turning off caching during disk
> writes.
> 
> What modifications should I do to disable caching? I want to test the perf
> of doing many create operations without caching.

Reply via email to