3 ms·
Interesting. Do we have a concrete reason why, e.g., TLP[0] falls short of the power management features offered on other OSes? [0]: https://linrunner.de/tlp/
by r-w 4y ago
Interesting. Do we have a concrete reason why, e.g., TLP[0] falls short of the power management features offered on other OSes?
[0]: https://linrunner.de/tlp/ https://linrunner.de/tlp/
- jeffbee 4y agoOne reason is all the binary artifacts are peak-optimized for the platform and this yields significant, often 10-20% lower CPU usage than plain vanilla binaries offered by all other Linux distributions. This includes the kernel, which in ChromeOS is built with LLVM with profile-guided optimization. Faster software translates directly to longer battery life. Every other distribution is years behind Google in terms of tooling.
- binkHN 4y ago> Every other distribution is years behind Google in terms of tooling. Can you expand on this? Perhaps a URL with more detail?
- jeffbee 4y agoI'm not sure if there are any single good URLs I can give you. The best way to learn is to read the chromiumos repo and see how they build the image, how they collect and deploy profiles, etc. You can also look at the mailing list of clang-built-linux to see how their kernel is built with clang and how they integrated that with their profile pipeline. In the end though it is cultural and not technical. Debian will bend over backwards to make sure That One Guy can still install the latest version on his old Centaur CPU, from floppies. ChromeOS is laser-targeted for specific, allow-listed hardware platforms. If you are philosophically committed to the eternal comfort of That One Guy, the Debian way makes more sense. If you just want software that's faster and more secure, ChromeOS has the better way.
- pksebben 4y agoI'd just like to put a vote of confidence in for That Guy, I think we should absolutely have an option for them. Which is a roundabout way of saying; it's critically important that we don't over-optimize for the central, happy path (just wanna browse securely on whatever hardware ya got). The most interesting things (and the most valuable) frequently come from the edge cases, which are absolutely supported by keeping an eye on the needs of "That One Guy". Unix interoperability has given us a bounty of awesome shit and I anticipate it will continue to do so.
- caskstrength 4y agoWe don't because it doesn't. Battery life of ThinkPad that supports Linux with TLP installed and properly configured will be very similar to Windows. And to address FUD from other reply to your question: AFAIK official Firefox builds for Linux use PGO as well, however PGO has quite less impact on battery life than what another commenter suggests.