Re: IRQ affinities (was: boot cgroup questions)

From: Paul Jackson
Date: Fri May 09 2008 - 08:03:28 EST


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?

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.940.382.4214
--
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/