title: How to enforce CPU Socket affinity?
body: <p>I know that there are ways to enforce thread/process affinity to bind a particular thread/process to a CPU/core in various OSs. I am just wondering if there is a way to enforce the CPU Socket affinity. i.e. to enforce a thread/process to be bound to a CPU Socket which can house a multiprocessor chip.</p>
  
  <p>The question arises due to the fact that multi-processors per chip are increasing day by day.</p>