tech-userlevel archive

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

Re: POSIX threads scheduling policy/priority



On Sat, 17 Oct 2009 03:28:27 +0300
Stathis Kamperis <ekamperi%gmail.com@localhost> wrote:

> In this sense, I have been advised to use a more probabilistic
> approach. E.g., have the 2 threads bound in the same CPU (is there a
> standard way to do it ? guess not) to busy-loop and then measure how
> far they have advanced.

affinity(3) and pset(3) might help, although those are OS-specific
-- 
Matt


Home | Main Index | Thread Index | Old Index