setting core affinity