Skip to content

Commit 84ba053

Browse files
author
Daniel Chadwick
committed
osdocs17086 Configuring Last Level Cache locality for MicroShift
1 parent 33ace5c commit 84ba053

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

microshift_configuring/microshift_low_latency/microshift-low-latency.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ include::modules/microshift-install-rpms-low-latency.adoc[leveloffset=+1]
1919

2020
include::modules/microshift-low-latency-config-yaml.adoc[leveloffset=+1]
2121

22+
include::modules/microshift-low-latency-llc-config.adoc[leveloffset=+1]
23+
2224
//additional resources for the config.yaml
2325
[role="_additional-resources"]
2426
.Additional resources
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * microshift_configuring/microshift_low_latency/microshift-low-latency.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="microshift-low-latency-llc-config_{context}"]
7+
= Configuring Last Level Cache locality for MicroShift
8+
9+
[role="_abstract"]
10+
You can configure Last Level Cache (LLC) locality to optimize latency-sensitive workloads. This feature is particularly beneficial for applications running on AMD CPUs, as it enables the CPU manager to align CPUs by their uncore cache (LLC).
11+
12+
[IMPORTANT]
13+
====
14+
Configuring Last Level Cache locality is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production.
15+
====
16+
17+
To use this feature, you must enable the `CPUManagerPolicyBetaOptions` feature gate and configure the `kubelet` settings in your MicroShift configuration file to prefer aligning CPUs by the uncore cache.
18+
19+
.Procedure
20+
21+
. Open the MicroShift configuration file (`/etc/microshift/config.yaml`) with root privileges.
22+
23+
. Add the following configuration to the file:
24+
+
25+
.Example `config.yaml` with LLC locality enabled
26+
[source,yaml]
27+
----
28+
api:
29+
featureGates:
30+
customNoUpgrade:
31+
enabled: CPUManagerPolicyBetaOptions
32+
kubelet:
33+
reservedSystemCPUs: "0"
34+
cpuManagerPolicy: static
35+
cpuManagerPolicyOptions:
36+
prefer-align-cpus-by-uncorecache: "true"
37+
----
38+
39+
. Save the file and restart the MicroShift service to apply the changes.

0 commit comments

Comments
 (0)