I’m posting this as more of a “fun thought” than anything else.

It’s generally considered a fact that Linux, along with many other open-source software projects, are more efficient than their propriety closed-source counterparts, specifically in terms of the code that they execute.

There are numerous reasons for this, but a large contributing factor is that open-source, generally speaking, incentivises developers to write better code.

Currently, in many instances, it can be argued that Linux is often less power-efficient than its closed-source counterparts, such as Windows and OSX. However, the reason for this lies not in the operating system itself, but rather the lack of certain built-in hardware support for Linux. Yes, it’s possible to make Linux more power-efficient through configuring things differently, or optimizing certain features of your operating system, but it’s not entirely uncommon to see posts from newer Linux laptop users reporting decreased battery life for these reasons.

Taking a step back from this, though, and looking at a hypothetical world where Linux, or possibly other open-source operating systems and software holds the majority market share globally, I find it to be an interesting thought: How much more power efficient would the world be as a whole?

Of course, computing does not account for the majority of electricity and energy consumption, and I’m not claiming that we’d see radical power usage changes across the world, I’m talking specifically in relation to computing. If hardware was built for Linux, and computers came pre-installed with optimizations and fixes targetted at their specific hardware, how much energy would we be saving on each year?

Nanny Cath watching her YouTube videos, or Jonny scrolling through his Instagram feed, would be doing so in a much more energy-efficient manner.

I suppose I’m not really arguing much, just posting as an interesting thought.

39 points

It’s generally considered a fact that Linux, along with many other open-source software projects, are more efficient than their propriety closed-source counterparts

This is not necessarily true. Linux had trouble with Nvidia Optimus, which is a GPU technology that seamlessly switches between power modes. Well, that is if it works properly, which it didn’t for Linux. I haven’t heard it in a while, so I assume it’s not a problem now anymore.

But it was a big problem where Linux laptops drained batteries much faster because they were using the GPUs at max capacity at all times.

What I’m saying is that the efficiency of Linux depends on access to hardware features, and that might depend on the vendors of the drivers.

Also, like it or not, if there’s one thing I envy about Mac is its power efficiency. They usually last really long on one charge.

permalink
report
reply
7 points

I remember my laptop draining under an hour, thanks to the crappy Nvidia Optimus on X11, and the unbearable screen-tearing. This was during the time when I was using Fedora. I moved over to Wayland, without the nonfree drivers, because that was way more emery-efficient, and had my battery lasting for quite a long time.

permalink
report
parent
reply
1 point

Yes, I probably should have rephrased that as “are often more efficient” rather than implying that this is always the case. I do think, and I mentioned this somewhere else, though, that it’s quite a hard comparison to make. I’d probably make the argument that if the driver itself was the issue, making the driver open-source would likely (and that’s a “likely” going off an assumption which I can’t back up) be more efficient.

Generally speaking, my point does still apply for fully open-source software which has been developed specifically for Linux. Unfortunately, we won’t be seeing much mainstream Linux-bespoke software for a while, at least not until the year of the Linux desktop finally arrives.

I completely agree with what you’re saying, though.

permalink
report
parent
reply
20 points

I wonder how this calculus changes with the dawn of AI built into the OS… will a Linux system that avoids all that nonsense end up being more energy efficient?

permalink
report
reply
4 points

Probably not significantly, NPUs are very efficient at what they do

permalink
report
parent
reply
8 points

Yeah but what they do ain’t worth doing.

permalink
report
parent
reply
7 points
*

They still take energy

Also they aren’t capable of anything but computations so the CPU, ram and storage are still used.

permalink
report
parent
reply
1 point

yes

permalink
report
parent
reply
17 points

My Thinkpad that would have run 8 hours with Windows 7 runs 10 hours with Linux, despite the battery getting old.

permalink
report
reply
3 points

What ThinkPad is this?

permalink
report
parent
reply
6 points
*

Carbon X1 7th gen with thermal pads for the case because of annoying fan.

permalink
report
parent
reply
15 points

Energy efficiency can be offset by extra computational ability though.

Eg Linux has a plethora of CPU and IO schedulers and allows you to tune the system to maximise performance for your particular workload. Getting more performance than with the generic CPU and IO schedulers provided in other OS’s generally means more power consumption, unless you do some sort of “performance per watt” calculation to take that into account.

permalink
report
reply
3 points

You’re right in saying that. I might be wrong, but I’m fairly sure Parkinson’s Law of Data Processing is the name for this concept?

permalink
report
parent
reply
15 points

Linux used to be terrible in terms of battery life. However, that has changed significantly.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.6K

    Monthly active users

  • 5.8K

    Posts

  • 162K

    Comments