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

Feedback Needed - CPU Count

Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
9 Posts 8 Posters 3.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.
  • J
    jimp Rebel Alliance Developer Netgate
    last edited by Aug 30, 2013, 4:35 PM Aug 30, 2013, 1:36 PM

    Trying to figure out the best way to see/retrieve not only the count of CPUs, but how they are arranged in a system.

    From what I can see/test here, I think I have a good idea, but what I really need is to see the output from a whole bunch of different setups. Especially those with multiple physical CPUs

    So if everyone could run these commands from Diagnostics > Command or the shell and copy the results here, it would help a ton, thanks!

    sysctl kern.smp.cpus; grep "SMP.*package.*core" /var/log/dmesg.boot
    

    Sample output:

    kern.smp.cpus: 2
    FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
    

    If you have a CPU count greater than 1, but the second line doesn't show, please run:

    grep "SMP" /var/log/dmesg.boot
    

    Results so far (collected from pfSense and FreeBSD servers):

    
    kern.smp.cpus: 1 / (empty)
    kern.smp.cpus: 2 / FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
    kern.smp.cpus: 2 / FreeBSD/SMP: 1 package(s) x 2 core(s)
    kern.smp.cpus: 2 / FreeBSD/SMP: 2 package(s) x 1 core(s)
    kern.smp.cpus: 4 / FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads
    kern.smp.cpus: 4 / FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
    kern.smp.cpus: 4 / FreeBSD/SMP: 1 package(s) x 4 core(s)
    kern.smp.cpus: 4 / FreeBSD/SMP: 2 package(s) x 1 core(s) x 2 HTT threads
    kern.smp.cpus: 8 / FreeBSD/SMP: 2 package(s) x 4 core(s)
    kern.smp.cpus: 16 / FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 SMT threads
    

    If your results are identical to ones already on the list, no need to post them. Thanks!

    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
    • K
      kejianshi
      last edited by Aug 30, 2013, 1:42 PM Aug 30, 2013, 1:40 PM

      Older AMD64 x2  (home router)

      kern.smp.cpus: 2
      FreeBSD/SMP: 1 package(s) x 2 core(s)

      Runs without any issue.

      1 Reply Last reply Reply Quote 0
      • A
        athurdent
        last edited by Aug 30, 2013, 2:57 PM

        Atom N270 1.6 GHz CPU (1x)

        kern.smp.cpus: 2
        FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads

        1 Reply Last reply Reply Quote 0
        • C
          c0urier
          last edited by Aug 30, 2013, 3:28 PM

          Intel® Core i3-2120T

          kern.smp.cpus: 4
          FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
          

          pfsense: 2.1.5-RELEASE, AMD64
          Running on: MB/CPU: ASUS P8H77-I / Core i3-2120T | MEM: 8GB DDR3 | HDD: WD Blue 120GB 2.5" SATA | WAN/LAN: Fujitsu D2735-2 – Intel® chip 82576NS | WLAN: Realtek® 8111F PCIe | Connection: 1000/1000Mbit (Bredband2.com)
          [/U

          1 Reply Last reply Reply Quote 0
          • B
            bkraptor
            last edited by Aug 30, 2013, 3:42 PM

            Intel Atom D2500:

            kern.smp.cpus: 2
            FreeBSD/SMP: 1 package(s) x 2 core(s)
            
            1 Reply Last reply Reply Quote 0
            • P
              priller
              last edited by Aug 30, 2013, 4:27 PM

              Intel Core i5-3470S
              ESXi 5.1

              kern.smp.cpus: 2
              FreeBSD/SMP: 2 package(s) x 1 core(s)

              1 Reply Last reply Reply Quote 0
              • S
                ssheikh
                last edited by Aug 30, 2013, 4:33 PM

                Dual Intel L5520 system with HT turned off in BIOS running 2.1RC1:

                
                [2.1-RC1][root@fw04]/root(1): sysctl kern.smp.cpus; grep "SMP.*package.*core" /var/log/dmesg.boot
                kern.smp.cpus: 8
                FreeBSD/SMP: 2 package(s) x 4 core(s)
                
                [2.1-RC1][root@fw04]/root(2): grep "SMP" /var/log/dmesg.boot
                    root@snapshots-8_3-amd64.builders.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8 amd64
                FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
                FreeBSD/SMP: 2 package(s) x 4 core(s)
                SMP: AP CPU #1 Launched!
                SMP: AP CPU #5 Launched!
                SMP: AP CPU #3 Launched!
                SMP: AP CPU #6 Launched!
                SMP: AP CPU #2 Launched!
                SMP: AP CPU #7 Launched!
                SMP: AP CPU #4 Launched!
                
                
                1 Reply Last reply Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Aug 30, 2013, 4:36 PM

                  I added a summary to the initial post with results so far, if your results are identical to ones already listed, no need to report them.

                  Thanks!

                  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
                  • M
                    Monsterturbo
                    last edited by Aug 30, 2013, 4:42 PM

                    Hello,

                    Supermicro Mother Board pair of XEON 5450

                    kern.smp.cpus: 8
                    FreeBSD/SMP: 2 package(s) x 4 core(s)

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received