intel-cmt-cat icon indicating copy to clipboard operation
intel-cmt-cat copied to clipboard

Add support for Hygon Platform QoS features

Open shenxiaochen opened this issue 1 month ago • 2 comments

Add support for Hygon Platform QoS features

Description

Hygon CPUs support Platform QoS features (PQoS Version V1.0) described in the AMD Platform QoS specification.

The changes add Platform QoS features support for Hygon CPUs.

Affected parts

  • [x] library
  • [x] pqos utility
  • [x] rdtset utility
  • [ ] other: (please specify)

Motivation and Context

Add Platform QoS features support for Hygon CPUs.

Hygon CPUs support Platform QoS features (PQoS Version V1.0) described in the AMD Platform QoS specification [1].

Following Platform QoS sub-features are available on Hygon CPUs if the underlying hardware supports it:

  • L3 Cache Occupancy Monitoring (CMT)
  • L3 External Memory Bandwidth Monitoring (MBM)
  • L3 Cache Allocation Enforcement (CAT)
  • Code and Data Prioritization (CDP)
  • Memory Bandwidth Enforcement/Allocation (MBA)

[1] AMD Platform QoS Extensions, Rev 1.03: https://www.amd.com/content/dam/amd/en/documents/processor-tech-docs/other/56375_1_03_PUB.pdf

How Has This Been Tested?

  1. Passed all tests in intel-cmt-cat/unit-test on Hygon platforms.
  2. Run most pqos tests described below on Hygon platforms: https://github.com/intel/intel-cmt-cat/wiki/Usage-Examples

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • [x] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.

shenxiaochen avatar Nov 20 '25 04:11 shenxiaochen

Hi Xiaochen, Thanks for the contribution! We are reviewing and will get back to you soon. Thanks, ~Andrew

ajherdri avatar Nov 21 '25 16:11 ajherdri

Hi Xiaochen, Thanks for the contribution! We are reviewing and will get back to you soon. Thanks, ~Andrew

Hi Andrew, My honor to contribute to this project again! Thank you and the team for helping review this PR.

Note: Please help review #299 as well. The code base of this PR is on top of #299 which is a trivial bug fixing.

Best regards, Xiaochen

shenxiaochen avatar Nov 24 '25 09:11 shenxiaochen