Re: [PATCH 0/8][RFC] IO latency/throughput fixes

From: Trenton D. Adams
Date: Tue Apr 07 2009 - 00:49:11 EST


On Mon, Apr 6, 2009 at 10:27 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> On Mon, 6 Apr 2009, Trenton D. Adams wrote:
>>
>> Okay, so a config option is a benefit in what way, for these
>> particular circumstances?  If someone wants to change the behaviour of
>> the kernel, for this particular case, they can just use tune2fs, no?
>
> Basically, I have a very simple policy in my kernel life:
>
>  - I don't touch distribution settings. I update the kernel, and NOTHING
>   else.
>
> (Ok, I lie. I do my own git version too, but I'm really unhappy when I
> feel like I need to maintain anything else)
>
> And I have that policy because quite frankly, if I start tuning distro
> settings, I'll
>
>  (a) forget about them and not do it on my next machine and
>  (b) do some magic that _I_ may know how to do but nobody else does, so
>     now what I'm doing is no longer relevant for anybody else
>  (c) I'm no longer helping anybody else.
>
> So I have a few bits and pieces that I develop (mainly the kernel but also
> git etc), and I don't make site-specific changes to them even if I could.
>
> In other words: if I make a change that helps me, I want to make sure
> that I make that option available to everybody else, because quite
> frankly that's a big portion of the whole point of open source.
>
> The whole "scratch your itch" isn't just about scratching _your_ itch,
> it's about getting it (almost by mistake) fixed for a lot of other people
> too.
>
>                        Linus
>

Interesting. I suppose there is also the fact that every drive you
hook to the system would then have the kernel configured default. So
that makes sense. Otherwise it's 2, 5, 10, 20 tune2fs commands,
instead of one kernel config.

What about a procfs setting instead? Is there a policy about why
something should be in procfs or /sys, or as a kernel config option?
That's basically as small as the patch you just made, right?

I'm just thinking that something like this, where people want one
thing or the other, but may not know it when they install Linux, might
like to change it realtime. Especially if they are a Linux newbie,
and don't know how to compile their own kernel. Or don't have time to
maintain their own kernel installs.
--
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/