this post was submitted on 10 Aug 2024
109 points (96.6% liked)

Linux

47233 readers
787 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] magic_lobster_party@kbin.run 38 points 1 month ago (2 children)

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.

[–] velox_vulnus@lemmy.ml 7 points 1 month ago

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.

[–] DNAmaster10@lemmy.sdf.org 1 points 1 month ago

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.