Re: Linux 2.6.29

david
2009-03-28T23:54:42Z

On Thu, 26 Mar 2009, Linus Torvalds wrote:

> On Thu, 26 Mar 2009, Linus Torvalds wrote:
>>
>
> The only excuse _ever_ for user-land tweaking is if you do something
> really odd. Say that you want to get the absolutely best OLTP numbers you
> can possibly get - with no regards for _any_ other workload. In that case,
> you want to tweak the numbers for that exact load, and the exact machine
> that runs it - and the result is going to be a totally worthless number
> (since it's just benchmarketing and doesn't actually reflect any real
> world scenario), but hey, that's what benchmarketing is all about.
>
> Or say that you really are a very embedded environment, with a very
> specific load. A router, a cellphone, a base station, whatever - you do
> one thing, and you're not trying to be a general purpose machine. Then you
> can tweak for that load. But not otherwise.
>
> If you don't have any magical odd special workloads, you shouldn't need to
> tweak a single kernel knob. Because if you need to, then the kernel is
> doing something wrong to begin with.

while I agree with most of what you say, I'll point out that many
enterprise servers really do care about one particular workload to the
exclusion of everything else. if you can get another 10% performance by
tuning your box for an OLTP workload and make your cluster 9 boxes instead
of 10 it's well worth it (it ends up being better response time for users,
less hardware, and avoiding software license costs most of the time"

this is somewhere between benchmarking and embedded, but it is a valid
case.

most users (even most database users) don't need to go after that last
little bit of performance, the defalts should be good enough for most
users, no matter what workload they are running.

David Lang