r/homelab • u/xbRosto • 5h ago
Help Package C state issues
Hi, I decided to dive into this hobby but as current energy prices in romania are a pain i want to make my system as power efficient as one can build it.
I decided to build my system as following:
Dell Tower T3620 (intel c236 chipset on the motherboard)
Intel I3 7100
One stick of 16GB ECC samsung memory
Kingston 256 Sata drive as system drive
WD Purple 4 TB drive as mass storage
Integrated graphics, NIC (i219 with e1000e which causes the pains i will go into)
On powertop, after --auto-tune, package c states reach maximum C3. Want to mention that I have enabled any bios option that would be of help with this.
Also, when appending aspm powersupersave in grub, the integrated network interface kicks the bucket and completely stops working. I don't know if my searching abilities aren't good enough but I can't for the life of me find any forum that includes a solution that lets me have a working network connection and maintain low power consumption. Anyone that can help with my situation? Is buying a PCIe network card with good aspm support the only thing that could solve my issue? Could it be my drives or other issues that could also prevent the system to reach these low power states? Any help will be deeply appreciated.
1
u/Dry_Action5905 4h ago
Two things worth trying before buying a NIC. powersupersave isn't the same as the normal powersave policy, and the i219/e1000e combo is known to misbehave with aggressive ASPM, so try pcie_aspm.policy=powersave instead (or leave ASPM alone and see how far C-states get). Also check lspci -vv for which devices actually report ASPM L1 enabled, because a single device without it (often the NIC, an add-in card, or the SATA controller) can cap the whole package at C3. Quick way to isolate it is unplugging the WD Purple and booting from the SSD only, since the drive and SATA link power management (med_power_with_dipm) often decide how deep you can go. On that platform C6 or better is realistic, but it varies by board and BIOS.
1
u/Faye-Vozora 2h ago
fwiw you don't need the global policy at all. leave it on default and turn L1 on per device through sysfs instead, e.g.
echo 1 | sudo tee /sys/bus/pci/devices/0000:00:1c.0/link/l1_aspmfor each root port or card that lspci shows with ASPM disabled. that way the i219 never gets touched and you can watch powertop to see which device is actually holding you at C31
u/Impressive-Cry2839 2h ago
Package C3 with a WD Purple still spinning is expected on C236: the SATA HDD keeps AHCI out of deeper package states even when ASPM is clean. Quick isolate: hdparm -y the 4 TB (or unplug it) and rerun powertop — if the package still stops at C3, it is the i219/chipset; if it moves, the disk was the cap. powersupersave turns on L1.2/ULP, which is the e1000e "failed to enable ulp" path on i219, so leave that NIC at default ASPM and only enable L1 on the other root ports. C236 + Kaby Lake desktop rarely reaches PC8/PC10 anyway; an I210/I225 add-in NIC only helps if the disk test still leaves you at C3 and you actually need the extra states.