does linux write cache

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
We noticed that Linux does a lot of IO buffering/caching, I mean more
than 1 gig of RAM goes to buffers and cache according to the "free"
command. Our systems have a lot of RAM, often unused.
What we are wondering is whether that buffer/cache is write or read or
both? and if so, is there a way to turn off writing cache/buffers?



Re: does linux write cache
Quoted text here. Click to load it

Linux uses free RAM for cacheing all disk traffic (except for
explicit direct I/O). The memory will be returned to the
code/data as soon as it is needed.

For details on the memory management, get the book

  Understanding the Linux Kernel

published by O'Reilly.

The details are too long to be explained in a news mwssage.


Tauno Voipio
tauno voipio (at) iki fi

Site Timeline