On 2021/11/18 12:58, Dev Op wrote: > When upgrading OpenBSD 7.0/amd64, unfortunately, there is no bsd.mp among the > presented set of > files. Why? :( Although, it is in the image. EM64T (Intel 64) is definitely > supported by Intel > (R) Xeon(R) CPU E5430. There was nothing strange when installing the > distribution kit. I > downloaded install70.iso from https://ftp.yandex.ru/openbsd/7.0/amd64/ and > installed the > proposed set of files. Everything is as usual. > > Server is HP Proliant DL360G5 with one CPU E5430 (4-cores) on it. BIOS was > checked: "All > processor Cores Enabled".
It looks like the acpicpu table provided by the machine firmware/bios is not reporting all cores. Suggest updating firmware (the newest for the machine seems to be https://support.hpe.com/hpesc/public/swd/detail?swItemId=MTX_75580f5b91784d11b58f80d961) Certainly older versions on this machine didn't support quad core cpus. If it still only reports a single core after updating, use sendbug, run as root to include a copy of acpi tables. If mail isn't fully configured on the machine then it is usually simplest to use "sendbug -P > somefile" and copy that to another machine and send it with a normal mail client to [email protected]. > Here is full dmesg: > OpenBSD 7.0 (GENERIC) #224: Thu Sep 30 14:13:34 MDT 2021 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC > real mem = 4276432896 (4078MB) > avail mem = 4130902016 (3939MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xee000 (68 entries) > bios0: vendor HP version "P58" date 07/10/2009 > bios0: HP ProLiant DL360 G5 > acpi0 at bios0: ACPI 3.0 > acpi0: sleep states S0 S4 S5 > acpi0: tables DSDT FACP SPCR MCFG HPET SPMI ERST FFFF FFFF BERT HEST SSDT > acpi0: wakeup devices PCI0(S5) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimcfg0 at acpi0 > acpimcfg0: addr 0xe0000000, bus 0-255 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (IP2P) > acpiprt2 at acpi0: bus 9 (PT02) > acpiprt3 at acpi0: bus 10 (IPE4) > acpiprt4 at acpi0: bus 11 (IPE1) > acpiprt5 at acpi0: bus 16 (P2P2) > acpiprt6 at acpi0: bus 6 (PT03) > acpiprt7 at acpi0: bus 19 (PT04) > acpiprt8 at acpi0: bus 3 (NB01) > acpiprt9 at acpi0: bus 5 (NB02) > acpipci0 at acpi0 PCI0 > "IPI0001" at acpi0 not configured > "PNP0A06" at acpi0 not configured > acpicpu0 at acpi0: C1(1000@1 halt) > acpitz0 at acpi0: critical temperature is 31 degC > ipmi at mainbus0 not configured > cpu0 at mainbus0: (uniprocessor) > cpu0: Intel(R) Xeon(R) CPU E5430 @ 2.66GHz, 2667.12 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 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: mwait min=64, max=64, C-substates=0.2.2.2, IBE > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 5000P Host" rev 0xb1 > ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE" rev 0xb1 > pci1 at ppb0 bus 9 > ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci2 at ppb1 bus 10 > ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci3 at ppb2 bus 11 > ppb3 at pci2 dev 1 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci4 at ppb3 bus 14 > ppb4 at pci2 dev 2 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci5 at ppb4 bus 15 > ppb5 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01 > pci6 at ppb5 bus 16 > ppb6 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0xb1 > pci7 at ppb6 bus 6 > ciss0 at pci7 dev 0 function 0 "Hewlett-Packard Smart Array" rev 0x03: irq 5 > ciss0: 1 LD, HW rev 3, FW 6.86/6.86, 64bit fifo > scsibus1 at ciss0: 1 targets > sd0 at scsibus1 targ 0 lun 0: <HP, LOGICAL VOLUME, 6.86> > sd0: 69973MB, 512 bytes/sector, 143305920 sectors > ppb7 at pci0 dev 4 function 0 "Intel 5000 PCIE x8" rev 0xb1 > pci8 at ppb7 bus 19 > ppb8 at pci0 dev 5 function 0 "Intel 5000 PCIE" rev 0xb1 > pci9 at ppb8 bus 22 > ppb9 at pci0 dev 6 function 0 "Intel 5000 PCIE" rev 0xb1 > pci10 at ppb9 bus 2 > ppb10 at pci10 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3 > pci11 at ppb10 bus 3 > bnx0 at pci11 dev 0 function 0 "Broadcom BCM5708" rev 0x12: irq 10 > ppb11 at pci0 dev 7 function 0 "Intel 5000 PCIE" rev 0xb1 > pci12 at ppb11 bus 4 > ppb12 at pci12 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3 > pci13 at ppb12 bus 5 > bnx1 at pci13 dev 0 function 0 "Broadcom BCM5708" rev 0x12: irq 10 > pchb1 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0xb1 > pchb2 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0xb1 > pchb3 at pci0 dev 16 function 2 "Intel 5000 Error Reporting" rev 0xb1 > pchb4 at pci0 dev 17 function 0 "Intel 5000 Reserved" rev 0xb1 > pchb5 at pci0 dev 19 function 0 "Intel 5000 Reserved" rev 0xb1 > pchb6 at pci0 dev 21 function 0 "Intel 5000 FBD" rev 0xb1 > pchb7 at pci0 dev 22 function 0 "Intel 5000 FBD" rev 0xb1 > uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: irq 5 > uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: irq 7 > uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: irq 10 > uhci3 at pci0 dev 29 function 3 "Intel 6321ESB USB" rev 0x09: irq 10 > ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: irq 5 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > ppb13 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd9 > pci14 at ppb13 bus 1 > radeondrm0 at pci14 dev 3 function 0 "ATI ES1000" rev 0x02 > drm0 at radeondrm0 > radeondrm0: irq 7 > "Compaq iLO" rev 0x03 at pci14 dev 4 function 0 not configured > "Compaq iLO" rev 0x03 at pci14 dev 4 function 2 not configured > uhci4 at pci14 dev 4 function 4 "Hewlett-Packard USB" rev 0x00: irq 10 > "Hewlett-Packard IPMI" rev 0x00 at pci14 dev 4 function 6 not configured > usb1 at uhci4: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "Hewlett-Packard UHCI root hub" rev > 1.00/1.00 addr 1 > pcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09 > pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09: DMA, channel > 0 configured to > compatibility, channel 1 configured to compatibility > pciide0: channel 0 disabled (no drives) > pciide0: channel 1 disabled (no drives) > usb2 at uhci0: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at uhci1: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb4 at uhci2: USB revision 1.0 > uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb5 at uhci3: USB revision 1.0 > uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > com1: probed fifo depth: 0 bytes > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX (using slow L1TF mitigation) > dt: 445 probes > uhidev0 at uhub1 port 1 configuration 1 interface 0 "HP Virtual Keyboard" rev > 1.10/0.02 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33 > wskbd1 at ukbd0 mux 1 > uhidev1 at uhub1 port 1 configuration 1 interface 1 "HP Virtual Keyboard" rev > 1.10/0.02 addr 2 > uhidev1: iclass 3/1 > ums0 at uhidev1: 3 buttons > wsmouse0 at ums0 mux 0 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (fa871ac66d86823a.a) swap on sd0b dump on sd0b > bnx0: address 00:1f:29:6a:6d:2c > brgphy0 at bnx0 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6 > bnx1: address 00:1f:29:6a:6d:24 > brgphy1 at bnx1 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6 > radeondrm0: RV100 > radeon_cp: Failed to load firmware "radeon/R100_cp.bin" > [drm] *ERROR* Failed to load firmware! > drm:pid0:r100_startup *ERROR* failed initializing CP (-2). > drm:pid0:r100_init *ERROR* Disabling GPU acceleration > radeondrm0: 1024x768, 16bpp > wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 > wskbd1: connecting to wsdisplay0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > Bogus possible_clones: [ENCODER:43:DAC-43] possible_clones=0x2 (full encoder > mask=0x3) > Bogus possible_clones: [ENCODER:45:TV-45] possible_clones=0x1 (full encoder > mask=0x3) > > > > ср, 17 нояб. 2021 г. в 14:47, Stuart Henderson <[email protected]>: > > 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. > > > > > -- > Regards, > Den >

