💻 Software
Linux: CPU core shutdown instead of sleep state
Fresh5 days ago
Mar 15, 20269672 viewsConfidence Score0%
0%
Problem
In Linux you can shut down CPU cores (or physical CPU's) with echo 0 > /sys/devices/system/cpu/cpu1/online Assuming that the hardware fully turn off the CPU and cuts power to it would it not be better to disabled the cores entirely instead of relying on the various sleep states of a processor? To i…
Error Output
if(loadavg > 3.00) echo 1 > /sys/devices/system/cpu/cpu3/online if(loadavg < 3.00) echo 0 > /sys/devices/system/cpu/cpu3/online if(loadavg > 2.00) e…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Linux: CPU core shutdown instead of sleep state
Low Risk
Setting the online status of the CPU core just tells the process scheduler to not use that core for any processes. On a hardware level, the core is simply sitting idle (doing s), but still powered. While this will save power, it won't save nearly as…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix