lkml.org 
[lkml]   [2010]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC/PATCH] notify user-level IRQ balancer when kernel assigns IRQ affinity
On Thu, Sep 09, 2010 at 10:54:50AM +0200, Thomas Gleixner wrote:
> On Fri, 3 Sep 2010, Arthur Kepner wrote:
>
> It might be helpful to cc the maintainer of kernel/irq on patches
> which affect that area.

It wasn't (and after revieweing the MAINTAINERS file, still isn't)
clear to me that you're the maintainer there, but I'll cc you on
this topic in the future.

>
> >
> > We've run into situations where a CPU runs out of interrupt
> > vectors, because all the interrupts are getting the default
> > affinity (and the interrupt balancer hasn't yet run).
> >
> > The following emits a netlink message whenever an interrupt
> > is given a default CPU affinity. A user-level IRQ balancer
> > can use those messages to decide if, and how to reassign
> > affinities. This should allow us to avoid running out of
> > vectors on any particular CPU (or at least make it far less
> > likely).
>
> Errm. If the irq balancer has not been run, then why should some new
> irq balancer be up and running at this time. In the worst case you
> need to sort that out during boot _before_ you even hit userspace.

David M. made the same point.

I've got a new scheme in the works here:

http://marc.info/?l=linux-kernel&m=128381632020999&w=2

When I get some time on a big NUMA system, I'll test the latest
iteration of that, and post an update.

--
Arthur


\
 
 \ /
  Last update: 2010-09-09 17:57    [W:0.356 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site