How to reduce electricity consumption

gusto

Well-Known Member
Feb 10, 2018
78
0
46
24
I recently saw this procedure as a way to reduce electricity consumption.
I set it up the way the guy describes it
Code:
echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
It is set from 7:00, see graph.
The CPU increased from 2% to 4%, but the total consumption decreased by 3-4 Watts
Is this setting ok? Doesn't the CPU suffer?
 

Attachments

  • cpu_graph.png
    cpu_graph.png
    38.1 KB · Views: 55
The CPU increased from 2% to 4%, but the total consumption decreased by 3-4 Watts
The CPU runs slower, so it is more busy. Are you measuring power over time? If it uses less power but uses power for longer, then it might not help you or make things worse.
Is this setting ok? Doesn't the CPU suffer?
It's fine for the CPU. You need to measure power usage over time to make sure it helps you.
 
Depends on the CPU. With some CPUs the "powersave" governor will limit the CPU to the minimum clock and won't allow it to clock up at all (in which case the "schedutil" governor might be better). With other CPUs it just tells the CPU to clock down more often but it still allows it too clock up when needed.

And best way to save electricity of cause is to only run a PVE server when needed. I for example got another small homeserver that runs the stuff that needs 24/7 availability and the big server only runs on demand when needed. So I can shut the big one down when not at home or while sleeping.
 
Last edited:
It's a home server and it's idle a lot of the time.
CPU is Intel Core i5-10400, MainBoard
If you know of any settings to reduce consumption, I will be grateful
 

Attachments

  • cpu-usage.png
    cpu-usage.png
    47.2 KB · Views: 92
You can install powertop. Useful to see what's going on (clocks, c states, consumption, cpu time, ...) and it will show you if there is something that can be optimized (link power management, autosuspend, runtime PM, ...).
 
And best way to save electricity of cause is to only run a PVE server when needed. I for example got another small homeserver that runs the stuff that needs 24/7 availability and the big server only runs on demand when needed. So I can shut the big one down when not at home or while sleeping.
This. Anything else will not accomplish much.
 
If somebody interested in real-life data:
  • An idle system with AMD Ryzen 9 3900XT 12-Core Processor, 6 HDDs, 2 SSDs, ..., etc
  • As per lscpu, CPU max MHz: 4775.9761, CPU min MHz: 2200.0000
  • Default scaling_governor = performance
  • Tuned to conservative (using `cpufrequtils`)
Average power consumption dropped down from 112 Watts to 91 Watts:

1692611730938.png

So pretty substantial difference (18%), without any noticeable performance hit for the workloads I run.

Thank you,
Jarek
 
  • Like
Reactions: anebula and dwalme

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!