---

How to run program or process on specific CPU cores on Linux

One operating system (OS) support often exploited to run performance-critical applications on multi-core processors is so-called ???processor affinity??? or ???CPU pinning???. This is an OS-specific feature that ???binds??? a running process or program to particular CPU core(s). This tutorial describes how to run a program or process on specific CPU cores on Linux.