/notes/tech/linux/mandriva
Binding process to cpu, using taskset and sched_set_affinity()
Mon, 10 Sep 2007
From taskset(1):
taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPUs on the system. The Linux scheduler will honor the given CPU affinity and the process will not run on any other CPUs.
- Linux Setting processor affinity for a certain task or process (using taskset)
- CPU Affinity (on Linux Journal)
- Take charge of processor affinity (IBM doc)
- Improved Linux* SMP Scaling: User-directed Processor Affinity (Intel doc)
- Using Linux sched_setaffinity(2) To Bind Oracle Processes To CPUs
- Using Linux Processor Affinity To Beat The Oracle Licensing Police
Comments are closed for this story.
Trackbacks are closed for this story.