Using Taskset for Priority Tasks Unless you're using a really
old machine or cheap netbook, almost any system you touch with
Linux these days is going to be a multiprocessor system. Any
server machine deployed within the past five years should have
at least two CPUs, and most desktops released in the past three
years have at least two cores. For a number of reasons, you
might want to "pin" some tasks so they run exclusively on a
single CPU or set of CPUs.A tisket, a tasket, be sure to use the
open source server tool taskset for priority tasks. Whether you
want to ensure resources for a process, ensure that a process
doesn't hog all system resources or improve a process that
doesn't scale well to multiple CPUs, you can use taskset to
assign a task to specific CPUs. It's pretty simple. taskset, you
"bond" a process to a CPU. Let's say you want to run Google
Chrome on one CPU. You'd run something like this: taskset
0x00000001 google-chrome Now Chrome will be limited to CPU 0
(0x00000001 is the "mask" for CPU 0).