JavaScript tool for generating CPU affinity and priority parameters for CPUMiner.
This little tool should help you correctly configure the --cpu-affinity and --cpu-priority parameters for CPUMiner in Windows.
https://www.paulhempshall.com/io/cpuminer-affinity-setter/