Skip to content

Commit ed72980

Browse files
authored
[macOS] Disable PerfPowerServices (actions#13379)
1 parent eba51f8 commit ed72980

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

images/macos/scripts/build/configure-system.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.backupd.plist
3333
echo "Disable Apple Push Notification Service daemon"
3434
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.plist
3535

36+
echo "Set SMC monitoring cadence to 0 to reduce CPU usage"
37+
sudo defaults -currentHost write /Library/Preferences/com.apple.powerlogd SMCMonitorCadence 0
38+
39+
echo "Disable Performance and Power Management daemon if possible"
40+
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.PerfPowerServices.plist
41+
3642
# Remove Parallels Desktop
3743
# https://github.com/actions/runner-images/issues/6105
3844
# https://github.com/actions/runner-images/issues/10143

0 commit comments

Comments
 (0)