From: Con Kolivas <conman@kolivas.net>
To: linux kernel mailing list <linux-kernel@vger.kernel.org>
Cc: Paolo Ciarrocchi <ciarrocchi@linuxmail.org>,
Andrew Morton <akpm@digeo.com>
Subject: Re: [BENCHMARK] vm swappiness with contest
Date: Sat, 28 Dec 2002 17:16:47 +1100 [thread overview]
Message-ID: <200212281716.50535.conman@kolivas.net> (raw)
In-Reply-To: <200212272100.44345.conman@kolivas.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 27 Dec 2002 09:00 pm, Con Kolivas wrote:
> On Fri, 27 Dec 2002 04:46 pm, Con Kolivas wrote:
> > Here is a family of contest benchmarks using the osdl hardware in
> > uniprocessor mode on 2.5.53-mm1 while varying vm swappiness. s020 is vm
> > swappiness=20 and so on:
>
> SNIP--->
SNIP SNIP -->
akpm was the first to suggest these results looked unusual and suggested
running them in a single sitting. The thing is, I ran these in a single
sitting without rebooting over about 12 hours sequentially so I thought I'd
try a different approach. Look at this first set rearranged in the order I
tested them:
> dbench_load:
> Kernel [runs] Time CPU% Loads LCPU% Ratio
> s000 [3] 191.6 41 1 43 2.87
> s020 [5] 195.5 40 1 44 2.93
> s040 [5] 197.9 41 1 43 2.96
> s060 [5] 331.4 32 0 23 4.96
> s080 [5] 439.4 24 0 10 6.58
> s100 [5] 883.6 13 1 9 13.24
> s050 [5] 914.6 15 0 6 13.70
It appeared to take longer to run the longer the machine had been running,
even though all memory is "flushed" and swap is turned on/off before each
run. So I ran these again with a reboot between each run:
sw000 [5] 185.1 42 1 42 2.77
sw020 [5] 199.9 39 1 44 2.99
sw040 [5] 210.5 38 2 45 3.15
sw050 [5] 199.7 39 2 46 2.99
sw060 [5] 190.3 41 1 45 2.85
sw080 [5] 196.1 40 1 44 2.94
sw100 [5] 198.7 40 1 43 2.98
Well these look rather different shall we say? There's virtually no change
regardless of the swappiness setting.
Question. Why does the above happen when the machine has been running for a
while? All the file writes are deleted between each run so the filesystem
doesnt change that dramatically, but even if it was the change to the
filesystem, why does a reboot fix it? (ext3 throughout)
Is there something about the filesystem layer or elsewhere in the kernel that
could decay or fragment over time that only a reboot can fix? This would seem
to be a bad thing.
Comments?
Con
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE+DUHPF6dfvkL3i1gRAlEaAJ0fV2c1T1TdkM3gakNQUUx+doptNQCbBoCS
XgPTttdepCq+1m4n66TFexY=
=pvGe
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2002-12-28 6:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-27 5:46 [BENCHMARK] vm swappiness with contest Con Kolivas
2002-12-27 10:00 ` Con Kolivas
2002-12-28 6:16 ` Con Kolivas [this message]
2002-12-28 6:26 ` Andrew Morton
2002-12-28 8:05 ` Linus Torvalds
2002-12-31 5:58 ` Con Kolivas
2002-12-31 6:08 ` Andrew Morton
2002-12-31 6:24 ` Con Kolivas
2002-12-31 6:37 ` Andrew Morton
2002-12-31 6:57 ` Con Kolivas
2002-12-31 7:08 ` Andrew Morton
2002-12-31 7:20 ` Con Kolivas
-- strict thread matches above, loose matches on Subject: below --
2002-12-27 13:13 Paolo Ciarrocchi
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=200212281716.50535.conman@kolivas.net \
--to=conman@kolivas.net \
--cc=akpm@digeo.com \
--cc=ciarrocchi@linuxmail.org \
--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