From: Con Kolivas <kernel@kolivas.org>
To: "R. J. Wysocki" <rjwysocki@sisk.pl>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: Autotune swappiness01
Date: Mon, 26 Jul 2004 20:29:59 +1000 [thread overview]
Message-ID: <4104DD27.6050907@kolivas.org> (raw)
In-Reply-To: <200407261234.29565.rjwysocki@sisk.pl>
[-- Attachment #1: Type: text/plain, Size: 1833 bytes --]
R. J. Wysocki wrote:
> On Monday 26 of July 2004 11:31, Con Kolivas wrote:
>
>>R. J. Wysocki wrote:
>>
>>>On Monday 26 of July 2004 03:09, Con Kolivas wrote:
>>>
>>>>Con Kolivas writes:
>>>>
>>>>>Andrew Morton writes:
>>>>>
>>>>>>Seriously, we've seen placebo effects before...
>>>>>
>>>>>I am in full agreement there... It's easy to see that applications do
>>>>>not swap out overnight; but i'm having difficulty trying to find a way
>>>>>to demonstrate the other part. I guess timing the "linking the kernel
>>>>>with full debug" on a low memory box is measurable.
>>>>
>>>>I should have said - finding a swappiness that ensures not swapping out
>>>>applications with updatedb, then using that same swappiness value to do
>>>>the linking test.
>>>
>>>Please excuse me, but is that viable at all? IMHO, it's just like trying
>>>to tune a radio including volume with only one knob. I don't say it
>>>won't work, but the probability that it will is rather small, it seems
>>>...
>>
>>Well that's what we want. I cant remember other desktop operating
>>systems setting a root only control between night and day, or between
>>copying ISOs and running applications or...
>
>
> I agree, but isn't it related to the fact that other desktop OSes usually
> don't run anything like updatedb nightly?
>
> Perhaps we need a bit more sophisticated swap algorithm than other OSes do.
> For example, couldn't we add an additional parameter to control the swapping
> "behavior", apart from the swappiness? Something like adding the second knob
> in my radio example? Just thinking,
I think one knob is one knob too many already. However as Andrew has
pointed out there are server workloads that want swappiness of 100,
hence I leave the knob in place.
Proof is in the pudding. Try my patch and/or post an alternative.
Cheers,
Con
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
next prev parent reply other threads:[~2004-07-26 10:30 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-26 0:25 [PATCH][2.6.8-rc1-mm1] Autotune swappiness01 Con Kolivas
2004-07-26 0:36 ` Andrew Morton
2004-07-26 0:43 ` Con Kolivas
2004-07-26 0:48 ` Andrew Morton
2004-07-26 1:01 ` Con Kolivas
2004-07-26 1:09 ` Con Kolivas
2004-07-26 8:52 ` R. J. Wysocki
2004-07-26 9:31 ` Con Kolivas
2004-07-26 10:34 ` R. J. Wysocki
2004-07-26 10:29 ` Con Kolivas [this message]
2004-07-26 10:54 ` R. J. Wysocki
2004-07-26 11:03 ` Con Kolivas
2004-07-26 11:13 ` Nick Piggin
2004-07-26 11:17 ` Con Kolivas
2004-07-26 11:47 ` Nick Piggin
2004-07-26 13:53 ` R. J. Wysocki
2004-07-26 18:45 ` Adam Kropelin
2004-07-26 18:53 ` R. J. Wysocki
2004-07-26 17:55 ` Gerrit Huizenga
2004-07-26 20:29 ` Joel Becker
2004-07-26 20:42 ` Andrew Morton
2004-07-26 22:58 ` Con Kolivas
2004-07-27 0:52 ` Clemens Schwaighofer
2004-07-27 1:09 ` Andrew Morton
2004-07-27 1:17 ` Clemens Schwaighofer
2004-07-27 2:03 ` Tim Connors
2004-07-27 2:43 ` Con Kolivas
2004-07-27 3:02 ` Tim Connors
2004-07-27 3:43 ` Clemens Schwaighofer
2004-07-27 3:47 ` Joel Becker
2004-07-27 15:32 ` William Lee Irwin III
2004-07-27 3:41 ` Clemens Schwaighofer
-- strict thread matches above, loose matches on Subject: below --
2004-07-26 14:52 Martin Knoblauch
2004-07-26 21:29 DaMouse
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=4104DD27.6050907@kolivas.org \
--to=kernel@kolivas.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjwysocki@sisk.pl \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.