I have found out that my first gen ryzens and
threadripper gets a few hundred more hashes using only physical cores instead of trying to utilize all of the cache so for example:
1920x
-t 12, --cpu-affinity 0x555555,
Going from 2666 to 3200 ram gave better performance with 16 threads.
R5 1600
-t 6, --cpu-affinity 0x555
this for xmrig. you can also try set higher cpu priority . --cpu-priority set process priority (0 idle, 2 normal to 5 highest)
Latest version should also give 2-3% better hashrate.
Gen 1 have a smaller cache so fewer threads.
I'm always dubious about boosting CPU priority. It shouldn't make a difference, but if it does
it indicates a problem with other processses. Better to deal with those processes.