[PATCH] D94395: [X86] AMD Zen 3 Scheduler Model

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 11:00:36 PDT 2021


lebedev.ri added a comment.

In D94395#2717286 <https://reviews.llvm.org/D94395#2717286>, @GGanesh wrote:

> Regarding the pipe events, the patch in kernel.org had just copy pasted events from zen1 and zen2. Apparently, I learnt that these events are restricted and at present not really ready for public for znver3. That is what is reflected in the kernel patch as well. If we notice, PMCx000 is incorrectly mapped and doesn't really count the 6 pipes.

Is that something that might be fixed via/in next microcode updates, or it's a hardware bug?

> Is there any workaround that you guys suggest. I understand that these are pfm counters and are dynamic in nature. However, for the model, (at least for the throughput numbers) shall I publish our internal numbers running the internally

enabled libpfm4 library? This is restricted in its immediate purpose which I understand however at present it may act as a work around for the throughput and llvm-mca numbers.

The answer depends on an answer to the previous question.

> I am going through the modifications\corrections made in the by @lebedev.ri  in the meantime.




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94395/new/

https://reviews.llvm.org/D94395



More information about the llvm-commits mailing list