mirror of https://github.com/mkerrisk/man-pages
sched_setaffinity.2: wfix
This commit is contained in:
parent
718af393c7
commit
2ce777b42c
|
@ -63,7 +63,7 @@ by dedicating one CPU to a particular process
|
||||||
(i.e., setting the affinity mask of that process to specify a single CPU,
|
(i.e., setting the affinity mask of that process to specify a single CPU,
|
||||||
and setting the affinity mask of all other processes to exclude that CPU),
|
and setting the affinity mask of all other processes to exclude that CPU),
|
||||||
it is possible to ensure maximum execution speed for that process.
|
it is possible to ensure maximum execution speed for that process.
|
||||||
Restricting a process to run on a single CPU also prevents
|
Restricting a process to run on a single CPU also avoids
|
||||||
the performance cost caused by the cache invalidation that occurs
|
the performance cost caused by the cache invalidation that occurs
|
||||||
when a process ceases to execute on one CPU and then
|
when a process ceases to execute on one CPU and then
|
||||||
recommences execution on a different CPU.
|
recommences execution on a different CPU.
|
||||||
|
|
Loading…
Reference in New Issue