Soramichi's blog

Some seek complex solutions to simple problems; it is better to find simple solutions to complex problems

Entries from 2016-04-29 to 1 day

Pin Python processes to specific cores in multiprocessing.Pool

Pinning processes to specific cpu cores (a.k.a. cpu affinity) is important both for performance analysis and improvement. However in Python, especially when you use high-level interfaces, it is tricky to do it because Python does not suppo…