public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Disable cached memory
@ 2005-05-10  9:26 Chen Bill-R63518
  0 siblings, 0 replies; 2+ messages in thread
From: Chen Bill-R63518 @ 2005-05-10  9:26 UTC (permalink / raw)
  To: linux-kernel

Hi,
When I cat "/proc/meminfo", I found there were too many memory cached which may result in kernel oom and killing something. I want to disable the cacheable feature, or limit the maximum of memory sizes which could be used for cached data. But anyone know how I shall do in the kernel? I use 2.4.20 kernel. Thanks.

--
Bill

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Disable cached memory
       [not found] <42ze5-6rp-13@gated-at.bofh.it>
@ 2005-05-11 23:59 ` Robert Hancock
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Hancock @ 2005-05-11 23:59 UTC (permalink / raw)
  To: linux-kernel

Chen Bill-R63518 wrote:
> Hi,
> When I cat "/proc/meminfo", I found there were too many memory cached which may result in kernel oom and killing something. I want to disable the cacheable feature, or limit the maximum of memory sizes which could be used for cached data. But anyone know how I shall do in the kernel? I use 2.4.20 kernel. Thanks.

It doesn't work that way. If memory is needed for something else, the 
amount of memory used for cache will be reduced.

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-12  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <42ze5-6rp-13@gated-at.bofh.it>
2005-05-11 23:59 ` Disable cached memory Robert Hancock
2005-05-10  9:26 Chen Bill-R63518

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox