linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Andrew Morton <akpm@digeo.com>
Cc: "Philippe Gramoullé" <philippe.gramoulle@mmania.com>,
	linux-kernel@vger.kernel.org
Subject: Re: 2.5.67-mm4 & IRQ balancing
Date: Wed, 23 Apr 2003 15:41:46 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.3.96.1030423153128.4451E-100000@gatekeeper.tmr.com> (raw)
In-Reply-To: <20030419133837.0118907b.akpm@digeo.com>

On Sat, 19 Apr 2003, Andrew Morton wrote:

> It's a little radical to go placing userspace daemons into the kernel tree,
> but I think it is appropriate - this thing is very tightly coupled to the
> kernel.
> 
> The proposal has these advantages:
> 
> - No version skew problems: if the format of /proc/interrupts changes, we
>   patch the irq balance daemon at the same time.
> 
> - Can build irqbalanced into the intial initramfs image as part of kernel
>   build. (lacking klibc, we would need to statically link against glibc)

Why, please? Unless you postulate that (a) the default kernel balance
would be so bad the machine wouldn't boot, or (b) that the interface would
be done only once at boot time, there's no reason for the user program to
be in initramfs, is there? Let the distribution put it where other system
things like ifconfig live.

Feel free to explain what I'm missing.

> - Doing it in userspace means that we can do more things.
> 
>   - The balancer can "know about" the differences between NICs, disk
>     controllers, etc.
> 
>   - The balancer can be controlled by config files: "I am a router"
> 
>   - The balancer can support non-x86 architectures
> 
> 
> Anyway, that's the theory.  None of it has been done yet.

I do agree that the program would have to match the /proc if done as you
propose, but wouldn't it be better to design an interface once and then
NOT have it change? And does it belong in /proc at all, given that other
things are being moved out?

I like the idea of being able to tune the int processing with a user
program. I don't think I share your vision of making a user program part
of the kernel to allow diddling an interface which might be better getting
right the first time, and protecting against "features" being added.
Hopefully it will be minimalist, and may well benefit from a totally
different user program for various machine types.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.


  parent reply	other threads:[~2003-04-23 19:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-18 23:58 2.5.67-mm4 & IRQ balancing Philippe Gramoullé
2003-04-19  0:51 ` Andrew Morton
2003-04-19 13:39   ` Philippe Gramoullé
2003-04-19 20:38     ` Andrew Morton
2003-04-22 10:06       ` Philippe Gramoullé
2003-04-22 10:32         ` Arjan van de Ven
2003-04-23 19:41       ` Bill Davidsen [this message]
2003-04-23 20:13         ` Zwane Mwaikambo
2003-04-24 21:32           ` Bill Davidsen
2003-04-25  9:03             ` Arjan van de Ven
2003-04-23 20:15         ` Andrew Morton
2003-04-19  1:03 Nakajima, Jun
2003-04-19 12:21 Chuck Ebbert
2003-04-19 13:14 ` Philippe Gramoullé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.96.1030423153128.4451E-100000@gatekeeper.tmr.com \
    --to=davidsen@tmr.com \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=philippe.gramoulle@mmania.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).