Skip to content

Commit 84a799b

Browse files
committed
doc: add disabledCstates to balloons documentation
Signed-off-by: Antti Kervinen <[email protected]>
1 parent 3760212 commit 84a799b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/resource-policy/policy/balloons.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Balloons policy parameters:
187187
request less.
188188
- `cpuClass` specifies the name of the CPU class according to which
189189
CPUs of balloons are configured. Class properties are defined in
190-
separate `cpu.classes` objects, see below.
190+
separate `control.cpu.classes` objects, see below.
191191
- `pinMemory` overrides policy-level `pinMemory` in balloons of this
192192
type.
193193
- `memoryTypes` is a list of allowed memory types for containers in
@@ -310,6 +310,15 @@ Balloons policy parameters:
310310
important than avoiding balloon's own load.
311311
- `control.cpu.classes`: defines CPU classes and their
312312
properties. Class names are keys followed by properties:
313+
- `disabledCstates` is a list of c-state names that are disabled
314+
for CPUs in this class. Disabling deepest c-states lowers
315+
latencies by preventing CPUs from entering deepest powersaving
316+
states while processes are idle or wait for data. C-states
317+
available in a system can be listed with `grep
318+
. /sys/devices/system/cpu/cpu0/cpuidle/state*/name`. C-states
319+
not listed in `disabledCstates` will be enabled. Disabling
320+
non-existent c-states is silently ignored. Disabling c-states
321+
does not affect min/max frequencies or vice versa.
313322
- `minFreq` minimum frequency for CPUs in this class (kHz).
314323
- `maxFreq` maximum frequency for CPUs in this class (kHz).
315324
- `uncoreMinFreq` minimum uncore frequency for CPUs in this
@@ -390,6 +399,7 @@ spec:
390399
maxFreq: 3600000
391400
uncoreMinFreq: 2000000
392401
uncoreMaxFreq: 2400000
402+
disabledCstates: [C6, C8, C10]
393403
instrumentation:
394404
httpEndpoint: :8891
395405
prometheusExport: true

0 commit comments

Comments
 (0)