• Intel G5420 CPU frequent stuck at 100% even low load 6.10.0-rc4


    Bovin
    • Solved Minor

    Update:

    From tip and tweaks plug post, Intel newer CPU run with P-state driver, it is sensitive. The workaround to disable Intel p-state driver works.

    The CPU runs at low frequent 800Mhz.

     

     I suspect dir cache plug spike CPU, so CPU are not able to run at base frequent.  then I disabled dir cache plug, but the problem is persisted. 

     

    I compare electricity consumed when enable or disable Intel P state driver, they are almost the same.  This is unbelievable if CPU keep running at high frequency. 

     

    then I use  cpufreq-info cli to check, finds current CPU frequency is expected at 800MHz.  watch command seem incorrect. 

     

    But one more issue, if I uninstall tip and tweaks plug, then CPU governor set to performance. I do not know what is default value, but I think for most users, we want to save power at this moment. 

     

    ###  cpufreq-info
    cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
    Report errors and bugs to [email protected], please.
    analyzing CPU 0:
      driver: intel_pstate
      CPUs which run at the same hardware frequency: 0
      CPUs which need to have their frequency coordinated by software: 0
      maximum transition latency: 4294.55 ms.
      hardware limits: 800 MHz - 3.80 GHz
      available cpufreq governors: performance, powersave
      current policy: frequency should be within 800 MHz and 3.80 GHz.
                      The governor "powersave" may decide which speed to use
                      within this range.
      current CPU frequency is 800 MHz.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

     

    Every 2.0s: grep "cpu MHz" /proc/cpuinfo                          Wed Apr  6 21:44:22 2022

    cpu MHz         : 800.134
    cpu MHz         : 3800.000
    cpu MHz         : 3800.000
    cpu MHz         : 3800.000

    ===============================================================================

     

     

     

    Media server

    Unraid OS Trial

    Version 6.10.0-rc4

    CPU: Intel G5420

     

    New to unraid, I found my machine consume two times power than ubuntu, even all disks already spin down.

     

    After check, I found the frequent of most CPU cores high to 3800, but all 800 for my CPU at low load. All VMs and container stopped. 

     

    Every 2.0s: grep "cpu MHz" /proc/cpuinfo                            Bovin-lab: Mon Apr  4 10:09:09 2022

    cpu MHz         : 3800.000
    cpu MHz         : 800.102
    cpu MHz         : 3800.000
    cpu MHz         : 3800.000

     

    Top

    Tasks: 229 total,   1 running, 228 sleeping,   0 stopped,   0 zombie
    %Cpu(s):  1.1 us,  1.3 sy,  0.0 ni, 97.4 id,  0.2 wa,  0.0 hi,  0.0 si,  0.0 st
    top - 10:10:06 up 43 min,  0 users,  load average: 0.08, 0.11, 0.34
    Tasks: 225 total,   1 running, 224 sleeping,   0 stopped,   0 zombie
    %Cpu(s):  1.0 us,  1.1 sy,  0.0 ni, 97.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
    MiB Mem :  15568.4 total,  14179.1 free,    340.6 used,   1048.8 buff/cache
    MiB Swap:      0.0 total,      0.0 free,      0.0 used.  14259.2 avail Mem 

     

    I installed fix common problem, no issue reported. 

    I installed tips and tweaks, CPU already set to power save mode. I tried performance or schedule, no different.  also tried to reboot it. 




    User Feedback

    Recommended Comments

    root@Bovin-lab:~# cat /sys/devices/system/cpu/cpuidle/
    available_governors  current_driver       current_governor     current_governor_ro
    root@Bovin-lab:~# cat /sys/devices/system/cpu/cpuidle/current_driver 
    intel_idle
    root@Bovin-lab:~# cat /sys/devices/system/cpu/cpuidle/current_governor
    menu
    root@Bovin-lab:~# cpufreq-info -d
    intel_pstate

    Link to comment

    root@Bovin-lab:~# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    powersave
    powersave
    powersave
    powersave

    Link to comment

    During device boot up, I found below output, is it the problem?

     

    Enabled CPU frequency scaling governor: performance

    Link to comment
    5 hours ago, Bovin said:

    Changed Status to Solved

    If you figured it out, can you share with the community ?

    It might help someone in the future.

    Link to comment
    7 hours ago, ChatNoir said:

    If you figured it out, can you share with the community ?

    It might help someone in the future.

    I updated. But it is missing here. Let me do it again. 

    Link to comment
    On 4/6/2022 at 1:43 PM, ChatNoir said:

    If you figured it out, can you share with the community ?

    It might help someone in the future.

     

    Hello ChatNoir,

     

    Could you help checking default cpu governor setting?

     

    But one more issue, if I uninstall tip and tweaks plug, then CPU governor set to performance. I do not know what is default value, but I think for most users, we want to save power at this moment. 

    Link to comment
    10 hours ago, Bovin said:

    Could you help checking default cpu governor setting?

    Sorry I cannot, I never changed that.

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.