2

Is there a way to disable cache prefetching on AMD family 17h CPUs?

On family 10h CPUs, this is possible by setting a bit in MSRC001_1022 (programmatically disable hardware prefetching on AMD systems). This MSR is not available on family 17h CPUs (https://developer.amd.com/wp-content/resources/56255_3_03.PDF).

Andreas Abel
  • 1,376
  • 1
  • 10
  • 21
  • That MSR still exists in family 16h, it is documented in the BIOS and Kernel PR. There isn't such a document for the family 17h, maybe because it is not needed. Have you tried read/writing it? – Margaret Bloom Sep 09 '19 at 18:03
  • Yes, there is such an MSR that is set to 0x500000 by default on my system. Setting it to 0x502000 (i.e., setting bit 13 to 1) doesn't seem to make a difference with respect to prefetching. – Andreas Abel Sep 10 '19 at 14:53

0 Answers0