Messages in this thread | | | Subject | Re: IRQ affinities (was: boot cgroup questions) | From | Peter Zijlstra <> | Date | Fri, 09 May 2008 14:14:30 +0200 |
| |
On Fri, 2008-05-09 at 07:03 -0500, Paul Jackson wrote: > Peter wrote: > > I see two use-cases: > > > > - Isolation > > - NUMA node devices > > Ok ... so let me propose an entirely different solution. > > No doubt it has some terrible flaw, but I'll just have to > await your replies to see what that is. > > How about we have: > > 1) Yet another text config file in /etc, this one containing > lines having two fields: > * a list of IRQs, and > * a cpumask. > This file would specify which CPUs should handle which IRQs. > > 2) A utility that can be run, after changing the above file, > to poke the proper cpumask to each IRQ, as specified in > the file. > > (Obligatory "simple" marketing claim: the above requires no > kernel changes.) > > What am I missing?
Two points:
- we can't currently set irq affinities for non-existent (aka new) IRQs - its a shame to duplicate the masks - most of this information would also be used in the cpuset structure used to place the tasks.
| |