Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Issues with CPU frequency after upgrade 23.01

    Scheduled Pinned Locked Moved Hardware
    38 Posts 11 Posters 7.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      No, 23.05 behaves the same as 23.01 with regard to SpeedShift.

      Enabling SpeedStep (powerd) does nothing unless you disable SpeedShift. You can do that by setting hint.hwpstate_intel.0.disabled="1".

      Since SpeedShift is better that SpeedStep in every way except the default values (IMO). I recommend just setting the values as you have in both 23.01 and 23.05.

      Steve

      bingo600B 1 Reply Last reply Reply Quote 1
      • bingo600B
        bingo600 @stephenw10
        last edited by bingo600

        He..he

        I just deleted my SpeedShift entries , as i thought the fix were in 23.05.
        I'm reentering and setting to 75, as when it ran on 23.01
        And keep PowerD disabled.

        Thnx

        /Bingo

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          For reference I'm running those values at 80 on a test box I have here that supports SpeedShift.

          bingo600B 1 Reply Last reply Reply Quote 0
          • bingo600B
            bingo600 @stephenw10
            last edited by bingo600

            I seem to remember that 80 was the "recommended value" in our last round of SpeedStep settings.

            But i like the way my Hystou/Protecli behaves on 75.

            4e3ad8c4-ef4d-4383-8b37-499367170ded-image.png

            74b58c6e-01f9-49e4-9b1d-16b0f185235f-image.png

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            1 Reply Last reply Reply Quote 2
            • cappieC cappie referenced this topic on
            • L
              LDS
              last edited by LDS

              I have an Atom C3558, I'm now using pfSense 2.7 but the FreeBSD version is obviously the same. The CPU was running most of the time at 800MHz, now is mostly stuck at the top speed of 2.2GHz and of course runs hotter. I don't know if it's an Heisenberg situation - just having the Dashboard open to check the CPU speed runs the CPU faster.

              I have tried to set dev.hwpstate_intel.X.epp to 80 (X from 0 to 3) but it does not help. I'm not sure if the C3558 has SpeedShift, Intel ARK doesn't say it, nor I can find it in the boot log.

              demD 1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                C3K doesn't have Speed Shift. Without the dashboard open try running:

                [23.05.1-RELEASE][admin@6100-3.stevew.lan]/root: sysctl dev.cpu.0
                dev.cpu.0.temperature: 55.0C
                dev.cpu.0.coretemp.throttle_log: 0
                dev.cpu.0.coretemp.tjmax: 91.0C
                dev.cpu.0.coretemp.resolution: 1
                dev.cpu.0.coretemp.delta: 37
                dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc
                dev.cpu.0.cx_usage_counters: 6940958 0
                dev.cpu.0.cx_usage: 100.00% 0.00% last 20556us
                dev.cpu.0.cx_lowest: C1
                dev.cpu.0.cx_supported: C1/1/1 C2/2/50
                dev.cpu.0.freq_levels: 2200/0 2100/0 2000/0 1900/0 1800/0 1700/0 1600/0 1500/0 1400/0 1300/0 1200/0 1100/0 1000/0 900/0 800/0
                dev.cpu.0.freq: 800
                dev.cpu.0.%parent: acpi0
                dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=none
                dev.cpu.0.%location: handle=\_PR_.CPU0
                dev.cpu.0.%driver: cpu
                dev.cpu.0.%desc: ACPI CPU
                

                Check the available freq levels and current freq shown.

                Steve

                L 1 Reply Last reply Reply Quote 1
                • demD
                  dem @LDS
                  last edited by dem

                  @LDS said in Issues with CPU frequency after upgrade 23.01:

                  I don't know if it's an Heisenberg situation - just having the Dashboard open to check the CPU speed runs the CPU faster.

                  I see this on my Protectli with a (non-Speed Shift?) J3160 with my busy Dashboard and powerd set to Hiadaptive. I never see the current CPU speed displayed at all on the Dashboard (since it's not displayed when at maximum), but if I leave the Dashboard and run sysctl dev.cpu.0.freq at the command line I can see the frequency change.

                  1 Reply Last reply Reply Quote 0
                  • L
                    LDS @stephenw10
                    last edited by

                    @stephenw10

                    Tried via SSH - looks locked at 2200MHz:

                    dev.cpu.0.temperature: 40.0C
                    dev.cpu.0.coretemp.throttle_log: 0
                    dev.cpu.0.coretemp.tjmax: 91.0C
                    dev.cpu.0.coretemp.resolution: 1
                    dev.cpu.0.coretemp.delta: 51
                    dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc
                    dev.cpu.0.cx_usage_counters: 2960105 0
                    dev.cpu.0.cx_usage: 100.00% 0.00% last 4326us
                    dev.cpu.0.cx_lowest: C1
                    dev.cpu.0.cx_supported: C1/1/1 C2/2/50
                    dev.cpu.0.freq_levels: 2200/0 2100/0 2000/0 1900/0 1800/0 1700/0 1600/0 1500/0 1400/0 1300/0 1200/0 1100/0 1000/0 900/0 800/0
                    dev.cpu.0.freq: 2200
                    dev.cpu.0.%parent: acpi0
                    dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=none
                    dev.cpu.0.%location: handle=\_PR_.CPU0
                    dev.cpu.0.%driver: cpu
                    dev.cpu.0.%desc: ACPI CPU
                    

                    I'll try to disable SpeedShift and reactivate PowerD and see what happens.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @LDS
                      last edited by

                      @LDS said in Issues with CPU frequency after upgrade 23.01:

                      reactivate PowerD

                      PowerD works fine on the 6100 which is that CPU.

                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                      Upvote šŸ‘ helpful posts!

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Yeah you need powerd active to get lower CPU frequencies.

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          LDS @stephenw10
                          last edited by

                          @stephenw10

                          Setting hint.hwpstate_intel.0.disabled to 1 with PowerD returned to the old behaviour:

                          dev.cpu.0.temperature: 39.0C
                          dev.cpu.0.coretemp.throttle_log: 0
                          dev.cpu.0.coretemp.tjmax: 91.0C
                          dev.cpu.0.coretemp.resolution: 1
                          dev.cpu.0.coretemp.delta: 52
                          dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc
                          dev.cpu.0.cx_usage_counters: 16653 0
                          dev.cpu.0.cx_usage: 100.00% 0.00% last 17244us
                          dev.cpu.0.cx_lowest: C1
                          dev.cpu.0.cx_supported: C1/1/1 C2/2/50
                          dev.cpu.0.freq_levels: 2200/0 2100/0 2000/0 1900/0 1800/0 1700/0 1600/0 1500/0 1400/0 1300/0 1200/0 1100/0 1000/0 900/0 800/0
                          dev.cpu.0.freq: 800
                          dev.cpu.0.%parent: acpi0
                          dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=none
                          dev.cpu.0.%location: handle=\_PR_.CPU0
                          dev.cpu.0.%driver: cpu
                          dev.cpu.0.%desc: ACPI CPU
                          
                          1 Reply Last reply Reply Quote 0
                          • C
                            coxhaus @bingo600
                            last edited by

                            @bingo600

                            So, I added 4 cpu entries for my Intel i3-6100T as described here and seems to work well. My cpu drops down to 897MHz and temps are down to 30 degrees C. PowerD had no effect so I turned it off. I could not tell a difference between 75 and 80 in my low so I left it at 80. My low was never lower than 897MHz.

                            1 Reply Last reply Reply Quote 1
                            • V vitko-core.ru referenced this topic on
                            • V vitko-core.ru referenced this topic on
                            • S SteveITS referenced this topic on
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.