Skip to content

Commit 13af537

Browse files
authored
Merge pull request #993 from intel/push-2025-12-09
Push 2025 12 09
2 parents 53c0066 + 66ec89e commit 13af537

5 files changed

Lines changed: 18 additions & 20 deletions

File tree

.github/workflows/macos-scan-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,14 @@ permissions:
1212
jobs:
1313
build:
1414

15-
runs-on: macOS-13
15+
runs-on: macos-15-intel
1616

1717
steps:
1818
- name: Harden Runner
1919
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
2020
with:
2121
egress-policy: audit
2222

23-
- name: Select Xcode 14.3.1
24-
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app/Contents/Developer
25-
2623
- name: Set SDKROOT and verify kernel headers
2724
shell: bash
2825
run: |
@@ -33,6 +30,10 @@ jobs:
3330
exit 1
3431
}
3532
33+
- name: install llvm 15
34+
run: |
35+
brew install llvm@15
36+
3637
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3738
with:
3839
submodules: recursive

.github/workflows/macosx_build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,14 @@ permissions:
1212
jobs:
1313
build:
1414

15-
runs-on: macOS-13
15+
runs-on: macos-15-intel
1616

1717
steps:
1818
- name: Harden Runner
1919
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
2020
with:
2121
egress-policy: audit
2222

23-
- name: Select Xcode 14.3.1
24-
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app/Contents/Developer
25-
2623
- name: Set SDKROOT and verify kernel headers
2724
shell: bash
2825
run: |

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)