cross platform affinity setting done. need verification.