title: Bind threads to processors
body: <p>When I run my multi-threaded code, the system (linux) sometimes moves the threads from one processor to another. As I have as many threads as I have processors, it invalidates caches for no good reasons and it confuses my tracing activities. </p>
  
  <p>Do you know how to bind threads to processors, and why does a system would do this ? </p>