Project

General

Profile

Actions

Feature #10896

closed

Want support for AMD Zen CPC events

Added by Robert Mustacchi about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

We should update the AMD CPU Performance counters to cover the EPYC systems. I tested this by looking at the generated manual pages, going through and running this on AMD EPYC systems and verifying that I could run 6 different classes of events. I also went back and just sanity tested an Intel system and made sure that the generated Intel CPC files hadn't changed.

Note, the data files are something that I constructed myself. We should consider going back and doing this for older platforms as well. One side effect of this change was that there was code that said if an unknown AMD platform shows up, just assume that the generic counters are valid. However, that wasn't true across most of the generations I looked at, so that behavior was removed. However, it should now be easier to add support for a new generation of CPU performance counters or go back and add support for old ones.


Related issues

Related to illumos gate - Feature #12452: Want support for AMD Zen 2 CPC EventsClosedRobert Mustacchi

Actions
Related to illumos gate - Bug #15539: opteron_pcbe broken on pre-Zen after 10896ClosedRobert Mustacchi

Actions
Actions #1

Updated by Electric Monk about 4 years ago

  • Status changed from New to Closed

git commit d0e58ef5d66890a3cd67c9c6eb8c823f9865a70f

commit  d0e58ef5d66890a3cd67c9c6eb8c823f9865a70f
Author: Robert Mustacchi <rm@joyent.com>
Date:   2019-05-09T03:17:34.000Z

    10896 Want support for AMD Zen CPC events
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
    Reviewed by: Dan McDonald <danmcd@joyent.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions #2

Updated by Robert Mustacchi about 3 years ago

  • Related to Feature #12452: Want support for AMD Zen 2 CPC Events added
Actions #3

Updated by Robert Mustacchi about 2 months ago

  • Related to Bug #15539: opteron_pcbe broken on pre-Zen after 10896 added
Actions

Also available in: Atom PDF