![]() You can however see the absolute (max) speed with this command: $ lscpu On a multi-core system such as an i7 or i5 you can see this with this command: $ cat /proc/cpuinfo |grep MHz The line that shows cpu MHz doesn't show the maximum speed of your CPU. Specifically this line: model name : Intel(R) Core(TM) i5 CPU M 560 2.67GHz The absolute (max) CPU speed is being reported by this: $ cat /proc/cpuinfo The realtime speed of the CPU is reported by this: $ sudo cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq It's typically called CPU frequency scaling. To reiterate, it takes Linux 7.0 Watts to idle with the screen on, something that Macos can do for 3.2 Watts on the same computer.Most CPU's now include the ability to adjust their speed to help in saving on battery/power usage. With the screen blanked total power usage goes down to 4.5 Watts according to intel_gpu_top 2.3W of this is used by the CPU (and 0 Watts by the GPU). I've found intel_gpu_top what gives some insights about what is going on: GPU is almost idle consuming no energy, CPU is 99.7% idle consuming 3.0 Watts. brightnessctl set 21Įcho powersupersave > /sys/module/pcie_aspm/parameters/policyĮcho active > /sys/devices/system/cpu/intel_pstate/statusĮcho teo > /sys/devices/system/cpu/cpuidle/current_governorĮcho 1 > /sys/devices/system/cpu/intel_pstate/no_turboĮcho powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governorĮcho powersave > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governorĮcho powersave > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governorĮcho powersave > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governorĮcho power > /sys/devices/system/cpu/cpu0/power/energy_perf_biasĮcho power > /sys/devices/system/cpu/cpu1/power/energy_perf_biasĮcho power > /sys/devices/system/cpu/cpu2/power/energy_perf_biasĮcho power > /sys/devices/system/cpu/cpu3/power/energy_perf_bias Measured on a fairly simplified debian system running sway displaying a terminal. Here's my current powersave script that reduces idle power usage from 9 Watts to 7.0W. I am fine with this and ready to search, ask and make extra steps to achieve low idle power usage) (It is indeed largely eroded as I can use all the devices in the laptop even though the out-of-the-box experience is close but do not reach what macos provided about 8 years ago). On the other hand years passed and this inbalance towards macos should have been eroded. PROC CPUINFO MAC SOFTWAREI understand that mac software and hardware is very closely tied and information on this is somewhat walled. Idle macos uses 3.2 Watts, while idle Linux uses 8-9 Watts. removing all pci (subsequently usb) devices via sysfs (except vga and host:dram).On linux these did not or marginally lower power usage: Similar measurements on a 4GB 2015 macbook air.Fan makes the same, almost inaudible noise.Tested with two version of macos: mavericks and big sur and 3 linux distros: antix, pop_os, fedora.Power usage is measured running on battery, querying the internal battery for voltage, current, and charge left.Display brightness set to barely visible with auto brightness off, screensaver off.Top and powertop shows minimal CPU and no GPU usage.I noticed when I just edit text files in vi running in terminal, the battery runs out about twice as fast on linux. Recently I switched from macos to linux on a mid 2014 8GB retina macbook pro. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |