[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Thread scheduling
Joerg Sonnenberger wrote:
>On Fri, Apr 13, 2012 at 04:04:02PM +0100, Robert Swindells wrote:
>> Is it possible to get threads in a single process to be scheduled onto
>> different CPUs in a system ?
>> Using top(1), I just see all the threads scheduled onto the same CPU
>> with all the others idle.
>Is your work load CPU bound or not? The thread migration logic normally
>triggers only if the CPU is busy enough. You can also use the CPU
>affinity interface, but that might require root permissions (?).
I thought it was CPU bound, or that it had more than one thread that
was, but I must not have been watching the top output for long enough
to see multiple threads run when I posted the original message. I have
seen multiple threads run since then.
Main Index |
Thread Index |