Reputation: 157
I need to run two programs on the same core of a CPU. The second one always runs on another core because the first program uses 50% of the first core. How can I force Linux to run a program on a core?
Upvotes: 3
Views: 4024
Reputation: 38718
schedtool -a 0x1 -e program1
schedtool -a 0x1 -e program2
See the schedtool manual for details.
Upvotes: 7