Messages in this thread | | | Date | Mon, 24 Nov 1997 13:30:25 +0100 (MET) | From | Rik van Riel <> | Subject | Re: kernel memory sphincter jam |
| |
On Fri, 21 Nov 1997, Jason Duerstock wrote:
> 1) cat /proc/sys/vm/freepages > you should see something like: > > 16 32 48 > > This should be x, x*1.5 and x*2 where x is the number of megs of RAM you > have. No it isn't. x is two times the number of megabytes your machine has. On my machine (24megs) /proc/sys/freepages lists 48 64 96.
> echo "x*2 x*3 x*4" >/proc/sys/vm/freepages > (i.e. double all the numbers and put them back in the proc file)
> Chances are you'll notice some difference (for the worse) in performance, > but my systems haven't crashed since I did it. :D
This is a very poor workaround since you just might end up with twice the number of 4k fragments and not a single >8k fragment.
Zlatko Calusic has written a much better workaround, which I have shamelessly copied into my patch :) You can get my patch (with Zlatko's patch included) from my homepage at www.fys.ruu.nl/~riel/ I have had nothing but success stories from people with small memory systems (<32M) so it should be stable for you as well.
Compliments to Zlatko...
Rik.
---------- Send Linux memory-management wishes to me: I'm currently looking for something to hack...
| |