forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation: admin-guide: pm: Document uncore frequency scaling
Added documentation to configure uncore frequency limits in Intel Xeon processors. Signed-off-by: Srinivas Pandruvada <[email protected]> [ rjw: Clean up the document wording ] Signed-off-by: Rafael J. Wysocki <[email protected]>
- Loading branch information
1 parent
7e57714
commit a644161
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
Documentation/admin-guide/pm/intel_uncore_frequency_scaling.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
.. SPDX-License-Identifier: GPL-2.0 | ||
.. include:: <isonum.txt> | ||
|
||
============================== | ||
Intel Uncore Frequency Scaling | ||
============================== | ||
|
||
:Copyright: |copy| 2022 Intel Corporation | ||
|
||
:Author: Srinivas Pandruvada <[email protected]> | ||
|
||
Introduction | ||
------------ | ||
|
||
The uncore can consume significant amount of power in Intel's Xeon servers based | ||
on the workload characteristics. To optimize the total power and improve overall | ||
performance, SoCs have internal algorithms for scaling uncore frequency. These | ||
algorithms monitor workload usage of uncore and set a desirable frequency. | ||
|
||
It is possible that users have different expectations of uncore performance and | ||
want to have control over it. The objective is similar to allowing users to set | ||
the scaling min/max frequencies via cpufreq sysfs to improve CPU performance. | ||
Users may have some latency sensitive workloads where they do not want any | ||
change to uncore frequency. Also, users may have workloads which require | ||
different core and uncore performance at distinct phases and they may want to | ||
use both cpufreq and the uncore scaling interface to distribute power and | ||
improve overall performance. | ||
|
||
Sysfs Interface | ||
--------------- | ||
|
||
To control uncore frequency, a sysfs interface is provided in the directory: | ||
`/sys/devices/system/cpu/intel_uncore_frequency/`. | ||
|
||
There is one directory for each package and die combination as the scope of | ||
uncore scaling control is per die in multiple die/package SoCs or per | ||
package for single die per package SoCs. The name represents the | ||
scope of control. For example: 'package_00_die_00' is for package id 0 and | ||
die 0. | ||
|
||
Each package_*_die_* contains the following attributes: | ||
|
||
``initial_max_freq_khz`` | ||
Out of reset, this attribute represent the maximum possible frequency. | ||
This is a read-only attribute. If users adjust max_freq_khz, | ||
they can always go back to maximum using the value from this attribute. | ||
|
||
``initial_min_freq_khz`` | ||
Out of reset, this attribute represent the minimum possible frequency. | ||
This is a read-only attribute. If users adjust min_freq_khz, | ||
they can always go back to minimum using the value from this attribute. | ||
|
||
``max_freq_khz`` | ||
This attribute is used to set the maximum uncore frequency. | ||
|
||
``min_freq_khz`` | ||
This attribute is used to set the minimum uncore frequency. | ||
|
||
``current_freq_khz`` | ||
This attribute is used to get the current uncore frequency. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ Working-State Power Management | |
cpufreq_drivers | ||
intel_epb | ||
intel-speed-select | ||
intel_uncore_frequency_scaling |