Re: Which is better at vm, and why? 2.2 or 2.4

Robert Love (rml@tech9.net)
20 Oct 2001 16:03:30 -0400


On Sat, 2001-10-20 at 15:56, Mike Fedyk wrote:

> On Fri, Oct 19, 2001 at 09:05:29PM -0400, Robert Love wrote:
>
> > Agreed. They also encourage people to write algorithms that are
> > suboptimal, but perform OK with proper tuning. This, imho, is the
> > biggest argument against.
>
> How does this differ when the tuning is hard coded?
>
> There are always cases where the algo will fall over.
>
> One thing I can say in favor of hard coded tuning is that it encourages the
> cases where it does fall over to be reported, and possibly fixed.

Because if the tunings are hard coded, developers will be encouraged to
make sure those tunings serve at least some common case, if not most
cases. If they are tunable, you get "the default tuning works for me.
play with the proc settings to get it right...".

I don't agree with that. Code it right. If it takes a different tuning
for every case, then ditch the algorithm and let's find one that works
right. Kind of like the point you just mentioned...

Robert Love

-
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/