From: "Aiqun(Maria) Yu" <aiqun.yu@oss.qualcomm.com>
To: Tony Luck <tony.luck@intel.com>,
Reinette Chatre <reinette.chatre@intel.com>,
Dave Martin <Dave.Martin@arm.com>,
James Morse <james.morse@arm.com>,
Ben Horgan <ben.horgan@arm.com>
Cc: x86@kernel.org, Babu Moger <babu.moger@amd.com>,
linux-kernel@vger.kernel.org,
Reinette Chatre <reinette.chatre@intel.com>,
Fenghua Yu <fenghuay@nvidia.com>,
Trilok Soni <trilok.soni@oss.qualcomm.com>,
yiwei.huang@oss.qualcomm.com, yin.li@oss.qualcomm.com
Subject: [BOF]arm: resctrl: L3 cache partitioning via CLUSTERPARTCR
Date: Tue, 30 Jun 2026 19:48:15 +0800 [thread overview]
Message-ID: <26b8a5b2-666a-473c-aa78-c70fe0649474@oss.qualcomm.com> (raw)
Hi all,
L3 cache partitioning is an important feature for improving performance
isolation of latency-sensitive tasks. While ARM MPAM provides a
comprehensive solution, there exists another ARM register, CLUSTERPARTCR,
which offers L3 cache partitioning functionality similar to MPAM's CPBM
(Cache Portion BitMask) but is not part of the MPAM architecture.
CLUSTERPARTCR is a cluster-level register that allows software to partition
L3 cache capacity among different workloads. Although its partitioning
granularity and flexibility are more limited compared to full MPAM support,
it remains a practically important interface for platforms that do not
implement MPAM but still need L3 cache partitioning capability.
This raises the following questions for the community:
1. Is there interest in accommodating CLUSTERPARTCR-based L3 partitioning
within the existing resctrl framework, given that it provides similar
semantics to Intel RDT's cache allocation technology (CAT)?
2. Alternatively, would it be more appropriate to integrate it under the
MPAM resctrl framework as a non-MPAM backend, given the functional
similarity to MPAM CPBM?
3. Are there any concerns or constraints in the current resctrl/MPAM
framework that would prevent such an integration?
Any comments, suggestions, or pointers to prior discussion on this topic
are very much appreciated.
More references:
==========
Reference to [1], and more detailed information like below:
the CLUSTERPARTCR_EL1 to 0x00008601 to configure these three L3 cache
partitions:
• Scheme ID 0 (1/4 of the cache).
• Scheme ID 2 (1/2 of the cache).
• Scheme ID 3 (1/4 of the cache).
The OS, running at EL1, can set the CLUSTERTHREADSID_EL1 to 0x0 or 0x1
to select between the two L3 cache partitions allocated to it. These
would be mapped to scheme IDs 2 and 3 by the CLUSTERTHREADSIDOVR_EL1
register. The OS can update this register on context switches to select
which partition each process has access to.
[1]
https://developer.arm.com/documentation/100453/0401/L3-cache/L3-cache-partitioning?lang=en
--
Thx and BRs,
Aiqun(Maria) Yu
next reply other threads:[~2026-06-30 11:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-30 11:48 Aiqun(Maria) Yu [this message]
2026-06-30 14:59 ` James Morse
2026-12-01 7:55 ` Aiqun(Maria) Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26b8a5b2-666a-473c-aa78-c70fe0649474@oss.qualcomm.com \
--to=aiqun.yu@oss.qualcomm.com \
--cc=Dave.Martin@arm.com \
--cc=babu.moger@amd.com \
--cc=ben.horgan@arm.com \
--cc=fenghuay@nvidia.com \
--cc=james.morse@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=reinette.chatre@intel.com \
--cc=tony.luck@intel.com \
--cc=trilok.soni@oss.qualcomm.com \
--cc=x86@kernel.org \
--cc=yin.li@oss.qualcomm.com \
--cc=yiwei.huang@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®