Linux NFS development
 help / color / mirror / Atom feed
From: "Amir Hermelin" <amir@montilio.com>
To: "'Amir Hermelin'" <amir@montilio.com>,
	"'Marc Schmitt'" <mschmitt@inf.ethz.ch>
Cc: <nfs@lists.sourceforge.net>
Subject: RE: nfsd and kswapd
Date: Mon, 7 Jun 2004 12:17:07 +0200	[thread overview]
Message-ID: <004d01c44c78$96475420$0200000a@CARTMAN> (raw)
In-Reply-To: 

BTW also I'm not running anything else significant other than knfsd, and =
it
appears that there isn't actual swapping going on.

Thanks,
Amir.


-----Original Message-----
From: Amir Hermelin [mailto:amir@montilio.com]=20
Sent: Monday, June 07, 2004 12:16 PM
To: 'Marc Schmitt'
Cc: 'nfs@lists.sourceforge.net'
Subject: RE: [NFS] nfsd and kswapd


Thanks Marc for the info.  It so happens I'm also using a PowerEdge =
(2600),
so I'll check out that thread.  I'm using a RH 9 system, kernel 2.4.20-8 =
-
should that include the better mem management you've mentioned?



-----Original Message-----
From: Marc Schmitt [mailto:mschmitt@inf.ethz.ch]=20
Sent: Monday, June 07, 2004 10:22 AM
To: Amir Hermelin
Cc: nfs@lists.sourceforge.net
Subject: Re: [NFS] nfsd and kswapd


Hi Amir,

On Mon, 2004-06-07 at 00:46, Amir Hermelin wrote:
> Hi,
> I'm observing a strange phenomenon running nfsd on 2.4.20 (RH).  I'm
> using a dual-Xeon server with 6GB of memory, and 40 nfsd threads=20
> running.  Under very heavy load, after a while kswapd starts=20
> constantly occupying between 60-90% cpu, and every once in a while=20
> keventd also wakes up with some 10- 30% of its own.  This obviously=20
> slows the system and greatly reduces the nfs performance.  The=20
> strangest thing is, that when I reduce the memory to 512MB (with the=20
> mem boot option), kswapd seems to be getting a lot less CPU.
>=20
> Any explanations on the matter would be greatly appreciated.

Is that a RH 7.3 system? If so, make sure you're running kernel =
2.4.20-28 or
later, it has the memory management of RH 9 backported and behaves much
better in a setup like yours.

There were many discussions about this on the Dell Linux PowerEdge list, =
one
thread started here:
http://lists.us.dell.com/pipermail/linux-poweredge/2003-May/024785.html

One workaround is to disable swap, not sure if that's on option for you
though. Depends on what you're running other than file serving.

Greetings,
     Marc



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.

             reply	other threads:[~2004-06-07  9:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07 10:17 Amir Hermelin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-06 22:46 nfsd and kswapd Amir Hermelin
2004-06-07  8:21 ` Marc Schmitt
2004-06-07 10:15   ` Amir Hermelin
2004-06-07 11:19     ` Marc Schmitt

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='004d01c44c78$96475420$0200000a@CARTMAN' \
    --to=amir@montilio.com \
    --cc=mschmitt@inf.ethz.ch \
    --cc=nfs@lists.sourceforge.net \
    /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