Re: Kernel cached memory

From: Diego Calleja
Date: Fri Jul 22 2005 - 08:12:19 EST


El Fri, 22 Jul 2005 17:46:58 +0800,
"Ashley" <ashleyz@xxxxxxxxxx> escribió:

> from the output of command "free", I can see that many GB memory was cached
> by kernel. Does anyone know how to free the kernel cached
> memory? thanks in advance.


You don't want that. Kernel will free cached memory when apps need it. When
there's a lot of free memory, linux always tries to use it for cache - because
caches speed up things, and it's silly to to leave memory free if you can
use it for caching.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/