Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to use PCM to monitor UPI bandwidth? #555

jasonneverstop started this conversation in General
Discussion options

How to use PCM to monitor UPI bandwidth?

You must be logged in to vote

Replies: 2 comments 3 replies

Comment options

Hi,

UPI bandwidth can be measured with the pcm binary, just run it.
If you do not want the core metrics, run pcm with -nc
If you do not care about the system aggregation run pcm with -nsys
You can combine these options to only see socket level information
You can add -csv=filename to output to a csv file.

This info is all available in the pcm --help output.

Hope this helps.

You must be logged in to vote
3 replies
Comment options

thank you.
As shown in the image, is the local access ratio of memory for SKT0 91%? The remote access ratio is calculated as 1-91% = 9%?
image

Comment options

yes, correct

Comment options

Hi @rdementi As to the LOCAL value, when there's no workload running on the machine, I can see that the LOCAL of both nodes is around 60%~70%, is this normal? BTW, for Xeon MAX(with HBM), what's the definition of LOCAL here, HBM or DDR close to the node(HBM Flat mode)?

Comment options

Hi,

yes, absolutely this is normal. Also when you are not running any heavy workload your system executes CPU instructions in background (e.g. OS kernel, monitoring tools, etc) which can use both local and remote memory. The definition of local is with respect to the socket. Events in these categories are used to compute the metric:
https://github.com/intel/perfmon/blob/47778caa4d75ddce5e558e95682561289b370579/SPR/events/sapphirerapids_uncore.json#L2107
https://github.com/intel/perfmon/blob/47778caa4d75ddce5e558e95682561289b370579/SPR/events/sapphirerapids_uncore.json#L2125

e.g. accessing HBM or DDR on the same socket does not make any difference. It is all local.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #553 on June 07, 2023 05:57.

AltStyle によって変換されたページ (->オリジナル) /