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

SPR metric: Incorrect ParentCategory for Serializing_Operation? #294

Open
laksono opened this issue Mar 4, 2025 · 5 comments
Open

SPR metric: Incorrect ParentCategory for Serializing_Operation? #294

laksono opened this issue Mar 4, 2025 · 5 comments

Comments

@laksono
Copy link

laksono commented Mar 4, 2025

I think Serializing_Operation metric shouldn't have Ports_Utilized_0 as the parent:

https://github.com/intel/perfmon/blob/b2fa7da33a63ecbfe981295f16afbc930aa77422/SPR/metrics/sapphirerapids_metrics.json#L7445C7-L7448C18

  "MetricName": "Serializing_Operation",
  "LegacyName": "metric_TMA_....Serializing_Operation(%)",
  "ParentCategory": "Ports_Utilized_0",
  "Level": 3,

Here, Serializing_Operation is level 3, but the parent is level 4:

https://github.com/intel/perfmon/blob/b2fa7da33a63ecbfe981295f16afbc930aa77422/SPR/metrics/sapphirerapids_metrics.json#L7837C1-L7840C18

  "MetricName": "Ports_Utilized_0",
  "LegacyName": "metric_TMA_......Ports_Utilized_0(%)",
  "ParentCategory": "Ports_Utilization",
  "Level": 4,

According to the Excel file, the parent of Serializing_Operation should be Core_bound metric.

@edwarddavidbaker
Copy link
Contributor

Thanks for opening an issue. TMA metrics were removed from metrics/*_metrics.json files in favor of the Excel file #293 . Do TMA Excel/CSV files support your use case?


You're correct Serializing_Operation is a child of Core_Bound. Screenshot from TMA 5.02.

Image

@laksono
Copy link
Author

laksono commented Mar 5, 2025

Thanks for opening an issue. TMA metrics were removed from metrics/*_metrics.json files in favor of the Excel file #293 . Do TMA Excel/CSV files support your use case?

Yes, the Excel file works just fine. Thanks.

Btw it is unfortunate that metrics/*_metrics.json files are not maintained anymore since they allow 3rd party tools to extract information easily.

@edwarddavidbaker
Copy link
Contributor

Thanks for the feedback @laksono .

@1perrytaylor
Copy link
Contributor

To clarify, the metric files maintained under the /metrics directories will continue to be maintained for both TMA and non-TMA metrics. These metrics are presented in what we call our "standard JSON" format which is not compatible with Linux perf. The Linux perf conversion under the /metrics/perf directories will no longer contain the TMA metrics but will continue to have the non-TMA metrics and will continue to be maintained. This decision was made to better enable the Linux perf community who wanted to have more control over the exact format of the TMA metrics.

@edwarddavidbaker
Copy link
Contributor

Thanks @1perrytaylor . Sorry about the error in my initial message! Pull request #293 modified metrics/perf/*.json .

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

3 participants