Greener Windows? Microsoft previews EcoQoS and Task Manager Eco Mode for would-be power-sipping devs
- Reference: 1619107273
- News link: https://www.theregister.co.uk/2021/04/22/greener_windows_microsoft_previews_ecoqos/
- Source link:
As such, Microsoft has requested developers use an API, where appropriate, that asks Windows to trade performance for efficiency. According to program manager [1]Raymond Li , the new Quality of Service (QoS) level means "higher clock speeds provide higher performance but with exponentially higher power consumption."
[2]
Essentially, an application can achieve the same work more efficiently by running slower. The API requires knowledge of the hardware and initial tuning will support Intel 10th and 11th generation mobile processors, AMD Ryzen 5000 mobile processors, and Qualcomm processors. Li said that support for desktop PCs will come later.
Developers can opt into EcoQos per process (such as for a complete application) or per thread, using the API calls SetProcessInformation and SetThreadInformation. These API calls are not new, and although Li did not spell this out in the post, it looks as if EcoQoS is more about improving the implementation of ProcessPowerThrottling. Suggested use cases include background services, sync engines, indexers and update services.
Li has also [3]posted about Task Manager Eco Mode, which will be a right-click option in the Processes view, in the Windows utility for managing running applications and background processes.
[4]
Task Manager already has an option for Set Priority, which determines how CPU time is allocated, but this does not change the speed at which the CPU runs.
[5]
Eco mode in Task Manager, now in preview in Windows 10 Insider
CPU power consumption
Another relevant existing setting is Power Throttling, which determines whether the process invokes CPU power management features (such as Intel's SpeedStep and SpeedShift) to reduce power consumption. Power Throttling is generally disabled when a PC is plugged into mains. In the past, the main focus of attention for reducing PC power consumption has been prolonging battery life, but in the context of climate change, power consumption irrespective of the power source is key.
Over on the Windows Insider blog, Microsoft's principal program manager Amanda Langowski and senior program manager Brandon LeBlanc [6]said that Eco Mode will be handy to tame applications that are grabbing too many resources. This does seem to confuse the idea of power saving with that of priority though. Possibly it can do double-duty.
[7]
According to Li, EcoQoS provides "up to a 90 per cent reduction in CPU power consumption" and consumes "less than half the CPU energy to complete the same work." Other benefits are reduced heat and fan noise, and better performance from concurrent workloads.
EcoQos and Task Manager Eco Mode are enabled in Insider build 21364 of Windows 10, though Langowski and Leblanc said that "this feature is rolling out to a subset of Insiders in the Dev Channel at first" and we were not one of the lucky ones to find Eco Mode in our install.
The feature does, however, raise some questions. Microsoft is hyping EcoQos as part of green initiatives including one called Sustainable Software and another called Carbon Negative by 2030. To achieve such goals though, Eco Mode will have to apply to more than just background processes like indexers and updaters.
Microsoft's Green Cloud Advocacy lead Asim Hussain has kicked off a personal project called [8]Green Software Engineering that lays out a set of principles for building energy-efficient applications, while software engineer Sara Bergman has [9]posted about measuring the power consumption of mobile applications.
Such initiatives seem worthy: but how many product teams at Microsoft will be willing to sacrifice cool features for the sake of power-efficiency, or mark applications for EcoQos at the expense of user experience? The company will also need to make progress on ARM64 computing to achieve a more power-efficient Windows. ®
Get our [10]Tech Resources
[1] https://devblogs.microsoft.com/performance-diagnostics/introducing-ecoqos/
[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YIHx@CHgAjjPQkSJBuYhkQAAAIs&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[3] https://devblogs.microsoft.com/performance-diagnostics/reduce-process-interference-with-task-manager-eco-mode/
[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YIHx@CHgAjjPQkSJBuYhkQAAAIs&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[5] https://regmedia.co.uk/2021/04/22/task-manager-eco.png
[6] https://blogs.windows.com/windows-insider/2021/04/21/announcing-windows-10-insider-preview-build-21364/
[7] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YIHx@CHgAjjPQkSJBuYhkQAAAIs&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[8] https://principles.green/
[9] https://devblogs.microsoft.com/sustainable-software/how-to-measure-the-energy-consumption-of-your-apps/
[10] https://whitepapers.theregister.com/
Alternately
Do you know you can create multiple recycle bin icons with different names.
You can then tell your users that they have to 'recycle' text documents and colour pictures in separate bins because of new Eu / EPA regulations.
Then see who laughs ....
Re: Alternately
Don't forget to tell them that they can only empty the documents bin on mondays!
Re: Alternately
...and they’re being watched by their webcam to make sure they drag icons to the correct recycle bin, and it’s all perfectly legal under RIPA...
Task Manager Eco Mode
Yeah, I could treat this announcement with a miniscule morsel of credibility, were it not for Windows Update continually pushing out what must be petabytes of updates to millions of PCs around the world because of their crappy coding . How about thinking of a way to reduce that carbon footprint, namely write and test your software properly and stop rushing it out before it's ready because you're terrified of not being "first to market" with some underwhelming new feature.
And how about not having to run a sodding word processor in your very profitable but very power thirsty "cloud"? No, we'll just conveniently forget about all that stuff and try and market some irrelevant task manager thread scheduler as some big green planet saving deal in order to have a bit of greenwash feelgood marketing brag.
Windows update failures
I’ve often wondered how many power stations are required just to keep machines in the state of updating, or as is often the case, stuck on updating windows, and failing a lot of the time
Save energy?
So this saves energy by making an application slower? Well apart from wasting my time (when I could be out planting trees or something) and burning more electricity to power my monitors, wont this give Windows even more chances to decide to do a burst of unexpected activity, suddenly spinning up the fans to full speed when you aren't doing anything? Strange how the same hardware doesn't do that when running Linux, so if you want an eco mode close your Windows.
too much crud running
The average windows machine runs a mass of dross by default
Whenever I get a new Windows machine, first thing I do is alter a lot of services to disabled, cull junk from the startup, uninstall a lot of preinstalled drivel etc.
Edit hosts file to point known "bad" IPS / uris to 127.0.0.1 (if its a machine that will be going away from home & so wont be protected by the home network nuking of various ad, tracking uris)
Improves performance a lot, so presumably greener.