public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Sasi Peter <sape@iq.rulez.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 2.2.19pre6aa1 degraded performance for me...
Date: Tue, 9 Jan 2001 02:18:05 +0100	[thread overview]
Message-ID: <20010109021805.Q27646@athlon.random> (raw)
In-Reply-To: <Pine.LNX.4.30.0101082228230.4529-100000@iq.rulez.org>
In-Reply-To: <Pine.LNX.4.30.0101082228230.4529-100000@iq.rulez.org>; from sape@iq.rulez.org on Mon, Jan 08, 2001 at 10:46:29PM +0100

On Mon, Jan 08, 2001 at 10:46:29PM +0100, Sasi Peter wrote:
> What I had w/2.2.18pre19 (+raid+ide):
> ~80MB more in cache and ~80MB swapped out (eg. currently unused notes
> server and squid) There is enough of swap over 3 disks (like the
> raid), so I did not bother disabling squid and notes, since - I thought -
> they would only take up some swap unused.

There are many variables. However I guess the slowdown is because your idle
apps didn't got swapped out in favour of cache as you noticed. An aggressive
aging algorithm would probably fix that but it then would hurt other cases
(after you don't need a frequenty accessed part of filesystem cache anymore it
would take ages before it gets collected potentially causing an unnecessary
swapout storms because the kernel doesn't know you don't need such cache
anymore).  Furthmore if notes and squid are rarely running but they provides
critical services if they would go totally into swap in favour of fs cache you
would get very bad latencies the first time somebody connects to the server. So
the fix I suggest you is to buy more ram or to shutdown squid and notes. Than
you may as well see a performance improvement compared to 2.2.18pre19
(+raid+ide).  Otherwise you can push the machine low on memory a bit until they
both goes totally into swap (check with `ps v`). Hope this helps.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-09  1:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-08 21:46 2.2.19pre6aa1 degraded performance for me Sasi Peter
2001-01-09  1:18 ` Andrea Arcangeli [this message]
2001-01-09  6:25   ` Sasi Peter
2001-01-10  0:07     ` Sasi Peter
2001-01-10  0:31       ` Andrea Arcangeli

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=20010109021805.Q27646@athlon.random \
    --to=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sape@iq.rulez.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