[lkml]   [1996]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux vm parameters

In article
<>, David
Schwartz <> writes:

> I think it would be nice if Linux had a few tunable parameters to
> allow people to adjust how memory is handled. Settings to control how
> agressively Linux swaps and how much free memory is kept would, I think,
> be valuable for people who like to fine-tune their memory-management.

Check out /proc/sys/vm. It's full of that kind of mm tuning

> Consider a system that sits idle most of the time but
> occasionally is hit by huge bursts of network traffic but does little to
> no disk access. This system would prefer to keep more free pages for
> atomic allocation.

echo 300 400 500 > /proc/sys/vm/freepages

> We have a very nice /proc interface for setting these parameters.
> Where are they?

In /proc/sys. Hey, I might even get around to documenting them some
day. :)

Stephen Tweedie <>
Department of Computer Science, Edinburgh University, Scotland.

 \ /
  Last update: 2005-03-22 13:37    [W:0.041 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site