linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roger Luethi <rl@hellgate.ch>
To: Andrew Morton <akpm@osdl.org>
Cc: Andrea Arcangeli <andrea@suse.de>,
	wli@holomorphy.com, kernel@kolivas.org,
	chris@cvine.freeserve.co.uk, riel@redhat.com,
	linux-kernel@vger.kernel.org, mbligh@aracnet.com
Subject: Re: 2.6.0-test9 - poor swap performance on low end machines
Date: Tue, 16 Dec 2003 12:23:07 +0100	[thread overview]
Message-ID: <20031216112307.GA5041@k3.hellgate.ch> (raw)
In-Reply-To: <20031215155427.6faff1d8.akpm@osdl.org>

On Mon, 15 Dec 2003 15:54:27 -0800, Andrew Morton wrote:
>  One tends to adjust the test case so that it takes a reasonable amount of
> time.  So the process is:
> 
> Run 1: took five seconds.
> 
>        "hmm, it didn't swap at all.  I'll use some more threads"
> 
> Run 2: takes 4 hours.
> 
>        "man, that sucked.  I'll use a few less threads"
> 
> Run 3: takes ten minutes.
> 
>        "ah, that's nice.  I'll use that many threads from now on".
> 
> [...]
> 
> It could well be that something is simply misbehaving in there and that we
> can pull back significant benefits with some inspired tweaking rather than
> with radical changes.  Certainly some of Roger's measurements indicate that
> this is the case, although I worry that he may have tuned himself onto the
> knee of the curve.

No worries, mate :-). The efax benchmark I run is a replica of the
case that started this thread. "make main.o" for efax with 32 MB. The
kbuild benchmark is very different as far as compile benchmarks go:
"make -j 24" for the Linux kernel with 64 MB -- the time was adjusted
not by using fewer processes but by only building a small part of the
kernel, which does not change the character of the test. As benchmarks,
efax and kbuild seem different enough to warrant the conclusion that
compiling under tight memory conditions is slow on 2.6.

The qsbench benchmarks is clearly a different type from the other two.
Improvements in qsbench coincided several times with losses for efax/kbuild
and vice versa. Exceptions exist like 2.5.65 which brought no change for
efax but big improvements for kbuild and qsbench (which was back on par
with 2.5.0 for two releases). It is at least conceivable, though, that the
damage for one type of benchmark (qsbench) was mitigated at the expense of
others.

One potential problem with the benchmarks is that my test box has
just one bar with 256 MB RAM. The kbuild and efax tests were run with
mem=64M and mem=32M, respectively. If the difference between mem=32M
and a real 32 MB machine is significant for the benchmark, the results
will be less than perfect. I plan to do some testing on a machine with
more than one memory module to get an idea of the impact, provided I
can dig up some usable hardware.

Roger

  parent reply	other threads:[~2003-12-16 11:24 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
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 [this message]
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=20031216112307.GA5041@k3.hellgate.ch \
    --to=rl@hellgate.ch \
    --cc=akpm@osdl.org \
    --cc=andrea@suse.de \
    --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).