v3 and v4 Xeons are L2 limited on randomx no matter how much L3 they have.
2x 4627v3 ($100?) 20 threads @3GHz gives you 10k consuming 260w.
2x 2696v3 ($800?) 36 threads @2.8GHz gives you 18k consuming 290w.
To compare, L3 limited ryzen 3600 ($200) 12 threads @4.2GHz gives 7k consuming 100w.