Make it possible to set the CPU affinity in the config file, so that we don't need to remember to do it manually every time.
We have 10 copies of this code, and I don't really want to update each one separately.