Skip to content

Commit 8fdf97b

Browse files
committed
rename default mode into optimized power mode
Change-Id: I6a735674deece7c2f8ad42a79ba82a889e24abc2
1 parent dca3221 commit 8fdf97b

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

doc/LATENCY-OPTIMIZED-MODE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ The hardware monitors the average CPU utilization across all cores at regular in
88

99
The screenshot above presents real-time data on uncore frequency statistics, measured in GHz, from a dual-socket platform (represented by two rows). Each socket includes five dies (organized into five columns). The first three dies contain CORes (COR), Last Level Cache (LLC), and Memory controllers (M), collectively referred to as CORLLCM. The final two dies are IO dies.
1010

11-
The ELC control has parameters that can be adjusted either through BIOS or software tools. The default parameter configuration is optimized for performance per watt, ensuring power efficiency. The alternative configuration, known as Latency Optimized Mode, prioritizes maximum performance.
11+
The ELC control has parameters that can be adjusted either through BIOS or software tools. The default parameter configuration can be optimized for performance per watt, ensuring power efficiency. The alternative configuration, known as Latency Optimized Mode, prioritizes maximum performance.
1212
Below are the PCM statistics from a system operating in Latency Optimized Mode:
1313

1414
![Uncore Frequency Statistics Latency Optimized Mode](https://github.com/user-attachments/assets/70310bbc-725b-4450-af7a-1db2c04291dd)
1515

1616
## BIOS Options for Latency Optimized Mode
1717

18-
The BIOS option for selecting the Default or Latency Optimized Mode can typically be located in the following menus, depending on the BIOS version and OEM vendor:
18+
The BIOS option for selecting the Optimized Power Mode or Latency Optimized Mode can typically be located in the following menus, depending on the BIOS version and OEM vendor:
1919
- **Socket Configuration** -> **Advanced Power Management** -> **CPU – Advanced PM Tuning** -> **Latency Optimized Mode** (Disabled or Enabled)
20-
- **System Utilities** -> **System Configuration** -> **BIOS/Platform Configuration (RBSU)** -> **Power and Performance Options** -> **Advanced Power Options** -> **Efficiency Latency Control** (Default or Latency Optimized mode)
20+
- **System Utilities** -> **System Configuration** -> **BIOS/Platform Configuration (RBSU)** -> **Power and Performance Options** -> **Advanced Power Options** -> **Efficiency Latency Control** (Default (Optimized Power Mode) or Latency Optimized mode)
2121

2222
Should this BIOS option be unavailable or if there is a preference to change the mode during runtime, the PCM repository provides scripts for changing this mode.
2323

@@ -46,16 +46,16 @@ Windows:
4646
.\bhs-power-mode.ps1 --latency-optimized-mode
4747
```
4848

49-
### Restoring the Default Mode
49+
### Setting Optimized Power Mode
5050

5151
Linux/FreeBSD/UNIX:
5252
```
53-
bash bhs-power-mode.sh --default
53+
bash bhs-power-mode.sh --optimized-power-mode
5454
```
5555

5656
Windows:
5757
```
58-
.\bhs-power-mode.ps1 --default
58+
.\bhs-power-mode.ps1 --optimized-power-mode
5959
```
6060

6161

scripts/bhs-power-mode.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Write-Output "Birch Stream Power Mode Utility"
33
Write-Output ""
44

55
Write-Output " Options:"
6-
Write-Output " --default : set default power mode"
6+
Write-Output " --optimized-power-mode : set optimized power mode"
77
Write-Output " --latency-optimized-mode : set latency optimized mode"
88
Write-Output ""
99

@@ -29,8 +29,8 @@ $output -split "`n" | ForEach-Object {
2929
}
3030
}
3131

32-
if ($args[0] -eq "--default") {
33-
Write-Output "Setting default mode..."
32+
if ($args[0] -eq "--optimized-power-mode") {
33+
Write-Output "Setting optimized power mode..."
3434

3535
foreach ($die in $io_dies) {
3636
# EFFICIENCY_LATENCY_CTRL_RATIO (Uncore IO)

scripts/bhs-power-mode.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo "Birch Stream Power Mode Utility"
55
echo ""
66

77
echo " Options:"
8-
echo " --default : set default power mode"
8+
echo " --optimized-power-mode : set optimized power mode"
99
echo " --latency-optimized-mode : set latency optimized mode"
1010
echo
1111

@@ -29,8 +29,8 @@ while read -r line; do
2929
fi
3030
done <<< "$output"
3131

32-
if [ "$1" == "--default" ]; then
33-
echo "Setting default mode..."
32+
if [ "$1" == "--optimized-power-mode" ]; then
33+
echo "Setting optimized power mode..."
3434

3535
for die in "${io_dies[@]}"; do
3636
# EFFICIENCY_LATENCY_CTRL_RATIO (Uncore IO)

0 commit comments

Comments
 (0)