AnsweredAssumed Answered

AMD Epyc (Zen 2) disable HW Prefetch L2

Question asked by agusnt on Apr 21, 2020
Latest reply on Jul 27, 2020 by hardcoregames™

Hello everyone!!.

I wan to disable all hardware prefetching on an AMD Epyc 7702P (Zen 2 / Rome). I don't find anything related in the official tech docs (Processor Programming Reference 17H and Manuals).


However, according to BKDG document for 15h. I have managed to disable the L1 prefetch by writing 1 on bit 13 on MSRC001_1022 (the L1-dcache-prefetches hardware counter gives 0). But the L2 Prefetcher Hits/Miss in L3 hardware counter doesn't change, so I assume that L2 Prefetch is on.


Is there any way to disable L2 prefetch?

In the BKDG document I read about the D18F2x11C. Is this a possibility? If that's the case, how can I do it?