Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Thread scheduling



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 (?).

Joerg


Home | Main Index | Thread Index | Old Index