Re: page cache query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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? Even
> fsync does not help. But deleting file freeing the cache.
>

Try O_DIRECT if you want to bypass the page 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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux