Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Energy Gentoo versus binary systems.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1549
Location: Montréal

PostPosted: Mon Nov 20, 2023 7:52 am    Post subject: Energy Gentoo versus binary systems. Reply with quote

It have pass to my mind how much more energy consume a source distribution versus a binary one to be both installed and maintained on the same system. Have it ever been measured? By expansion, if Gentoo was dominating the computer systems market it would use a lot more energy to compile Gentoo on each computer unless massive images copies.

Can Gentoo expand mainly by being a source distribution or it need the help of Gentoo binaries coming from preceeded compilations? Is Gentoo compatible with energy saving?

:wink:
_________________
Paul
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1005

PostPosted: Mon Nov 20, 2023 8:29 am    Post subject: Reply with quote

A question : Who compiled the binary packages for you/us and distribuite them over the network for the other distros ?
The Network infrastructure has much more energy comsuption

Binary packages don't come from < /dev/null :lol:
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30541
Location: here

PostPosted: Mon Nov 20, 2023 8:38 am    Post subject: Reply with quote

sabayonino wrote:
A question : Who compiled the binary packages for you/us and distribuite them over the network for the other distros ?
The Network infrastructure has much more energy comsuption

Binary packages don't come from < /dev/null :lol:

This is not entirely correct given that gentoo has its own mirrors, therefore an infrastructure, for distributing sources not from upstream.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1005

PostPosted: Mon Nov 20, 2023 9:13 am    Post subject: Reply with quote

I meant in general not just of Gentoo
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 53561
Location: 56N 3W

PostPosted: Mon Nov 20, 2023 11:12 am    Post subject: Reply with quote

Logicien,

Major Gentoo user don't
Quote:
compile Gentoo on each computer
.
They use Gentoo to make their own binary distro then install that once its tested.
e.g. Google and ChromeOS at one time.

Personally, I try to avoild building on low end systems, like my E-350 media player, assorted Raspberry Pis and so on.
How much energy has Gentoo saved by keeping old systems alive and out of landfill?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Goverp
Veteran
Veteran


Joined: 07 Mar 2007
Posts: 1908

PostPosted: Mon Nov 20, 2023 11:21 am    Post subject: Reply with quote

The best way to save energy is to switch the computer off. ... It also makes more free time available to the user. :-)

There's perhaps some small saving using Gentoo with USE flags and choosing which packages to install over (a) compiling everything (such as alternative desktops) and (b) producing code that runs faster because it's handling fewer configurations (and also using less memory). Using Gentoo AND building your own binary package server will probably produce a leaner and more efficient setup than selecting bits from a generic binary distro. Or if you are running some seriously intensive application, the savings from compiling with march=native, and LTO and PGO, may more than compensate for the compilation costs.

Then, of course, my study gets some extra heating from "make -j32" for the Linux kernel!
_________________
Greybeard
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1549
Location: Montréal

PostPosted: Mon Nov 20, 2023 11:43 am    Post subject: Reply with quote

Thank-you for your replies. Many binaries distributions allow us to install only the basic binaries set from which you add your personnal extra as you can do with Gentoo. Of course someone must compile something to have binaries. I suppose that's what binaries distributions do before offering their binaries set.

I have not think that the USE flags can make save energy by restricting the compiling options to it's values contain. In an other field, more you pass time on low level softwares less you have to high level ones. Is the goal of computing is to enjoy the high level softwares possibilities? In that field there is a lot to explore too. It's the user end goal and satisfaction.

It was just a funny thought.

:D
_________________
Paul
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 442

PostPosted: Mon Nov 20, 2023 2:00 pm    Post subject: Reply with quote

NeddySeagoon wrote:
How much energy has Gentoo saved by keeping old systems alive and out of landfill?

A good question indeed.
Back to top
View user's profile Send private message
flexibeast
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2022
Posts: 117
Location: Naarm/Melbourne, Australia

PostPosted: Mon Nov 20, 2023 10:53 pm    Post subject: Reply with quote

There have been some discussions on r/Gentoo on this topic, where people Did The (back-of-the-envelope) Maths:

https://old.reddit.com/r/Gentoo/comments/10v6s83/deleted_by_user/

https://old.reddit.com/r/Gentoo/comments/11opcux/anybody_here_ever_calculated_how_much_more_money/

Quoting one comment:

Quote:
The difference is absolutely tiny, and there are many other things people who are worried about this can do to reduce their power consumption far more than they can by just not using Gentoo (not playing video games for one, GPUs usually idle even lower, and peak way higher).

(And i wouldn't be surprised if there were many more gaming rigs in the world than Gentoo boxes.)
Back to top
View user's profile Send private message
zah21
n00b
n00b


Joined: 15 Jan 2021
Posts: 27

PostPosted: Tue Nov 28, 2023 12:44 am    Post subject: Reply with quote

How is this important from a computing perspective? Do you mean the effort needed to install & maintain Gentoo systems as opposed to binary equivalents?

If you're a regular Linux user, ubuntu or mint are usually good enough. Gentoo is important if you truly want to learn more about Linux on your own, but it doesn't all problems, creates more headaches in my opinion.

Still it's worth pursuing, especially if you have interest in Cyber Security, who knows you could create a secure baseline with minimal set of packages.
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 525
Location: New Zealand

PostPosted: Tue Nov 28, 2023 1:43 am    Post subject: Re: Energy Gentoo versus binary systems. Reply with quote

Logicien wrote:
Is Gentoo compatible with energy saving?

Depends how much energy you want to save. Is driving compatible with energy saving? Is using a computer at all compatible with energy saving?

Source-based distros probably use far more power than binary distros: vastly more than stable distros like Debian and Ubuntu LTS and so on. Even if there were thousands of servers involved in building the binaries, once they're distributed they sit there on all the installed systems. With Gentoo, not only are the binaries built separately on every user's systems, but it's rolling release, so for many users they're built over and over again. Some packages like Firefox and so on are regularly built over and over again on countless boxes all burning power to do this... so a rolling release source distro like Gentoo is probably about as bad as it can get, in terms of energy usage. No doubt this is somewhat offset by the fact that some of us are continuing to use very old systems, thus avoiding all the energy costs involved in producing new ones... but stable binary distros like Slackware also support old hardware and yet don't burn power with endless updates involving building from source.

It is what it is. If I really wanted to save energy I'd ride my bicycle everywhere. Bad global citizen that I am, I choose to get there faster by driving. Next to that spectacular waste of energy (and pollution of the atmosphere and serious threat to the lives of others on the road and so on and so on), I don't think I'm going to feel guilty about using my favourite distro.

[Edit] Actually that's another good point. How many of the geeks heating up their CPUs by building Gentoo would, if they weren't doing that, instead be heating up their GPUs as well by gaming? Every geek distracted from gaming by Gentoo is an energy saving ;)
Back to top
View user's profile Send private message
Goverp
Veteran
Veteran


Joined: 07 Mar 2007
Posts: 1908

PostPosted: Tue Nov 28, 2023 8:42 am    Post subject: Reply with quote

FWIW my desktop is in my study, which is heated by a thermostat-controlled radiator. So in winter, the heat from the PC eliminates an equivalent amount from the radiator. To be green, I shouldn't sync in summer :-)
_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum