test cpu_affinity