sets the cpu affinity using the default notification timer

also updates call to new resource syntax
Merge branch 'fix/cpu-tuning' into patched