I have quad core CPU with hyper threading enabled. So I have 8 logical cores. I want to limit my application to use only 4 cores and I want this 4 cores to be different physical cores. Which taskset options (core numbers) should I use? :
- taskset -c 0,1,2,3 command or
- taskset -c 0,2,4,6 command
Thank you.