On Thu, Oct 22, 2026 at 10:15:57PM +0100, Stuart Henderson wrote:
> is vmm hitting the https://marc.info/?l=openbsd-misc&m=140291038202783&w=2
> issue now that it's MP?
>

probably not specifically MP but rather that we now have a full-software
lapic and i386 does the things in that thread.

wait for lapic accleration. its coming (but will appear for amd first)

-ml

> On 2026/10/22 14:14, Brian Conway wrote:
> > Greetings. In my experience, OpenBSD i386 guests on vmm have never been 
> > speed demons, but they've always been very usable for testing and builds 
> > from the -stable branch. Timekeeping issues of the past had also been 
> > resolved by 7.9-release, which was great. I recently updated my vmm/vmd 
> > host to 8.0-stable, and I've found the same i386 guests have become 
> > extremely slow.
> >
> > Anecdotally:
> >
> > - The 'cleaning /tmp' step of boot takes 18s (but /tmp is mostly empty).
> > - Each item of boot's reordering process takes 8-10 seconds.
> > - The initial screen paint of `top` takes a full 1s, previously 
> > instantaneous.
> > - When the guest is idle, the host CPU usage is low. So no process spinning 
> > away at 100%.
> >
> > Some configurations variations that I've tried, without noticeable change:
> >
> > - bsd.sp guest
> > - bs.mp guest with cpu count 2 or 3, and relevant vm.conf
> > - raw image vs qcow2 for guest drive
> >
> > The host's vm.conf is fairly mundane:
> >
> > vm "b80-i386" {
> >   disk "/space/vmm/disk/b80-i386.img"
> >   interface {
> >     locked lladdr fe:e1:bb:d1:7e:8d
> >     switch "uplink"
> >   }
> >   memory 2.5G
> > }
> >
> > The host dmesg follows. If it's time for me to leave i386 behind, that's 
> > okay too.
> >
> > Thanks for the support.
> >
> > Brian Conway
> >
> > OpenBSD 8.0-stable (GENERIC.MP) #2: Tue Oct 20 15:45:17 UTC 2026
> >     
> > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 17038417920 (16249MB)
> > avail mem = 16498282496 (15733MB)
> > random: good seed from bootblocks
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x7a99f000 (76 entries)
> > bios0: vendor Intel Corp. version "BECFL357.86A.0098.2026.0204.1428" date 
> > 02/04/2026
> > bios0: Intel(R) Client Systems NUC8i5BEH
> > efi0 at bios0: UEFI 2.7
> > efi0: American Megatrends rev 0x5000d
> > acpi0 at bios0: ACPI 6.1
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT HPET SSDT SSDT UEFI 
> > LPIT SSDT SSDT DBGP DBG2 DMAR SSDT BGRT WSMT
> > acpi0: wakeup devices SIO1(S3) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) 
> > PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) 
> > PXSX(S4) RP08(S4) [...]
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz, 2194.89 MHz, 06-8e-0a, 
> > patch 000000f6
> > cpu0: cpuid 1 
> > edx=bfebfbff<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>
> >  
> > ecx=77fafbbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND>
> > cpu0: cpuid 6 eax=27f7<SENSOR,ARAT,PTS> ecx=9<EFFFREQ>
> > cpu0: cpuid 7.0 
> > ebx=29c67af<FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT>
> >  edx=bc002e00<SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD>
> > cpu0: cpuid a vers=4, gp=8, gpwidth=48, ff=3, ffwidth=48
> > cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
> > cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> 
> > ecx=121<LAHF,ABM,3DNOWP>
> > cpu0: cpuid 80000007 edx=100<ITSC>
> > cpu0: msr 10a=a000c04<RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL,RFDS_NO>
> > cpu0: MELTDOWN
> > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
> > 64b/line 4-way L2 cache, 6MB 64b/line 12-way L3 cache
> > cpu0: smt 0, core 0, package 0, type P
> > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 24MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
> > cpu1 at mainbus0: apid 2 (application processor)
> > cpu1: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz, 2194.89 MHz, 06-8e-0a, 
> > patch 000000f6
> > cpu1: smt 0, core 1, package 0, type P
> > cpu2 at mainbus0: apid 4 (application processor)
> > cpu2: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz, 2194.89 MHz, 06-8e-0a, 
> > patch 000000f6
> > cpu2: smt 0, core 2, package 0, type P
> > cpu3 at mainbus0: apid 6 (application processor)
> > cpu3: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz, 2194.89 MHz, 06-8e-0a, 
> > patch 000000f6
> > cpu3: smt 0, core 3, package 0, type P
> > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
> > acpimcfg0 at acpi0
> > acpimcfg0: addr 0xe0000000, bus 0-255
> > acpihpet0 at acpi0: 23999999 Hz
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus -1 (PEG0)
> > acpiprt2 at acpi0: bus -1 (PEG1)
> > acpiprt3 at acpi0: bus -1 (PEG2)
> > acpiprt4 at acpi0: bus -1 (RP01)
> > acpiprt5 at acpi0: bus -1 (RP02)
> > acpiprt6 at acpi0: bus -1 (RP03)
> > acpiprt7 at acpi0: bus -1 (RP04)
> > acpiprt8 at acpi0: bus -1 (RP05)
> > acpiprt9 at acpi0: bus -1 (RP06)
> > acpiprt10 at acpi0: bus -1 (RP07)
> > acpiprt11 at acpi0: bus -1 (RP08)
> > acpiprt12 at acpi0: bus -1 (RP09)
> > acpiprt13 at acpi0: bus -1 (RP10)
> > acpiprt14 at acpi0: bus -1 (RP11)
> > acpiprt15 at acpi0: bus -1 (RP12)
> > acpiprt16 at acpi0: bus -1 (RP13)
> > acpiprt17 at acpi0: bus -1 (RP14)
> > acpiprt18 at acpi0: bus -1 (RP15)
> > acpiprt19 at acpi0: bus -1 (RP16)
> > acpiprt20 at acpi0: bus -1 (RP17)
> > acpiprt21 at acpi0: bus -1 (RP18)
> > acpiprt22 at acpi0: bus -1 (RP19)
> > acpiprt23 at acpi0: bus -1 (RP20)
> > acpiprt24 at acpi0: bus -1 (RP21)
> > acpiprt25 at acpi0: bus -1 (RP22)
> > acpiprt26 at acpi0: bus -1 (RP23)
> > acpiprt27 at acpi0: bus -1 (RP24)
> > acpiec0 at acpi0
> > acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
> > pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 
> > 0xfd6a0000/0x10000 irq 14, 320 pins
> > "ACPI000E" at acpi0 not configured
> > "PNP0C14" at acpi0 not configured
> > acpibtn0 at acpi0: SLPB
> > "PNP0C14" at acpi0 not configured
> > "PNP0C14" at acpi0 not configured
> > intelpmc0 at acpi0: PEPD
> > state 0: 0x7f:1:2:0x00:0x0000000000000060
> > counter: 0x7f:64:0:0x00:0x0000000000000632
> > frequency: 0
> > state 1: 0x7f:1:2:0x00:0x0000000000000060
> > counter: 0x00:32:0:0x03:0x00000000fe00193c
> > frequency: 10000
> > acpibtn1 at acpi0: PWRB
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C14" at acpi0 not configured
> > acpitz0 at acpi0
> > acpitz0: TZ0_: failed to read _HOT
> > acpitz0: TZ0_: failed to read _TMP
> > acpipwrres0 at acpi0: USBC, resource for XDCI
> > acpipwrres1 at acpi0: V0PR
> > acpipwrres2 at acpi0: V1PR
> > acpipwrres3 at acpi0: V2PR
> > acpipwrres4 at acpi0: WRST
> > acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), 
> > C1(1000@1 mwait.1), PSS
> > acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), 
> > C1(1000@1 mwait.1), PSS
> > acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), 
> > C1(1000@1 mwait.1), PSS
> > acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), 
> > C1(1000@1 mwait.1), PSS
> > acpipwrres5 at acpi0: FN00, resource for FAN0
> > acpipwrres6 at acpi0: FN01, resource for FAN1
> > acpipwrres7 at acpi0: FN02, resource for FAN2
> > acpipwrres8 at acpi0: FN03, resource for FAN3
> > acpipwrres9 at acpi0: FN04, resource for FAN4
> > acpitz1 at acpi0
> > acpitz1: critical temperature is 119 degC
> > acpipwrres10 at acpi0: PIN_
> > acpivideo0 at acpi0: GFX0
> > acpivout0 at acpivideo0: DD1F
> > cpu0: using VERW MDS workaround (except on vmm entry)
> > cpu0: Enhanced SpeedStep 2194 MHz: speeds: 2301, 2300, 2200, 2000, 1900, 
> > 1800, 1600, 1500, 1300, 1100, 1000, 900, 800, 700, 500, 400 MHz
> > pci0 at mainbus0 bus 0
> > pchb0 at pci0 dev 0 function 0 "Intel Core 8G Host" rev 0x08
> > inteldrm0 at pci0 dev 2 function 0 "Intel Iris Plus 655" rev 0x01
> > drm0 at inteldrm0
> > inteldrm0: msi, COFFEELAKE, gen 9
> > "Intel Core GMM" rev 0x00 at pci0 dev 8 function 0 not configured
> > pchtemp0 at pci0 dev 18 function 0 "Intel 300 Series Thermal" rev 0x30
> > xhci0 at pci0 dev 20 function 0 "Intel 300 Series xHCI" rev 0x30: msi, xHCI 
> > 1.10
> > usb0 at xhci0: USB revision 3.0
> > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 
> > 3.00/1.00 addr 1
> > "Intel 300 Series Shared SRAM" rev 0x30 at pci0 dev 20 function 2 not 
> > configured
> > "Intel 300 Series MEI" rev 0x30 at pci0 dev 22 function 0 not configured
> > ahci0 at pci0 dev 23 function 0 "Intel 300 Series AHCI" rev 0x30: msi, AHCI 
> > 1.3.1
> > ahci0: port 2: 6.0Gb/s
> > scsibus1 at ahci0: 32 targets
> > sd0 at scsibus1 targ 2 lun 0: <ATA, Samsung SSD 860, RVT0> 
> > naa.5002538e19a4df9d
> > sd0: 953869MB, 512 bytes/sector, 1953525168 sectors, thin
> > pcib0 at pci0 dev 31 function 0 "Intel 300 Series LPC" rev 0x30
> > ichiic0 at pci0 dev 31 function 4 "Intel 300 Series SMBus" rev 0x30: apic 2 
> > int 16
> > iic0 at ichiic0
> > iic0: addr 0x18 00=00 01=00 02=00 03=00 04=00 05=c2 06=1c 07=22 08=00 09=00 
> > words 00=00ef 01=0000 02=0000 03=0000 04=0000 05=c28c 06=1c68 07=2202
> > iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=c2 06=1c 07=22 08=00 09=00 
> > words 00=00ef 01=0000 02=0000 03=0000 04=0000 05=c278 06=1c68 07=2202
> > spdmem0 at iic0 addr 0x50: 8GB DDR4 SDRAM PC4-19200 SO-DIMM with thermal 
> > sensor
> > spdmem1 at iic0 addr 0x52: 8GB DDR4 SDRAM PC4-19200 SO-DIMM with thermal 
> > sensor
> > "Intel 300 Series SPI" rev 0x30 at pci0 dev 31 function 5 not configured
> > em0 at pci0 dev 31 function 6 "Intel I219-V" rev 0x30: msi, address 
> > 94:c6:91:a8:54:23
> > isa0 at pcib0
> > isadma0 at isa0
> > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> > com0: probed fifo depth: 0 bytes
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > vmm0 at mainbus0: VMX/EPT
> > efifb at mainbus0 not configured
> > enable mbufs in high memory
> > vscsi0 at root
> > scsibus2 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus3 at softraid0: 256 targets
> > root on sd0a (517e210a894a1103.a) swap on sd0b dump on sd0b
> > drm:pid0:skl_ddi_pll_enable *ERROR* [drm] *ERROR* DPLL 1 not locked
> > inteldrm0: 1680x1050, 32bpp
> > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
> > wsdisplay0: screen 1-5 added (std, vt100 emulation)
> >
>

Reply via email to