Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skylake X Events mismatch #81

Closed
homerdin opened this issue May 1, 2018 · 3 comments
Closed

Skylake X Events mismatch #81

homerdin opened this issue May 1, 2018 · 3 comments

Comments

@homerdin
Copy link

homerdin commented May 1, 2018

When working on Intel(R) Xeon(R) Platinum 8180M CPU @ 2.50GHz I am seeing a mismatch between what libpfm's showenvinfo has for the PMU (skx) and what hpcrun -L is shows / runs with (skl).

@laksono
Copy link
Member

laksono commented May 2, 2018

That's strange, since hpcrun uses libpfm to get the list of PMUs. What are the differences between showenvinfo and hpcrun ?

@homerdin
Copy link
Author

homerdin commented May 2, 2018

I haven't seen any missing event so far, just a mismatch in the pmu name (prefix)

eg. skl::L1D:REPLACEMENT:t instead of skx::L1D:REPLACEMENT:t (using 'skl' instead of 'skx')

@laksono
Copy link
Member

laksono commented May 3, 2018

By default, hpctoolkit uses libpfm 4.8.0, while the latest version of libpfm is 4.9.0. The later has skx support, while the former only skl. That's why the prefix in hpcrun is only skl.

Usually, the prefix can be removed. You can run without using the prefix:

hpcrun -e L1D:REPLACEMENT ...

You can also configure hpctoolkit to use your own version of libpfm4 by using --with-perfmon option during the configuration:

configure --with-perfmon=<perfmon_path> ...

We'll upgrade our libpfm4 in the near future.

@homerdin homerdin closed this as completed May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants