linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roger Luethi <rl@hellgate.ch>
To: Rik van Riel <riel@redhat.com>
Cc: William Lee Irwin III <wli@holomorphy.com>,
	Con Kolivas <kernel@kolivas.org>,
	Chris Vine <chris@cvine.freeserve.co.uk>,
	linux-kernel@vger.kernel.org,
	"Martin J. Bligh" <mbligh@aracnet.com>
Subject: Re: 2.6.0-test9 - poor swap performance on low end machines
Date: Thu, 11 Dec 2003 00:17:30 +0100	[thread overview]
Message-ID: <20031210231729.GC28912@k3.hellgate.ch> (raw)
In-Reply-To: <Pine.LNX.4.44.0312100919090.3900-100000@chimarrao.boston.redhat.com>

On Wed, 10 Dec 2003 16:04:16 -0500, Rik van Riel wrote:
> > For me this discussion just confirmed that my approach fails to draw
> > much interest, either because there are better alternatives or because
> > heavy paging and medium thrashing are generally not considered
> > interesting problems.
> 
> I'm willing to take over this work if you really want
> to throw in the towel.  It has to be done, simply to
> make Linux better able to deal with load spikes.

I am willing to keep my work up if I don't have to pull this alone. As
far as thrashing is concerned, the VM changed significanly even during
the -test series and I expect that to continue once 2.6.0 is released.
It would be good to get help from the people who made those changes --
they should know their stuff best, after all.

For one, we could look at the regression in test3 which might be easier
to fix than others because the changes haven't been buried under dozens
of later kernels. Some time ago, I took some notes about how the two
patches I mentioned in an earlier message worked together to change
the pageout patterns. Is that something we could start with?

Setting up some regular regression testing for new kernels might be a
good idea, too. Otherwise it's going to be Sisyphus work. For the time
being I can continue the testing, provided the harddisk that miraculously
survived hundreds of hours of thrashing tests keeps going.

> Under light to moderate overload, a load controlled system
> will be more responsive than a thrashing system.

That I doubt. 2.4 is very responsive under light overload -- every
process is mostly in memory and ready to grab a few missing pages at any
time. Once you add load control, you have processes that are completely
evicted and stunned when they are needed. Of course it's a matter of
definition, too, so I'd go even as far as saying:

- It is light thrashing when load control has no advantage.

- It is medium thrashing when using load control is a toss-up. Probably
  better throughput, but somewhat higher latency.

- It is heavy thrashing when load control is a winner in both regards.

I just made this up. It neatly resolves all arguments about when load
control is appropriate. Yeah, so it's a circular definition. Sue me.

> Heavy overload is probably a "docter, it hurts ..." case.

That's pretty much my thinking, too. Might still be worthwhile adding
some load control if there are more people like wli's Russian guy.

Roger

  reply	other threads:[~2003-12-10 23:20 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-29 22:30 2.6.0-test9 - poor swap performance on low end machines Chris Vine
2003-10-31  3:57 ` Rik van Riel
2003-10-31 11:26   ` Roger Luethi
2003-10-31 12:37     ` Con Kolivas
2003-10-31 12:59       ` Roger Luethi
2003-10-31 12:55     ` Ed Tomlinson
2003-11-01 18:34       ` Pasi Savolainen
2003-11-06 18:40       ` bill davidsen
2003-10-31 21:52   ` Chris Vine
2003-11-02 23:06   ` Chris Vine
2003-11-03  0:48     ` Con Kolivas
2003-11-03 21:13       ` Chris Vine
2003-11-04  2:55         ` Con Kolivas
2003-11-04 22:08           ` Chris Vine
2003-11-04 22:30             ` Con Kolivas
2003-12-08 13:52           ` William Lee Irwin III
2003-12-08 14:23             ` Con Kolivas
2003-12-08 14:30               ` William Lee Irwin III
2003-12-09 21:03               ` Chris Vine
2003-12-13 14:08               ` Chris Vine
2003-12-08 19:49             ` Roger Luethi
2003-12-08 20:48               ` William Lee Irwin III
2003-12-09  0:27                 ` Roger Luethi
2003-12-09  4:05                   ` William Lee Irwin III
2003-12-09 15:11                     ` Roger Luethi
2003-12-09 16:04                       ` Rik van Riel
2003-12-09 16:31                         ` Roger Luethi
2003-12-09 18:31                       ` William Lee Irwin III
2003-12-09 19:38                       ` William Lee Irwin III
2003-12-10 13:58                         ` Roger Luethi
2003-12-10 17:47                           ` William Lee Irwin III
2003-12-10 22:23                             ` Roger Luethi
2003-12-11  0:12                               ` William Lee Irwin III
2003-12-10 21:04                           ` Rik van Riel
2003-12-10 23:17                             ` Roger Luethi [this message]
2003-12-11  1:31                               ` Rik van Riel
2003-12-11 10:16                                 ` Roger Luethi
2003-12-10 23:30                           ` Helge Hafting
2003-12-10 21:52                 ` Andrea Arcangeli
2003-12-10 22:05                   ` Roger Luethi
2003-12-10 22:44                     ` Andrea Arcangeli
2003-12-11  1:28                       ` William Lee Irwin III
2003-12-11  1:32                         ` Rik van Riel
2003-12-11 10:16                       ` Roger Luethi
2003-12-15 23:31                       ` Andrew Morton
2003-12-15 23:37                         ` Andrea Arcangeli
2003-12-15 23:54                           ` Andrew Morton
2003-12-16  0:17                             ` Rik van Riel
2003-12-16 11:23                             ` Roger Luethi
2003-12-16 16:29                               ` Rik van Riel
2003-12-17 11:03                                 ` Roger Luethi
2003-12-17 11:06                                   ` William Lee Irwin III
2003-12-17 16:50                                     ` Roger Luethi
2003-12-17 11:33                                   ` Rik van Riel
2003-12-17 18:53                               ` Rik van Riel
2003-12-17 19:27                                 ` William Lee Irwin III
2003-12-17 19:51                                   ` Rik van Riel
2003-12-17 19:49                                 ` Roger Luethi
2003-12-17 21:41                                   ` Andrew Morton
2003-12-17 21:41                                   ` Roger Luethi
2003-12-18  0:21                                     ` Rik van Riel
2003-12-18 22:53                                       ` Roger Luethi
2003-12-18 23:38                                         ` William Lee Irwin III

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=20031210231729.GC28912@k3.hellgate.ch \
    --to=rl@hellgate.ch \
    --cc=chris@cvine.freeserve.co.uk \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    --cc=riel@redhat.com \
    --cc=wli@holomorphy.com \
    /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).