From: "Michael L. Galbraith" <mikeg@weiden.de>
To: Rik van Riel <H.H.vanRiel@fys.ruu.nl>
Cc: linux-mm <linux-mm@kvack.org>,
linux-kernel <linux-kernel@vger.rutgers.edu>
Subject: Re: [PATCH] kswapd fix & logic improvement
Date: Tue, 3 Mar 1998 08:16:08 +0100 (MET) [thread overview]
Message-ID: <Pine.LNX.3.95.980303073840.437A-100000@mikeg.weiden.de> (raw)
In-Reply-To: <Pine.LNX.3.91.980303013255.7010A-100000@mirkwood.dummy.home>
On Tue, 3 Mar 1998, Rik van Riel wrote:
> Hi there,
>
> here's the final patch to improve kswapd behaviour
> and improve the performance of the readahead code.
>
> It was diffed against 2.1.89pre2, but since the VM
> code hasn't changed up to pre5, it can be applied
> easily.
>
> I'm currently running a kernel with those changes,
> and it works better than before.
>
Hello Rik,
I was able to stimulate a 'swap-attack' which took almost a hour to
recover control from.
Started X+KDE in 32bpp + some toys. Started 5 instances of Xboard in
two machine mode. This + toys took the machine up to a working set of
180+ MB on a 80 MB machine. It was swapping like mad (better be) but
all tasks were progressing nicely. I let the xboards run until the
games were mostly over, and reset them to keep the pressure as high
as possible.
After about an hour and a half of this, I started a find on a drive
with 1.5G of 'stuff'. The find ran nicely, but after it finished,
cpu usage dropped to almost zilch. The machine ended up doing almost
nothing but swapping and became useless and nearly unaccessable.
After (finally) managing to terminate a couple of processes and dropping
the working set to ~120MB, the xboards began to run again and cpu usage
snapped back to normal (pegged).
As I was composing this message (machine idle until updatedb started),
a slew of .. 'kswapd: failed, got xxx of 160' came flying across the
screen. Examining my logs, I find that there are about 10000 lines of
these messages beginning with ..
Mar 3 05:24:24 mikeg kernel: kswapd: failed, got 134 of 160
(beginning of heavy swapping) and ending with
Mar 3 07:49:48 mikeg kernel: kswapd: failed, got 97 of 160
2.1.89pre5 + swap patch
-Mike
next prev parent reply other threads:[~1998-03-03 7:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-03 0:35 Rik van Riel
1998-03-03 7:16 ` Michael L. Galbraith [this message]
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
[not found] <199803031135.MAA19461@max.fys.ruu.nl>
1998-03-03 13:10 ` Rik van Riel
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.95.980303073840.437A-100000@mikeg.weiden.de \
--to=mikeg@weiden.de \
--cc=H.H.vanRiel@fys.ruu.nl \
--cc=linux-kernel@vger.rutgers.edu \
--cc=linux-mm@kvack.org \
/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