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

    Temperature reporting

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 1.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.
    • G
      GregoryO
      last edited by

      Hi,

      The question is about how pfSense/freebsd is reporting CPU temperature.
      For example in the GUI I see for each core like 52.0C .

      it perfectly matches what sysctl is producing:
      sysctl -a | grep temperature
      hw.acpi.thermal.tz1.temperature: 29.9C
      hw.acpi.thermal.tz0.temperature: 27.9C
      dev.cpu.3.temperature: 53.0C
      dev.cpu.2.temperature: 53.0C
      dev.cpu.1.temperature: 52.0C
      dev.cpu.0.temperature: 52.0C

      but the question is why this is giving different result:
      sysctl -n dev.cpu.0.temperature
      47.0C

      47 vs 52 ? Completely normal phenonemon ?

      BR,
      Gregory

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The ACPI thermal zones are likely not on the CPU die like the dev.cpu ones are. They are probably other chipsets or ambient case temps. Check your board/BIOS docs.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • G
          GregoryO
          last edited by

          @jimp said in Temperature reporting:

          The ACPI thermal zones are likely not on the CPU die like the

          But Jim,
          those are literally same sysctl keys,
          dev.cpu.0.temperature: 52.0C
          vs
          47.0C

          Just one is taken via grep, and one directly via -n key

          That I dont understnand. If the sysctl keys could be different then agree.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Then the temp must be different at those times.

            sysctl -a can generate a little extra load since it's generating and outputting the entire sysctl oid tree.

            Whereas sysctl -n <oid> is only querying a single OID.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              I tried it on a test box here and it's the same.

              : sysctl -a | grep 'dev.cpu.0.temperature'
              dev.cpu.0.temperature: 25.0C
              : sysctl -n dev.cpu.0.temperature
              25.0C
              

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              NollipfSenseN 1 Reply Last reply Reply Quote 0
              • NollipfSenseN
                NollipfSense @jimp
                last edited by

                @jimp Tried that also and got 63 for both.

                pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.