Also, make sure you have a fast ssd. Nvme m.2 is ideal
On ram, go for lower latency over higher frequency. The best performance comes from cpu overlock, and faster MHz ram may limit this. Remember, this cpu officially only supports Upto 1600 MHz memory.
Set memory to 1333 first. Set cache ratio to 30. VCcin to 1.85 then overlock the cores as normal. Once happy bump the cache ratio up. Then ram finally. Following the LTT haswell overcooking guide helped me.