linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luigi Genoni <kernel@Expansa.sns.it>
To: German Gomez Garcia <german@piraos.com>
Cc: Andrea Arcangeli <andrea@suse.de>,
	Mailing List Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Strange behaviour of swap under 2.4.5-ac15
Date: Mon, 18 Jun 2001 15:34:43 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.33.0106181524580.15235-100000@Expansa.sns.it> (raw)
In-Reply-To: <Pine.LNX.4.33.0106181500480.270-100000@hal9000.piraos.com>



On Mon, 18 Jun 2001, German Gomez Garcia wrote:

> On Mon, 18 Jun 2001, Andrea Arcangeli wrote:
>
> > On Mon, Jun 18, 2001 at 12:14:01PM +0200, German Gomez Garcia wrote:
> > > 	Hello,
> > >
> > > 	I've running 2.4.5-ac15 for almost a day (22 hours) and I found
> > > some strange behaviour of the kswap, at least it was not present in
> > > 2.4.5-ac9. The swap memory increase with time as the cache dedicated
> > > memory also increase, that is swapping process at a very fast rate, even
> > > when no program is getting more memory. Is that the expected behaviour?
> > > 	An example, with no process running (just the usual daemons and
> > > none of them getting extra memory) the command:
> > >
> > > 	free ; sleep 60; free
> > >
> > >              total       used       free     shared    buffers     cached
> > > Mem:        513416     393184     120232        364      63276     254576
> > > -/+ buffers/cache:      75332     438084
> > > Swap:       530104      14228     515876
> > >
> > >              total       used       free     shared    buffers     cached
> > > Mem:        513416     393192     120224        364      63276     258412
> > > -/+ buffers/cache:      71504     441912
> > > Swap:       530104      18064     512040
> > >
> > > 	Any idea?
> >
> > either apply this patch to 2.4.5ac15:
> >
> > 	ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.5aa3/00_fix-unusable-vm-on-alpha-1
> >
> > (note it is not an alpha specific bug, it's just that I was triggering
> > all the time on alpha so I called the patch that way)
>
> 	It doesn't fix it, swapped memory and cache memory increase at a
> rate of about 40K/s, swapping process very fast, even the "agetty"
> processes get 64 out of 68 K swapped one or two minutes after booting.
> This rate gets lower as nothing but the essential (4K of "agetty", etc) is
> left in the physical memory.
>
I was having similar problems with a sun 3500 with 4 GB of RAM
running 2.4.5 (no problems of this kind with 2.4.4), and this
patch fixed my problems under eavy stress.

I was having the most of memory free and a lot of swap allocated,
and system swapping to dead.

Now it works, with other problems, but when i have time and
permission to try to debug them..... :).

Maybe there could be some HW related reason because of which it fixed for
my sun and not for you...

Luigi



  reply	other threads:[~2001-06-18 13:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-18 10:14 Strange behaviour of swap under 2.4.5-ac15 German Gomez Garcia
2001-06-18 12:35 ` Andrea Arcangeli
2001-06-18 13:17   ` German Gomez Garcia
2001-06-18 13:34     ` Luigi Genoni [this message]
2001-06-18 13:44       ` Andrea Arcangeli
2001-06-18 13:43   ` Rik van Riel
2001-06-18 13:56     ` Andrea Arcangeli
2001-06-18 14:54       ` Rik van Riel
2001-06-18 15:03         ` Andrea Arcangeli
2001-06-18 16:44           ` Rik van Riel
2001-06-18 17:00             ` Andrea Arcangeli
2001-06-18 13:37 ` Rik van Riel
2001-06-18 13:49   ` Andrea Arcangeli
2001-06-19  5:20     ` Mike Galbraith
     [not found] <20010618174445.F1317@athlon.random>
2001-06-18 19:32 ` German Gomez Garcia

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.4.33.0106181524580.15235-100000@Expansa.sns.it \
    --to=kernel@expansa.sns.it \
    --cc=andrea@suse.de \
    --cc=german@piraos.com \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).