Tweaking my Ryzen 3700X pc.
Installed Ubuntu 18.04.3 Desktop on my pcie 4.0 1 Tb nvme drive instead of the Windows 10 install that I had on it.
Xmrig 5.2.0 hashes over 1000 H/s more than 5.1.0 on this Ryzen 3700X cpu.
Took a little work to get it to compile with gcc 9.2.1 without errors.
Followed this guide here.
9526 h/s on Ryzen 7 3700X (XMRig 5.2.0 + 1GB pages + MSR mod on Ubuntu) : MoneroMining
Compiling Xmrig-5.2.0 with gcc 9.2.1 was worth about 100 H/s more than the precompiled binary.
I DID NOT overclock the cpu or mess with the memory timings at all so my hash rate is lower than the author of the guide above.
Also I commented out "vm.nr_hugepages = 1280" in "/etc/sysctl.conf" since now xmrig-5.2.0 controls the hugepages if you run xmrig as sudo.
So a nice increase in hashrate.
Also version 5.2.1 is supposed to include the "wrmsr" commands.
EDIT: Just for reference with the same pc mining with xmrig-5.1.0 I was getting about 7650 H/s average using the precompiled binary.