lkml.org 
[lkml]   [2001]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Which is better at vm, and why? 2.2 or 2.4
From
Date
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/

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