system stuck in C0 and C1 pkg C states

jasperthebelgian

New Member
Aug 14, 2024
1
0
1
Hey friends,

I recently installed proxmox on a simple machine with intel CPU, 1 M.2 NVME SSD and 32GB of DDR5 RAM. I found that my power usage was on the high side for being idle with only 1 (M.2) SSD - around 45W at idle. When I check my powertop I see that even though my Cores are reaching C7, my pkg C state does not even reach C2 or higher. Using i7z (another tool to measure CPU states), I see that most (about 99%) of my CPU is in C1.

I already ran the powertop autotune and put my cpu governor to powersave. What could be the issue here?

Powertop:

1723632731070.png
i7z showing most is waiting in C1:
1723633277411.png
 

Attachments

  • 1723633230370.png
    1723633230370.png
    32.2 KB · Views: 4
Hey friends,

I recently installed proxmox on a simple machine with intel CPU, 1 M.2 NVME SSD and 32GB of DDR5 RAM. I found that my power usage was on the high side for being idle with only 1 (M.2) SSD - around 45W at idle. When I check my powertop I see that even though my Cores are reaching C7, my pkg C state does not even reach C2 or higher. Using i7z (another tool to measure CPU states), I see that most (about 99%) of my CPU is in C1.

I already ran the powertop autotune and put my cpu governor to powersave. What could be the issue here?

Powertop:

View attachment 73024
i7z showing most is waiting in C1:
View attachment 73026
Not sure if you managed to solve it or not, but I'm going through different Systems to try to enable ASPM.

Some of them work, some of them seem quite Stubborn for no apparent Reason.

For the most likely causes I tried to compile some README (with Links to other Tools / Patch Scripts): https://github.com/luckylinux/aspm-troubleshooting

So far, with Intel X710-DA2 in ANY (CPU-connected or PCH-connected) PCIe Slots I managed to get it working. With Mellanox ConnectX-4 in PCH-connected Slot I managed to get it working.

So it's strongly Hardware Dependent and the CPU-connected PCIe slot seems to be more problematic to get working with ASPM (compared to the lower-bandwidth PCH-connected one).