lkml.org 
[lkml]   [2009]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: THE OFFLINE SCHEDULER
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


\
 
 \ /
  Last update: 2009-08-26 23:19    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site