Changed cpu affinity docs slightly

This commit is contained in:
Ilan
2015-07-15 22:06:17 +02:00
parent 1f28bf1c68
commit 464255fa88
+1 -1
View File
@@ -168,7 +168,7 @@ The affinity number has to be higher than zero and less than the total number of
In some cases, setting the cpu affinity for your workers can lead to performance improvements, especially if the load is high and consists of many repeating small tasks.
Start with an affinity of 1 and work your way up. You will have to experiment with what works best for you.
Usually a low affinity number has the most effect. Which could be a positive or negative one, depending on your particular project.
As a rule of thumb; cpu_affinity 1 favors repetitive short running tasks,while no affinity benefits longer running tasks.
.. note::