add cpu affinity demo