Live data from Hacker News

Tools to measure software energy consumption from your computer

luiscruz.github.io

31–40 of 72 posts

Re: Tools to measure software energy consumption from your computer

#31
for systems that use modeling that was built using measurement hardware, and then are able to make predictions without the hardware for android, also see:

A. Pathak, et, al, “Fine- grained power modeling for smartphones using system call tracing,” http://doi.acm.org/10.1145/1966445.1966460

L. Zhang, et, al. “Accurate online power estimation and automatic battery behavior based power model generation for smartphones”

i think that some android platform dev boards also have specialized hardware and that qualcomm has a whole system for measuring baseband energy usage.

Re: Tools to measure software energy consumption from your computer

#33

Westerners really will do literally anything about climate change except reckon with their corporate overlords who by far are the biggest contributors to climate destruction. Get real, your app using 15% less power makes literally zero difference. If you want to make a real difference, nationalize and seize energy corporations and whip them into shape under planned economic management. Anything short of that and clim…

I agree with you that "your app using 15% less power" is not a priority and that governments should be more involved. However, "nationalizing and seizing energy corporations " makes no difference, either.

What is your aim for the energy sector here?

To decarbonise it requires a lot of capital investment and innovation and it's only pragmatic to involve the private sector through the right incentives (both carrot and stick). It's also pragmatic to involve the state because private companies are not very good at projects that require high capital investments for very long term goals (for example, developing and building nuclear plants).

Re: Tools to measure software energy consumption from your computer

#34

Earlier quoted context omitted.

>reckon with their corporate overlords >nationalize and seize energy corporations and whip them into shape under planned economic management Genuinely asking, do you think this is an option anyone has? I firmly believe that over 50% of the country could want to do this and it STILL wouldn't be done.

As I briefly alluded to, the liberal democratic capitalist economic and political organization of western society, along with Anglo cultural notions of individualism in general, are entirely antithetical to addressing climate crisis, which requires long term coordination and economic planning, not the profit driven hawkery of the "free" market. And extreme individualism feeds into making this level of coordination co…

I suggest you to read up on how the alternatives to free-market capitalism have performed in environmental protection before pinning your hopes on them.

I was born and lived in the USSR. Since everything was state-owned and natural resources were allocated, not bought and sold and taxed, there was no incentive to use them efficiently. The result was horrible pollution everywhere, the like we see in modern-day China.

The famous commie blocks, for example, had no insulation nor ventilation to speak of. Instead, everyone were expected to keep a small window[1] open (even in winter) to ventilate, and the tremendous heat loss was compensated by 30-50% higher fuel consumption. Since it didn't have a price tag, wastage wasn't an issue. You couldn't save money by insulationg your home, because heating prices were artificial and unrelated to consumption. No-one else in the chain had any incentive to improve anything either, because that wouldn't have improved profit margins or anything else of that sort. Their wages were also fixed and unrelated to performance.

Eventually this led to environmental revolt, which was one of the drivers of USSR's collapse. Chernobyl and its coverup played a vital part in general disillusionment. The country was turning into an industrial wasteland before everyone's eyes.

Go ahead, do the same. Give Exxon oil fields for free, force people to work for them at artificial and undervalued wages[2], abolish pollution and all other taxes, close all competing oil companies[3], and jail every critic of your plan[4]. Surely that will work.

[1] https://en.wikipedia.org/wiki/Fortochka

[2] It was a crime to be unemployed. People were assigned to jobs when they finished school. https://en.wikipedia.org/wiki/Parasitism_(social_offense)

[3] Motherland needs only one.

[4] They must be insane to doubt you. Lock them up in a mental hospital. https://en.wikipedia.org/wiki/Political_abuse_of_psychiatry_...

Re: Tools to measure software energy consumption from your computer

#35
Also worth a mention is that Mozilla provide some cross-platform power monitoring tools as part of Firefox which you can build and run yourself:

https://firefox-source-docs.mozilla.org/performance/tools_po...

and a good description of how power consumption actually happens: https://firefox-source-docs.mozilla.org/performance/power_pr...

Re: Tools to measure software energy consumption from your computer

#36

Westerners really will do literally anything about climate change except reckon with their corporate overlords who by far are the biggest contributors to climate destruction. Get real, your app using 15% less power makes literally zero difference. If you want to make a real difference, nationalize and seize energy corporations and whip them into shape under planned economic management. Anything short of that and clim…

The only way we can do that is by voting for political parties that have climate policies, or do a coup. Neither can be done by one person. Making sure software used by many use less energy, can be done by a single developer.

Re: Tools to measure software energy consumption from your computer

#37

Westerners really will do literally anything about climate change except reckon with their corporate overlords who by far are the biggest contributors to climate destruction. Get real, your app using 15% less power makes literally zero difference. If you want to make a real difference, nationalize and seize energy corporations and whip them into shape under planned economic management. Anything short of that and clim…

