I know that there are ways to enforce thread/process effinity to bind a perticular 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.
The question arises due to the fact that multi-processors per chip are increasing day by day.