linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Goswin Brederlow <goswin.brederlow@student.uni-tuebingen.de>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Cesar Eduardo Barros <cesarb@nitnet.com.br>,
	Mike Galbraith <mikeg@weiden.de>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	linux-kernel <linux-kernel@vger.rutgers.edu>,
	linux-mm@kvack.org
Subject: Re: kswapd eating too much CPU on ac16/ac18
Date: 19 Jun 2000 23:22:58 +0200	[thread overview]
Message-ID: <877lbl8ix9.fsf@mose.informatik.uni-tuebingen.de> (raw)
In-Reply-To: Rik van Riel's message of "Sat, 17 Jun 2000 12:33:52 -0300 (BRST)"

>>>>> " " == Rik van Riel <riel@conectiva.com.br> writes:

     > I think the phenomenon you're seeing is not at all related to
     > deferred/non-deferred swapout. That doesn't have anything to do
     > with kswapd CPU usage.

     > The changed feedback loop in do_try_to_free_pages, however may
     > have something to do with this. It works well on machines with
     > more than 1 memory zone, but I can envision it breaking on
     > machines with just one zone...

     > I'm thinking of a way to fix this cleanly, I'll keep you
     > posted.

I have two boxes with 2.4.0-test1 kernels:

First one a Celeron 466 with 128 Mb ram:
BIOS-provided physical RAM map:
 e820: 000000000009f000 @ 0000000000000000 (usable)
 e820: 0000000007f00000 @ 0000000000100000 (usable)
On node 0 totalpages: 32768
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.

Second one a P120 with 16 MB ram (probably in one zone, but its not in
reach at the moment).

On the Celeron 2.4.0-test1 runs fine (responsiveness is a bit low, but
kswapd useage is fine).

On the P120 kswapd needs 95-99% cpu time. and the system is realy
realy slow. I teste plain 2.4.0-test1 to 2.2.4-test1-ac19 with various
steps inbetween. The disk behaviour (how often the ide led blinks)
differs and the amount swap used is different, but the kswap allways
uses all cpu time.

This could realy be a "number of zones" problem, so pleas thing about
it.

MfG
	Goswin

PS: I will add a zone mapping for the P120 when I get to it next time.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

  reply	other threads:[~2000-06-19 21:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-13 23:51 Cesar Eduardo Barros
2000-06-14  0:00 ` Alan Cox
2000-06-14  0:10   ` Cesar Eduardo Barros
2000-06-16  5:45   ` Mike Galbraith
2000-06-16 15:08     ` Rik van Riel
2000-06-17  3:05       ` Cesar Eduardo Barros
2000-06-17  4:04         ` Mike Galbraith
2000-06-17 14:06           ` Cesar Eduardo Barros
2000-06-17 15:25             ` Mike Galbraith
2000-06-17 15:23           ` Rik van Riel
2000-06-17 15:33         ` Rik van Riel
2000-06-19 21:22           ` Goswin Brederlow [this message]
2000-06-18  6:26       ` Mike Galbraith
2000-06-16  9:56 Roger Larsson
2000-06-17 19:43 Cesar Eduardo Barros
2000-06-17 21:34 ` Roger Larsson

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=877lbl8ix9.fsf@mose.informatik.uni-tuebingen.de \
    --to=goswin.brederlow@student.uni-tuebingen.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=cesarb@nitnet.com.br \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=linux-mm@kvack.org \
    --cc=mikeg@weiden.de \
    --cc=riel@conectiva.com.br \
    /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