Re: [PATCH] Autoregulate swappiness & inactivation
From: Nick Piggin
Date: Thu Jul 08 2004 - 02:16:09 EST
Con Kolivas wrote:
Andrew Morton writes:
Con Kolivas <kernel@xxxxxxxxxxx> wrote:
> How about autoregulated swappiness, which seems to be very
efficient at
> its job?
It's been around for quite a while, and akpm has not expressed any
interest in it so I think this will only ever flounder in the -ck
domain.
Nobody sent me the patch. And the
justification/explanation/sales-brochure. And the benchmarks...
Ah what the heck. They can only be knocked back to where they already are.
A few comments. I think making swappiness depend on the amount of
swap you have used is not a good idea. I might be wrong though, but
generally you should only make something *more* complex if you have
a good rationale and good numbers (you have the later, Andrew might
consider this enough). I especially don't like this sort of temporal
dependancy either, because it makes things much harder to reproduce
and think through.
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.
Numbers look good though. I'll get around to doing some tests soon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/