Pin a process to specific CPU using taskset in Linux
Let's have a process:
# dd if=/dev/zero of=/dev/null
By using this command:
# taskset -pc 3 $(pidof dd)
will set this process to the 3rd CPU