Re: RFC: THE OFFLINE SCHEDULER

From: Chris Friesen
Date: Wed Aug 26 2009 - 17:16:03 EST


On 08/26/2009 02:50 PM, Andrew Morton wrote:

> What problem?
>
> All I've seen is "I want 100% access to a CPU". That's not a problem
> statement - it's an implementation.
>
> What is the problem statement?

I can only speak for myself...

In our case the problem statement was that we had an inherently
single-threaded emulator app that we wanted to push as hard as
absolutely possible.

We gave it as close to a whole cpu as we could using cpu and irq
affinity and we used message queues in shared memory to allow another
cpu to handle I/O. In our case we still had kernel threads running on
the app cpu, but if we'd had a straightforward way to avoid them we
would have used it.

Chris
--
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/