Hi all! I was dealing with one router and faced with the fact that I did not see hypertrading after installing OpenBSD 7.0. I came across an email https://www.mail-archive.com/source-changes@openbsd.org/msg99141.html, where I read hypertrading was disabled for Intel processors running on OpenBSD/amd64 and that it can be enabled via hw.smt. I did so, but I don't see it making a difference. How do you make sure it's on and used?
router1$ dmesg | grep ^cpu cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Xeon(R) CPU E5430 @ 2.66GHz, 2667.11 MHz, 06-17-06 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,LONG,LAHF,PERF,SENSOR,MELTDOWN cpu0: 6MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 cpu0: mwait min=64, max=64, C-substates=0.2.2.2, IBE router1$ sysctl hw hw.machine=amd64 hw.model=Intel(R) Xeon(R) CPU E5430 @ 2.66GHz hw.ncpu=1 hw.byteorder=1234 hw.pagesize=4096 hw.disknames=sd0:fa871ac66d86823a hw.diskcount=1 hw.sensors.acpitz0.temp0=8.30 degC (zone temperature) hw.sensors.cpu0.temp0=50.00 degC hw.sensors.ciss0.drive0=online (sd0), OK hw.cpuspeed=2667 hw.setperf=100 hw.vendor=HP hw.product=ProLiant DL360 G5 hw.serialno=CZJ815A9BY hw.uuid=34353739-3234-435a-4a38-313541394259 hw.physmem=4276432896 hw.usermem=4276416512 hw.ncpufound=1 hw.allowpowerdown=1 hw.perfpolicy=manual hw.smt=1 hw.ncpuonline=1 router1$ uname -a OpenBSD router1 7.0 GENERIC#224 amd64 router1$ dmesg.boot is here: https://pastebin.com/G24A7Jbw According to the Intel CPU E5430 specification, it has 4 cores. Before updating the router, I noticed that it worked without hypertrading on OpenBSD 6.7/amd64 with a good load: ->% uptime 11:03 AM up 209 days, 4:25, 3 users, load averages: 3.40, 3.17, 3.02 I didn’t see which process was eating the CPU in htop, but the average load was scary. Suggested that HT disabled might be the cause, so I decided to update the OS and enable HT. The following services worked before the updates: pf / CARP / ospfd / zabbix-proxy / snmpd. Thank you for any suggestions. Regards, Den