linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <H.H.vanRiel@fys.ruu.nl>
To: jahakala@cc.jyu.fi
Cc: linux-mm <linux-mm@kvack.org>,
	"Stephen C. Tweedie" <sct@dcs.ed.ac.uk>,
	Linus Torvalds <torvalds@transmeta.com>
Subject: Re: [PATCH] kswapd fix & logic improvement
Date: Tue, 3 Mar 1998 14:10:20 +0100 (MET)	[thread overview]
Message-ID: <Pine.LNX.3.91.980303140552.21962A-100000@mirkwood.dummy.home> (raw)
In-Reply-To: <199803031135.MAA19461@max.fys.ruu.nl>

On Tue, 3 Mar 1998, Jani Hakala wrote:

> I patched pre5 with your diff.  Now I get 'kswapd: failed, got 73 of 
> 128' messages all the time.

Maybe you should play around a little with /proc/sys/vm/swapctl
and /proc/sys/vm/freepages...
A 1:2:4 ratio for freepages usualy works wonders.
And a echo "10 3 1 3 0 0 0 0 1024" > swapctl gives some
improvement too. As a matter of fact, I'm currently (read:
now) removing some of the 1.1.xx artifacts from mm/vmscan.c...

Things will straighten up RSN, but until that time, you can:
- tune /proc/sys/vm/*
- tune mm/vmscan.c (just make it more agressive)

The main reason that you didn't get that message with the
old kernel is that it doesn't show you the error, but
you're right, I should limit the printout of the error
(to once every 5 seconds?).

Rik.
+-----------------------------+------------------------------+
| For Linux mm-patches, go to | "I'm busy managing memory.." |
| my homepage (via LinuxHQ).  | H.H.vanRiel@fys.ruu.nl       |
| ...submissions welcome...   | http://www.fys.ruu.nl/~riel/ |
+-----------------------------+------------------------------+

       reply	other threads:[~1998-03-03 15:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199803031135.MAA19461@max.fys.ruu.nl>
1998-03-03 13:10 ` Rik van Riel [this message]
1998-03-03  0:35 Rik van Riel
1998-03-03  7:16 ` Michael L. Galbraith
1998-03-03  7:39   ` Rik van Riel
1998-03-03 16:10     ` Michael L. Galbraith
1998-03-03 17:16       ` Rik van Riel
1998-03-03 19:17         ` Benjamin C.R. LaHaise
1998-03-04  8:33           ` Pavel Machek
1998-03-06  9:06             ` Benjamin C.R. LaHaise
1998-03-06 14:40               ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.91.980303140552.21962A-100000@mirkwood.dummy.home \
    --to=h.h.vanriel@fys.ruu.nl \
    --cc=jahakala@cc.jyu.fi \
    --cc=linux-mm@kvack.org \
    --cc=sct@dcs.ed.ac.uk \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox