Skip to content

v0.3.5

Compare
Choose a tag to compare
@Koed00 Koed00 released this 15 Jul 22:01
· 960 commits to master since this release
  • Adds cpu affinity capability to the cluster.

You can now set the cpu affinity for the cluster workers, thanks to the optional psutil module. For example:

4 processors, 4 workers, cpu_affinity: 2

worker 1 cpu [0, 1]
worker 2 cpu [2, 3]
worker 3 cpu [0, 1]
worker 4 cpu [2, 3]

Cpu affinity can be tricky and is most helpful when dealing with very high traffic clusters and is therefor optional. Nonetheless it can in some cases help improve your clusters performance.
Read more about it at the cpu_affinity documentation.

Even though the psutil module is optional, I am working on using it for more feautures like cpu & memory reporting and remote cluster control.