One can also write do a `echo 1 > /proc/sys/vm/drop_cache` to purge the page cache.
-nagp
On Sat, Dec 12, 2009 at 12:50 PM, Joel Fernandes <agnel.joel@xxxxxxxxx> wrote:
> My question is why the cache is growing even after O_SYNC flag? EvenTry O_DIRECT if you want to bypass the page cache.
> fsync does not help. But deleting file freeing the cache.
>
-Joel
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