S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
homelab 2026-11-22

Proxmox Tune-Up: Powersave Governor + Discard on PVE 9

This guide is a companion to the video Proxmox Tune-Up: Powersave Governor + Discard on PVE 9, which is the starting point for the two fixes below. Watch the video first for the walkthrough, then use this page for the exact commands and the caveats.

What the video fixes

In the video, the presenter shows that fresh Proxmox installs waste power and disk space by default: every CPU sits on the performance governor at full speed, and every virtual disk only ever grows because guest trim requests never reach the drive. The video then walks through two short tune-ups on Proxmox VE 9: switching the scaling governor to powersave via the community script, and enabling per-disk Discard with a trim check inside the guest. Tested reference in the video: PVE 9.2.2.

Before you start

In the video, the prerequisites are a root shell on the Proxmox 9 host plus one Linux guest for the disk demo, with console access nearby for the optional BIOS step. Added research: no account, subscription, or paid service is required, and on hosts whose chips expose no cpufreq driver the board handles power itself so you can skip the governor fix.

Read-first card listing root shell on the host, one Linux guest, and the no-driver skip note
Read-first card listing root shell on the host, one Linux guest, and the no-driver skip note (Still from the walkthrough video.)

Step 1 - read the governor settings

In the video, the first step changes nothing: three read-only sysfs checks for the scaling driver, the live governor, and the available governors. These bench-verified commands are safe to run as root on the host:

Added research from the test bench: on the bench node the driver read intel_pstate, the governor read performance on all 12 cores, and the available list was performance powersave. Both pstate drivers expose only those two governors, so there is no schedutil-style middle option to pick here. An optional extra read is lspci -vv | grep ASPM for the board-level power-saving state.

Step 2 - switch the governor to powersave

In the video, the power fix runs the community governor script from the host shell, picks powersave from the menu, and answers yes to the cron job so the setting survives reboots. The command from the video is bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/scaling-governor.sh)", and the script lives in the community-scripts ProxmoxVE repo with its helper page at scaling-governor.

Governor step terminal showing the community script command with powersave picked and cron persistence on
Governor step terminal showing the community script command with powersave picked and cron persistence on (Still from the walkthrough video.)

Added research and honesty notes: the script fetch was verified bench-side as HTTP 200 with its whiptail pick-and-cron flow read to confirm the steps, but the governor switch itself was deliberately untested on the bench because the bench node is a production host that was never modified. The on-screen switched-governor lines in the video are labeled illustrative for exactly that reason. The verify command for your own host is grep . /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor | sort | uniq -c. The kernel-cmdline persistence record is likewise untested on the bench: on GRUB hosts add cpufreq.default_governor=powersave to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub then run update-grub, and on systemd-boot hosts add it to /etc/kernel/cmdline then run proxmox-boot-tool refresh. On modern chips powersave still ramps up under load and only idles lower, and if a guest ever acts up after the change, flip back to performance first while troubleshooting.

Step 3 - enable Discard per disk and prove trim

In the video, the disk fix enables Discard per virtual disk because new Proxmox disks ship with it off, then confirms trim reaches the drive from inside the guest. The bench-verified host command pattern is qm set <VMID> --scsi0 <storage>:vm-<VMID>-disk-0,discard=on,ssd=1, checkable with qm config <VMID> | grep scsi0. On the bench guest this produced scsi0: hdd-thin:vm-202-disk-0,discard=on,size=3G,ssd=1, and the pool check lvs -o+discards pve/data read passdown, meaning discards flow to the drive. The Proxmox reference for the Discard and SSD options is chapter-qm in the PVE 9 docs. You can also tick Discard in the Hardware tab for the disk instead of the command.

Discard step terminal showing qm set with discard on and ssd on plus the thin-pool passdown check
Discard step terminal showing qm set with discard on and ssd on plus the thin-pool passdown check (Still from the walkthrough video.)

Inside the Linux guest, the bench-verified checks are lsblk -D and systemctl is-enabled fstrim.timer. On the bench guest the drive reported trim granularity 4K with max 1G and the weekly trim timer read enabled. The final fstrim -av command itself is real and copyable, but its on-screen byte count in the video is an illustrative recreation and untested bench-side: root SSH on the bench guest was publickey-only, so no root trim success line could be captured there. Your reclaimed byte count will vary by disk.

Cautions worth knowing

In the video, the closing caution is to only enable board-level power saving if you can reach the console, since a few common network chips drop off the network with it on. Added research with the wider context: the XDA piece on these two defaults carries the same warning including the I225 and I226 caveat, so treat the BIOS and ASPM step as optional and untested here. Nothing in this guide modifies a host by itself: every consequential step runs on your own machine, and the read-only checks above are the safe place to start.

Watch the walkthrough

Watch on YouTube