6 ms·
Is it possible to get better than Windows power management with this tool? How?
by yewenjie 5y ago
Is it possible to get better than Windows power management with this tool? How?
- nixpulvis 5y agoWhat is Window?
- na85 5y agoIt's an operating system. https://www.microsoft.com/en-ca/windows https://www.microsoft.com/en-ca/windows
- nixpulvis 5y agoOh wow! And how does this magical Windows handle power so well?
- nindalf 5y agoBetter to flag bad faith comments rather than reply in earnest.
- nixpulvis 5y agoNot bad faith, just bad form. I was probing for an explanation as to how Windows worked that needs beating by use of powertop. Power management is a wholistic concept for a computer. I appreciate that the comment was probably more along the lines of "how can I find slow processes on Windows" or something else that powertop may be useful for here.
- yaantc 5y agoI'd recommend just installing the "tlp" package, it includes most of what PowerTOP does and is "install and forget". Just an anecdote: I'm using Linux on a professional laptop, the same most of my colleagues use with Windows 10 (Latitude 7490). My battery life is significantly higher, high enough that I never care really, and the laptop is quieter: hearing the fan is the exception, not the norm. All this with Debian and the TLP package installed. The TLP configuration is just tweaked to aggressively idle the SSD (no spin down / spin up issue anymore) but that's it. I did this a long time ago when I moved from HDD to SSD, and just carry this over. A good deal of the difference may come from the antivirus on Windows, but TBC.
- quijoteuniv 5y agoI have a low end HP because i needed a windows machine for some studies. The thing goes straight into fans on windows, when running on ubuntu almost never. Only when rebooting from windows to ubuntu and needs cooling down. There is only one explanation for that.
- hbogert 5y agoNot sure if better. But the biggest change in my case was not all the changes suggested by powertop, but probably kernel changes.went from 8-9w idle, to 5-6w. Over the course of 2 years wit a Lenovo t480s. I think that 5-6w is slightly better than windows.
- raegis 5y agoI get less than 5W idle on my T480 using TLP running on Debian Bullseye. Didn't have to config anything. But still it's only 8 hours.
- gjs278 5y agoall windows is doing is different frequency scaling or turning off certain features when not in use. all the same things can be replicated or improved in linux, but you have to dig. power top makes it easier. some power settings can be fixed in the bios as well to benefit both OS.
- chrismorgan 5y agoI recently got my new ASUS GA503QM (AMD Ryzen 5800HS) able to consume less power than Windows, but adjusting the CPU’s limits¹ and changing the scaling governor² did much more for obtaining protracted battery life than PowerTOP did. I even discovered that if limit the CPU to an small enough value (e.g. 0.1W, not that it’s actually capable of going that low), it reduces the clock speeds to 400MHz (compared to its usual baseline of 1.2GHz, which is still the baseline even when limited to 5W). The system certainly feels much slower with all cores at 400MHz than it does with all cores at 4GHz! But still quite usable in general. ¹ e.g. `ryzenadj -a 5000 -b 5000 -c 5000` for roughly a 5W TDP. ² From schedutil to powersave: `echo powersave | sudo tee /sys/devices/system/cpu/cpufreq/policy*/scaling_governor >/dev/null`
- darkfirefly 5y agoAlternatively, I used zenstates and played around with VID values on different p-states (or is it c-states? I can't remember) which allowed my cores to go from ~400Mhz and then speed up as necessary. There's info scattered around on the internet for how to do this; I don't have my script to do this easily accessible atm. I do concur on the governor's though, nothing else really makes much of a different. My old HP laptop I permanently had on the powersave scheder and it would draw about 2.5W - the battery life was stupidly ridiculous. My new AMD Lenovo I can't even get below 6W by the same method unfortunately.
- chrismorgan 5y agoI haven’t compared power consumption for a full cycle of active use at 400MHz flat and 1.2GHz flat. I should try it. But as to whether it’s worth reducing the idle frequency, I doubt it: I observe no measurable difference between the two frequencies at idle—though it’s made harder by the fact that the /sys/class/power_supply/BAT0/power_now figure seems to take some time, even minutes, to reach a steady point, e.g. slowly drifting down from 7W to 6.6W. And the lowest it’ll reach seems to vary a lot, e.g. sometimes it won’t drop below 6.6W, and other times it’ll settle to 6.1W, about the lowest I’ve measured. But at 400MHz flat it can’t quite get it to 9W with a dozen or so `while True: pass` busy loops in Python, while at 5W (1.2GHz) I can get it up to almost 11.5W. (And then I throw it into boost mode and watch it climb rapidly to 64W while remaining dead silent, and wonder why the fan isn’t roaring away as it’s supposed to in boost mode and what of my fiddling just now prevented it from doing its job.) Even these comparisons aren’t great because of the lack of GPU load. Wonder if I can throttle that at all?