lkml.org 
[lkml]   [2004]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ck] Re: [PATCH] Autoregulate swappiness & inactivation
Mikhail Ramendik wrote:
> Nick Piggin wrote:
>
>
>>Secondly, can you please not mess with the exported sysctl. If you
>>think your "autoswappiness" calculation is better than the current
>>swappiness one, just completely replace it. Bonus points if you can
>>retain the swappiness knob in some capacity.
>
>
> I as a user of -ck *strongly* disagree with this proposal. I want to be
> able to try both manual and automatic setting, without recompiling the
> kernel.
>
> If you really must avoid another named exported sysctl, I suggest making
> a "reserved" swappiness value, like 255, that would mean
> "auto-regulate".

The point is, there really isn't anything fancy about this
"auto tuning". It just alters the reclaim_mapped formula.

If we decide that the new formula gives better results, then
we should go with that. Exposing an intermediate calculation
in the swappiness sysctl is meaningless.

You can then work out somewhere to input a manual "swappiness"
bias into the new calculation.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.125 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site