>> nationalize and seize energy corporations and whip them into shape under planned economic management. Can you imagine not being able to heat your apartment/home, or your stores being empty because there's no fuel for trucks? Unless you can really picture that and still tell yourself "yup, I really do want that," you shouldn't be excited/confident about what you're proposing. I suspect you can't really imagine what…

> Can you imagine not being able to heat your apartment/home, or your stores being empty because there's no fuel for trucks? Unless you can really picture that and still tell yourself "yup, I really do want that," you shouldn't be excited/confident about what you're proposing.

This seems like an exaggeration. If anything, compare the current CO2 emissions per capita by country to get a better picture of how things would be in reality: https://i.redd.it/mnt8im0yvvd41.png

It'd probably be a shift in your standard of living, for example when going from the situation in the US (16.5 tonnes of CO2 per capita) to the situation in the UK (5.7 tonnes of CO2 per capita). I wouldn't say that the people in the UK have empty stores, but they definitely have a less rampant disregard for the environment while chasing profit margins.

In practice, if you wanted to be more environmentally friendly, you'd drive a hatchback instead of a SUV or would use public transportation, would live in an apartment building instead of having your own house, would eat meat once a week instead of once a day, would have a new phone and computer every 5 years instead of every year, as well as would do all of the other things that responsible people should do, including exercising your rights within a democratic government. That also seems to be working out great for the Scandinavian countries.

But the most important thing - you'd stop having so many kids and would lower your population density, on the path to which most European countries are already on. On an unrelated note, where i live (Latvia), heating my house is a matter of fetching some firewood and lighting the furnace: that way central heating takes care of making the rooms warm for everyone who lives in the house, while i can also use the furnace for making bread or anything else.

Sources for the visualization:

  [0] https://www.reddit.com/r/dataisbeautiful/comments/ew2sn7/per_capita_co2_emissions_by_country_oc/
  [1] https://www.icos-cp.eu/science-and-impact/global-carbon-budget/2019
  [2] https://data.worldbank.org/indicator/SP.POP.TOTL

Re: Tools to measure software energy consumption from your computer

#38

Westerners really will do literally anything about climate change except reckon with their corporate overlords who by far are the biggest contributors to climate destruction. Get real, your app using 15% less power makes literally zero difference. If you want to make a real difference, nationalize and seize energy corporations and whip them into shape under planned economic management. Anything short of that and clim…

>> nationalize and seize energy corporations and whip them into shape under planned economic management. Can you imagine not being able to heat your apartment/home, or your stores being empty because there's no fuel for trucks? Unless you can really picture that and still tell yourself "yup, I really do want that," you shouldn't be excited/confident about what you're proposing. I suspect you can't really imagine what…

> Can you imagine not being able to heat your apartment/home

https://www.theguardian.com/society/2021/jul/13/almost-40000...

> your stores being empty because there's no fuel for trucks?

https://www.theguardian.com/business/live/2021/sep/29/uk-pet...

OK, OK, this is a cheap shot and nowhere near as bad as it was in the Soviet Union, but the point is that the involvement of government in energy provision is kind of unavoidable and you can suffer supply and delivery crises under any system.

I'm just about old enough to have been a child when the UK utilities were privatized, along with rail, telecomms and everything else. What this means is that instead of having a single state-owned inaccessible monolith providing bad service, you have a single investor-owned private monolith providing bad service and returning profits to investors. (BT Openreach, Railtrack, National Grid Plc).

Even weirder is having foreign state owned companies in a ""competitive"" ""market"", such as DB or EDF.

I don't think nationalization is the solution on its own though, because what's needed is better policy. Nationalizing things into an incompetent state, which we are currently experiencing in the UK, will just make them worse.

Re: Tools to measure software energy consumption from your computer

#39

Westerners really will do literally anything about climate change except reckon with their corporate overlords who by far are the biggest contributors to climate destruction. Get real, your app using 15% less power makes literally zero difference. If you want to make a real difference, nationalize and seize energy corporations and whip them into shape under planned economic management. Anything short of that and clim…

I agree with the broader point -- there should be real legal and regulatory action, including things that many people find verboten like expropriation and nationalization, in the transportation, energy production, and food production sectors.

But I don't see the need to poo-poo this. Think of a complex multifaceted problem as a 2x2 square, where one axis is difficulty and the other axis is impact. I think it's very reasonable to defend a strategy that tackles high difficulty high impact problems + low difficulty problems regardless of impact, just because it creates a steady cadence of incremental wins, which are energizing.

Re: Tools to measure software energy consumption from your computer

#40

Westerners really will do literally anything about climate change except reckon with their corporate overlords who by far are the biggest contributors to climate destruction. Get real, your app using 15% less power makes literally zero difference. If you want to make a real difference, nationalize and seize energy corporations and whip them into shape under planned economic management. Anything short of that and clim…

> But of course, they will never do that.

Perhaps you can find a better way than venting your frustrations in an echo chamber.

Post reply on HN