sudo sysinfo cpu
Generated by SysInfo v1.0.1 by Daniel GerzoCPU informationMachine class: amd64CPU Model: AMD Ryzen Embedded V1500BNo. of Cores: 4Cores per CPU:
sudo sysctl kern.smp
kern.smp.topology: 0kern.smp.cores: 4kern.smp.threads_per_core: 1kern.smp.cpus: 4kern.smp.disabled: 0kern.smp.active: 1kern.smp.maxcpus: 256kern.smp.maxid: 3
sudo dmidecode
Processor Information Socket Designation: FP5 Type: Central Processor Family: Zen Manufacturer: Advanced Micro Devices, Inc. ID: - (removed due to privacy concerns) Signature: Family 23, Model 17, Stepping 0 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) HTT (Multi-threading) Version: AMD Ryzen Embedded V1500B Voltage: 1.2 V External Clock: 100 MHz Max Speed: 2200 MHz Current Speed: 2200 MHz Status: Populated, Enabled Upgrade: None L1 Cache Handle: 0x0005 L2 Cache Handle: 0x0006 L3 Cache Handle: 0x0007 Serial Number: Unknown Asset Tag: Unknown Part Number: Unknown Core Count: 4 Core Enabled: 4 Thread Count: 8 Characteristics: 64-bit capable Multi-Core Hardware Thread Execute Protection Enhanced Virtualization Power/Performance Control
root@opn02:~ # sysctl kern | grep corekern.smp.cores: 4kern.smp.threads_per_core: 2FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads
admin@OPNsense:~ $ sudo sysctl kern | grep corekern.smp.cores: 4kern.smp.threads_per_core: 1FreeBSD/SMP: 1 package(s) x 4 core(s)FreeBSD/SMP: 1 package(s) x 4 core(s)FreeBSD/SMP: 1 package(s) x 4 core(s)FreeBSD/SMP: 1 package(s) x 4 core(s)
Vendor INSYDE Corp.Version 05.32.50.0021-A10.28Release Date 08/29/2023
OPNsense 23.10.1-amd64FreeBSD 13.2-RELEASE-p7
admin@OPNsense:~ $ sudo sysctl machdep | grep "thread"machdep.hyperthreading_intr_allowed: 0machdep.hyperthreading_allowed: 1
root@opn02:~ # sysctl hw.ncpuhw.ncpu: 8
root@opn02:~ # sysctl machdep.hyperthreading_allowedmachdep.hyperthreading_allowed: 1
root@opn02:~ # dmidecode -t bios# dmidecode 3.5# SMBIOS entry point at 0xce157000Found SMBIOS entry point in EFI, reading table from /dev/mem.SMBIOS 3.1 present.Handle 0x0000, DMI type 0, 26 bytesBIOS Information Vendor: INSYDE Corp. Version: 05.32.50.0014-A10.24 Release Date: 12/14/2022 Address: 0xE0000 Runtime Size: 128 kB ROM Size: 7488 kB Characteristics:
admin@OPNsense:~ $ sudo sysctl hw.ncpuhw.ncpu: 4
admin@OPNsense:~ $ sudo sysinfo systemGenerated by SysInfo v1.0.1 by Daniel GerzoSystem informationManufacturer: Deciso B.V.Product Name: DEC2700 - OPNsense ApplianceOption 1: String1 for Type12 Equipment ManufacturerOption 2: String2 for Type12 Equipment ManufacturerOption 3: String3 for Type12 Equipment ManufacturerOption 4: String4 for Type12 Equipment ManufacturerINFO: Run `dmidecode -t system` to see further information.Base board informationManufacturer: Deciso B.V.Product Name: Netboard-A10 Gen.3
root@opn02:~ # sysinfo systemGenerated by SysInfo v1.0.1 by Daniel GerzoSystem informationManufacturer: Deciso B.V.Product Name: NetBoard-A10Option 1: String1 for Type12 Equipment ManufacturerOption 2: String2 for Type12 Equipment ManufacturerOption 3: String3 for Type12 Equipment ManufacturerOption 4: String4 for Type12 Equipment ManufacturerINFO: Run `dmidecode -t system` to see further information.Base board informationManufacturer: Deciso B.V.Product Name: NetBoard-A10 Gen.3
machdep.hyperthreading_intr_allowed
05.32.50.0021-A10.28
We disable hyperthreading by default these days as in practice for networking it often has a (slight) negative effect on performance.If you do want to enable HT, just go to the bios with the mini-usb cable supplied.In order to reach the bios, you need serial console connectivity (https://docs.opnsense.org/hardware/serial_connectivity.html) and may press <ESC> during boot to go into the bios part. Inside the setup utility, go to AMD CBS -> Zen Common Options -> Core/Thread Enablement -> SMTEN -> Auto