Ryzen 7 3700X stock, memory 3200 MHz 14-14-14-28 + optimized sub-timings.
XMRig 5.1.1 on Ubuntu 18.04 = 8450 h/s
XMRig 5.1.1 on Windows 10 = 8770 h/s (CPU boosts higher because of different power plan)
RagerX = 8200 h/s
Plus this RagerX OS didn't put my Vega 64 in low power mode, so it drew more power than needed and probably made CPU a bit hotter too. That's bad for mining efficiency! You have a lot of work to do to catch up with XMRig.