Free kernel memory
Christopher Schmidt
crschmidt at crschmidt.net
Thu Jun 1 18:22:00 EDT 2006
On Thu, Jun 01, 2006 at 06:12:10PM -0400, Ben Scott wrote:
> On 6/1/06, klussier at comcast.net <klussier at comcast.net> wrote:
> >I am looking for a way to flush the cached memory from a system.
>
> Why?
>
> Serious question. Linux normally does a pretty good job of managing
> memory. If nothing else is using the memory, it gets used for
> caching. Why install all that RAM if you're not going to use it,
> after all. As soon as a process allocates more memory, the cache will
> be released for that.
And if it doesn't, /proc/sys/vm/swapiness will let you tell it to be
more aggressive in handing this cache over to applications, I believe.
Although I can't remember exactly.
--
Christopher Schmidt
Web Developer
More information about the gnhlug-discuss
mailing list