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.
I can confirm you words:
Ryzen 7 3700X
all-core locked@4GHz(undervolt to 1.185v/@75w)
DRAM@3600CL16
@Win10-1903
8700h/s with 5.1.1 (the same for compiled 5.2.0 dev. revision - is not in public yet)