Comments (7)
Thanks for your suggestion again.
I dont know much about governors, but I'm not much into playing with them on an hypervisor appart if this is part of any official recommandations, documentations, or documented and proved to be reliable without any side effects at all.
What consumption reduction did you experienced? is it really worth-it?
Do you have any proof of work link or tests?
Does this have been extensively tested?
from proxmox_toolbox.
Hi @Tontonjo,
I originally dug into this when I was first using Proxmox, so I was going off my own documentation. However, I have re-dug and got some results for you.
My system:
Supermicro x10DRG-HT
2x E5-2620v3 85w TDP
8x 8GB Memory
6x SSDs
2x 80mm fans at low RPM
2x 60mm fans at low RPM
With CPU governor set at performance
the frequency sits around 3.05Ghz
and power draw read from IPMI is 144w
.
root@hard1 ~# cpupower frequency-info
analyzing CPU 0:
driver: intel_cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 20.0 us
hardware limits: 1.20 GHz - 3.20 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 1.20 GHz and 3.20 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 3.05 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
With CPU governor set at ondemand
the frequency sits around 1.29Ghz
and power draw from IPMI is 117w
.
root@hard1 ~# cpupower frequency-info
analyzing CPU 0:
driver: intel_cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 20.0 us
hardware limits: 1.20 GHz - 3.20 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 1.20 GHz and 3.20 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.29 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
Also, powersave
gets me 1.20Ghz
and 109w
, conservative
is 1.20Ghz
and 123w
. There is definitely some power savings to be had and could be up to 35w on my system and this is only with 85w TDP CPUs. Imagine the savings with 145w TDP CPUs!
Resources
https://wiki.archlinux.org/title/CPU_frequency_scaling#cpupower
https://wiki.archlinux.org/title/CPU_frequency_scaling#cpupower
https://forum.proxmox.com/threads/fix-always-high-cpu-frequency-in-proxmox-host.84270/
https://old.reddit.com/r/homelab/comments/bltm26/proxmox_power_usagemanagement_still_no_cpu_scaling/
https://community.home-assistant.io/t/psa-how-to-configure-proxmox-for-lower-power-usage/323731
from proxmox_toolbox.
Thanks for this - looks interesting for home setups!
I never though about this.
EDIT: just tested on my system - looking promising:
S-tui:
package power with Performance: env. +30w @ 3.5 Ghz
package power with ondemand: env. +28w @ 2.3 Ghz
from proxmox_toolbox.
Hello!
After some testings on some systems, this does not looks to ba a game changer but it may be interesting for some people - Will add this in my Proxmox commands.md.
from proxmox_toolbox.
Hello!
After some testings on some systems, this does not looks to ba a game changer but it may be interesting for some people - Will add this in my Proxmox commands.md.
Thanks for looking into :)
from proxmox_toolbox.
For others who come across this, check out this script.
https://github.com/tteck/Proxmox/raw/main/misc/scaling-governor.sh
from proxmox_toolbox.
For others who come across this, check out this script.
https://github.com/tteck/Proxmox/raw/main/misc/scaling-governor.sh
Hello!
For your information i've make a "tuto" about this who came out yesterday. As there's some kind of energy crysis here i though it may interest people to save some watts and some penny.
https://www.youtube.com/watch?v=loV6v--95lA
I also updated the Proxmox commands guide here with thoses new informations:
https://github.com/Tontonjo/proxmox
PS: It does not looks like this script can make sure the selected CPU gouvernor is applied after a reboot. is it?
from proxmox_toolbox.
Related Issues (17)
- Problème d'envoi d'emails HOT 1
- After running update host I still get the no-subscription message HOT 3
- problème : tout accès ssh perdu HOT 1
- portability with shellcheck HOT 1
- Restoration of a backup makes system unuseable HOT 1
- Typo HOT 1
- Backup Config via Argument HOT 8
- Change E-Mail From Name HOT 3
- Restore one cluster node HOT 10
- valeur de swappiness perdue au reboot de proxmox HOT 2
- PBS - Send mail error HOT 10
- Send mail IPv4 - IPv6 HOT 2
- Option PVE & PBS on one server for backup HOT 3
- [FEATURE SUGGESTION] Bash Terminal Colours HOT 4
- [FEATURE SUGGESTION] Additional Packages HOT 7
- [FEATURE SUGGESTION] Enable IOMMU HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxmox_toolbox.