How can I set how many physical CPUs can a process use (CPU Affinity) before the process starts.
You can do this with taskset :
taskset 0x03 your_command
will launch your_command on the cpus #0 and #1.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago