On 2021-11-17, Dev Op <[email protected]> wrote: > 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/[email protected]/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?
It doesn't usually produce much benefit in OpenBSD, sometimes it actually slows things down. You can see if it is working because top will show processes spread across the HT "cpus" (which aren't really CPU cores but share resources). i.e. twice as many as the number of real CPUs on the system. Also there's a reason why it was disabled by default! > OpenBSD router1 7.0 GENERIC#224 amd64 For some reason you are running a uniprocessor kernel. If this was on purpose then it's totally expected that you see only one cpu. If not: did you install in a strange way? I would run the installer again and do an "upgrade" to 7.0 and make sure bsd.mp is installed. > dmesg.boot is here: https://pastebin.com/G24A7Jbw This is not irc, there is no need for pastebin in a mailing list :) > 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. Load isn't a clear indication of cpu use, this doesn't necessarily show that something is wrong. Nothing scary about theae values. -- Please keep replies on the mailing list.

