note that cpu affinity does not work on OSX