diff --git a/images/macos/scripts/build/configure-system.sh b/images/macos/scripts/build/configure-system.sh index a5f86774b..f4a537a79 100644 --- a/images/macos/scripts/build/configure-system.sh +++ b/images/macos/scripts/build/configure-system.sh @@ -33,6 +33,12 @@ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.backupd.plist echo "Disable Apple Push Notification Service daemon" sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.plist +echo "Set SMC monitoring cadence to 0 to reduce CPU usage" +sudo defaults -currentHost write /Library/Preferences/com.apple.powerlogd SMCMonitorCadence 0 + +echo "Disable Performance and Power Management daemon if possible" +sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.PerfPowerServices.plist + # Remove Parallels Desktop # https://github.com/actions/runner-images/issues/6105 # https://github.com/actions/runner-images/issues/10143