From: Oleg Drokin <green@namesys.com>
To: Russell Coker <russell@coker.com.au>
Cc: ReiserFS <reiserfs-list@namesys.com>, Rik van Riel <riel@nl.linux.org>
Subject: Re: kswapd CPU usage and heavy disk IO
Date: Thu, 9 Jan 2003 19:56:17 +0300 [thread overview]
Message-ID: <20030109195617.A17148@namesys.com> (raw)
In-Reply-To: <200301091431.54451.russell@coker.com.au>
Hello!
On Thu, Jan 09, 2003 at 02:31:54PM +0100, Russell Coker wrote:
> I have a server with 4G of RAM running ReiserFS for everything that matters.
> It has 2G of swap space free, but so far I have not seen swap usage go above
> 1.6M (so in normal use I could turn off swap entirely and expect not to see
> much difference).
> When it's under really heavy load (when I have a maintenance task involving a
> "find /" and there are lots of POP/IMAP clients hitting the server as well as
> mail delivery) and the load average gets to about 40, the "kswapd" kernel
> thread starts using excessive CPU time. It will stay on ~4% but have spikes
> of up to 45%!!! This is a two-processor machine so 45% CPU reported by top
> means 90% of a single CPU I guess. 90% of a 1.8GHz P4 CPU is a lot of CPU
> and I think that something is wrong.
Sounds exactly like yesterday/todays topic on lkml.
You have highmem box, during heavy IO all of the lowmempages are
occupied with bounce buffers and bh's.
Kernel needs more low memory and tries to free some with no much success though.
Known non-reiserfs related problem. Not easy to fix unfortunatelly.
Relevant lkml topic was "2.4.20, .text.lock.swap cpu usage? (ibm x440)"
Mail from Andrew Morton with msgid <3E1A16C5.87EDE35A@digeo.com>
He recommended to try http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.20aa1.bz2
"and send a report on the outcome"
Bye,
Oleg
prev parent reply other threads:[~2003-01-09 16:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-09 13:31 kswapd CPU usage and heavy disk IO Russell Coker
2003-01-09 16:02 ` Brian Tinsley
2003-01-09 16:42 ` Dieter Nützel
2003-01-09 16:48 ` Brian Tinsley
2003-01-09 16:50 ` Anders Widman
2003-01-10 0:46 ` William Lee Irwin III
2003-01-09 16:56 ` Oleg Drokin [this message]
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=20030109195617.A17148@namesys.com \
--to=green@namesys.com \
--cc=reiserfs-list@namesys.com \
--cc=riel@nl.linux.org \
--cc=russell@coker.com.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.