taskset-feature.jpeg Multi-core processing can have benefits and drawbacks, and sometimes you need to manually assign CPU cores to programs (aka “CPU affinity”) in order to gain the best performance. Under Linux, the primary tool is taskset. That sounds potentially scary, but we’ll break it down into easy steps to simplify the process. Taskset Basics Using taskset can be broken down into two parts: CPU affinity with programs to be launched and with programs already running. Launching programs is the easier of the two, so we’ll start there. A launch command looks like this: taskset -c cpu-core-number(s)… Read more13637893.gif

Source: https://www.maketecheasier.com/assign-cpu-cores-with-taskset-linux/?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+maketecheasier
Proactive Computing found this story and shared it with you.
The Article Was Written/Published By: John Knight