Hi everyone,
I'm running into an issue with my fresh OMV system (bare install, nothing else done -> except the following in the list down there) where the CPU package C-states don't seem to go deeper than PC3, even when the system is completely idle. My individual CPU cores are reaching deep C-states (like CC7) with high residency, but the overall package power saving isn't as good as I'd expect. My goal is to achieve deeper package C-states (PC6, PC7, PC8+, if supported by the CPU) for better power efficiency.
System Information (Preliminary):
- Operating System: Debian (Kernel
6.1.0-28-amd64) - CPU Model:
i3 12100 - Motherboard/System Model:
<a href="https://geizhals.de/gigabyte-b760m-ds3h-ddr4-a2872190.html">GIGABYTE B760M DS3H DDR4</a><br> - Output of
cat /proc/cmdline:BOOT_IMAGE=/boot/vmlinuz-6.1.0-34-amd64 root=UUID=f99c1d56-3f4e-41dd-aaef-f8688bb2b8b9 ro quiet<br>
What I've Tried and Checked So Far:
-
BIOS/UEFI Settings:
- I've gone through my BIOS settings and believe all relevant power-saving options are enabled, including CPU C-states (all levels), Package C-state control (set to Auto/No Limit), and various ASPM settings (for PCIe, DMI, etc.). I'm open to suggestions for specific BIOS settings to double-check for my platform.
-
Kernel & System Power Management:
- PCIe ASPM Policy: Set to
powersave.cat /sys/module/pcie_aspm/parameters/policyshows[powersave]as active.
powertopAnalysis:- All suggestions in the "Tunables" tab are set to "Good".
- "Idle stats" tab confirms individual cores reach deep states like CC7 (~98-99% residency).
- "Idle stats" also confirms Package C-states are mostly in PC3 (~88-90%), with PC2 having some residency, and PC6+ states at 0%.
- "Device stats" generally shows low activity for most devices when idle; Runtime PM seems active for relevant devices.
- "Overview" tab showed some background activity from processes like
rrdcached,php-fpm,monit,systemd-journald, and interrupts fromrtw_pci(WLAN, if active),i915(iGPU),nvme. I am currently testing with some of these services (monit, rrdcached) and WLAN temporarily stopped/disabled.
- PCIe ASPM Policy: Set to
-
Network Interface Card (Realtek 2.5GbE -
enp3s0, driverr8125, PCI ID0000:03:00.0
- Driver: Updated to the latest version from Realtek's website compatible with my kernel.
- PCIe ASPM:
LnkCtlshowsASPM L0s L1 Enabled. - L1 ASPM Substates (L1.1, L1.2): Confirmed enabled via
lspci -vvv(L1SubCtl1: ... ASPM_L1.2+ ASPM_L1.1+) andcat /sys/bus/pci/devices/0000:03:00.0/link/l1_aspm(shows1). - Energy-Efficient Ethernet (EEE): Currently disabled for testing (
sudo ethtool --set-eee enp3s0 eee off). So far, this hasn't resolved the PC3 limit.
-
Integrated GPU (Intel i915):
- Render C-state:
powertopshows RC6 at 100% residency (excellent). - Display C-states (
enable_dc
cat /sys/module/i915/parameters/enable_dcshows-1(auto/default, which should be good). - Framebuffer Compression (
enable_fbc
cat /sys/module/i915/parameters/enable_fbcshows-1(auto/default, good).
- Render C-state:
-
NVMe SSD (Sandisk Corp WD Blue SN570 -
/dev/nvme0
nvme-cliis installed.- Autonomous Power State Transition (APST): Confirmed enabled using
sudo nvme get-feature -f 0x0c -H /dev/nvme0. - The drive is configured to transition to PS3 after 100ms idle and PS4 after 2000ms idle.
Current Situation:
Despite all these checks and configurations, the package C-state stubbornly remains at PC3 during idle.
My Questions for the Community:
- Are there any other common culprits or specific kernel parameters I should investigate for being stuck at PC3?
- Are there known issues or more aggressive power-saving settings for my specific CPU/motherboard platform that I might be missing in the BIOS?
- What would be the best way to further diagnose which component or process is preventing deeper package sleep (given
powertop's overview shows some, but minimal, activity)?
I'm happy to provide more logs, outputs (turbostat, specific dmesg lines, detailed lspci), or powertop reports if needed.
Thanks in advance for any insights or suggestions!
Best regards,Tom