News for hackers. Stuff that matters.
Re:Your CPU may have slowed down on Wednesday by pjmlp on Tuesday June 22, 2021 @05:58AM (#27589762)
Many of those older computers are the first computer of someone around the globe still, at least as long as they keep working.
Re:Your CPU may have slowed down on Wednesday by pdimitar on Tuesday June 22, 2021 @06:05AM (#27589804)
Sure, not contesting this, but I meant my comment more along the lines of:

If I am to gauge my app's speed on an anemic hardware I'd prefer running it on a modern Atom or Celeron because (a) indeed they're anemic but (b) at least are more eco-friendly.

Re:Your CPU may have slowed down on Wednesday by fouric on Tuesday June 22, 2021 @03:41PM (#27596204)
Why does the eco-friendliness of the processor you're testing on matter at all? I can guarantee you that your users are not going to go out and purchase less power-efficient CPUs themselves just because you tested on a power-inefficient CPU yourself.

And, the amount of electricity that you, the developer, spend testing your code will almost always be eclipsed by that of your users if more than a dozen others use your tool.

So, again: why does it matter how power-efficient the CPU you're testing on is, as long as it's slow (to produce the proper throttling effect)?

Re:Your CPU may have slowed down on Wednesday by pdimitar on Tuesday June 22, 2021 @04:01PM (#27596454)
You are right, they aren't related per se.

I was alluding to replacing the idea of holding on to a Pentium 4 with buying a modern, more eco-friendly, but ultimately just as anemic, CPU.

Not a perfectly representative test, sure, I just felt that it was a good compromise between "test your code on weak machines" and "be environmentally responsible".

So yep, I did conflate weak CPU with low-wattage CPU, you are right.

Re:Your CPU may have slowed down on Wednesday by thrwaeasddsaf on Tuesday June 22, 2021 @07:34AM (#27590383)
If you're going that route, I'd focus on small & cheap SBCs. A bare, credit card sized ARM computer is probably going to be more ecological (both in manufacture and operation) than an Intel PC.
Re:Your CPU may have slowed down on Wednesday by pdimitar on Tuesday June 22, 2021 @07:52AM (#27590521)
Yes, and I do just that where I can. One of my home servers is exactly an ARM SBC and I am very happy to see it idle at <5W.

(Also pondering moving my NAS to an ARM SBC as well but not sure it's worth the hassle since the mini Intel i3 PC idles at 10W.)

For work however, a programmer just can't do with those underpowered machines if they want to be productive and not wait 3 minutes for incremental compilation after each change they make (which an LSP server does, and even if it didn't, re-running tests does the same anyway).

I am happy to work on a more ecological machine if somebody optimizes the dev tooling and my programming languages' of choice compilers and linkers. I'd absolutely love it if all my machines idled at 5W and peaked at 35W. But if I am to support my family, that stance isn't easily achievable today. Yet.

Re:Your CPU may have slowed down on Wednesday by wrycoder on Tuesday June 22, 2021 @10:19AM (#27591948)
Meanwhile, my Starlink dish is idling at 100 watts, which works out to be about eight percent of my electrical bill.
Re:Your CPU may have slowed down on Wednesday by kergonath on Tuesday June 22, 2021 @06:47AM (#27590055)
Do you include the cost of manufacturing in your calculations? There is a point where newer and more efficient is better, but in general it’s better to hold on devices for longer.
Re:Your CPU may have slowed down on Wednesday by pdimitar on Tuesday June 22, 2021 @06:51AM (#27590077)
I don't, mostly because the manufacturers are far disconnected from the needs of the end users of computing -- they mostly serve big businesses. So the machines end up manufactured anyway.

On this lane of thought, I'd say better to buy a laptop today (that's much greener than everything before it) that you can hold on to for 10+ years than holding on to another that has long passed its expiration date. But I am aware that this is not always a popular opinion.

Re:Your CPU may have slowed down on Wednesday by addingnumbers on Tuesday June 22, 2021 @10:29AM (#27592073)
> the manufacturers are far disconnected from the needs of the end users of computing -- they mostly serve big businesses

Same goes for power. They're not going to burn one less lump of coal because your laptop uses 100W instead of 300W

Re:Your CPU may have slowed down on Wednesday by madpata on Tuesday June 22, 2021 @10:58AM (#27592500)
That's true if one only talks about one person using an extra 200W. But it matters when it's about millions of people using an additional 200W.
Re:Your CPU may have slowed down on Wednesday by pdimitar on Tuesday June 22, 2021 @01:46PM (#27594747)
Even then, such big organizations react slowly to change.

Even when we collectively manage to reduce our energy usage they'll likely divert the extra energy to another power substation for storage and redundancy.

So don't think that me and others are defeatist. It's just that the entire grid is well planned for so that any difference we can make, even as 100_000 people, is still not as big. So this whole thing will take a while, likely decades.

In the meantime I was very happy when I replaced a fridge with 43kW monthly expense with a 19kW one, about two years ago.

Re:Your CPU may have slowed down on Wednesday by cesarb on Tuesday June 22, 2021 @02:09PM (#27595048)
> Even when we collectively manage to reduce our energy usage they'll likely divert the extra energy to another power substation for storage and redundancy.

That's not how it works. On the electric grid, generation must always be precisely matched with consumption, otherwise things can literally burn up. Any excess of generation will cause an increase in voltage and frequency, any lack of generation will cause a drop in voltage and frequency. That's why the generation always follow the consumption; all generators sense changes in consumption (by measuring the system frequency), and adjust their input to match (for instance, by adjusting the fuel intake). When they don't (usually because the change was too fast, like when large blocks of generators or consumers drop suddenly from the grid), protective systems will disconnect the generators and/or consumers until the grid is balanced again. Storage (which is still uncommon) only does a temporal shift of the consumption and/or generation, it doesn't change the amount (other than the inevitable losses).

That is, if you use 200W less, the generators will adjust to generate 200W less power (actually a bit more than 200W, because of losses). If millions of people use 200W less, the generators will adjust to generate hundreds of megawatts less power.

Re:Your CPU may have slowed down on Wednesday by pdimitar on Tuesday June 22, 2021 @02:17PM (#27595156)
In that case -- great! I happily stand corrected.
Re:Your CPU may have slowed down on Wednesday by jfrunyon on Tuesday June 22, 2021 @07:34AM (#27590386)
Big businesses are the end users of computing. But that doesn't change anything. Why do big businesses have to upgrade their computers every few years?
Re:Your CPU may have slowed down on Wednesday by pdimitar on Tuesday June 22, 2021 @08:04AM (#27590618)
That I don't know. I personally wouldn't. I've seen big companies where 100+ people who just do Zoom / Excel / Jira all day have MacBook Pros, which is insanity.

I was simply mentioning that the machines get manufactured anyway so I definitely refuse to be guilt-tripped into "it's your fault that those machines exist!" extremist stance. No, it's not my fault. The machines are manufactured regardless of what I do so every 7-8 years I evaluate the market and upgrade.

Reasons are simple -- most modern software gets slower all the time and I still need to work and support my family. I would hold onto my machines for a lifetime but it's not the reality we live in and I wish the downvoters stopped being so tunnel-visioned and were aware of that.

Re:Your CPU may have slowed down on Wednesday by moonbug on Tuesday June 22, 2021 @11:34AM (#27593002)
> do Zoom / Excel / Jira all day have MacBook Pros, which is insanity.

Agreed. A base MacBook Pro isn't nearly powerful enough for all 3 of those at once.

Re:Your CPU may have slowed down on Wednesday by pdimitar on Tuesday June 22, 2021 @01:52PM (#27594812)
LOL! You have a good point. :D