#!/bin/bash drop_caches() { sync; (echo 1) > /proc/sys/vm/drop_caches; } for TEST in 2 do for i in {1..3} do for BLOCK in 4080 4084 4088 4092 4092 4096 4097 4098 4099 4100 4104 4108 4112 4128 4144 4160 4224 4288 4352 4608 4864 5120 6144 7138 8192 do drop_caches ./4kmyst $TEST $BLOCK done done done