* Abel Abraham Camarillo Ojeda <acam...@verlet.org> [2018-02-17 23:11:52 -0600]:

To: bugs@openbsd.org
Subject: vmd: vm extremely slow; time ls /var*; takes 14 seconds
From: root
Cc: root
Reply-To: root

Synopsis:      vmd: vm extremely slow
Category:      amd64
Environment:
       System      : OpenBSD 6.2
       Details     : OpenBSD 6.2-current (GENERIC.MP) #5: Mon Feb 12
21:05:57 MST 2018

dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

       Architecture: OpenBSD.amd64
       Machine     : amd64
Description:
       just running # time ls /var*; after booting bsd.rd
       takes like 14 seconds, according to my phone clock

       don't know if it happened before because i'm just starting to
       try vmm

       i ran out of patience when trying to install OpenBSD
       because it takes ages...

       how to diagnose further?

       thanks

How-To-Repeat:

       Welcome to the OpenBSD/amd64 6.2 installation program.

(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? (I)nstall, (U)pgrade,
(A)utoinstall or (S)hell? S
# time ls /var*
db     empty  run    tmp    tzlist
   0m00.02s real     0m00.00s user     0m00.00s system
# # time incorrectly reports 0s but on reality there happened like 14secs

Fix:
       unknown

SENDBUG: dmesg, pcidump, acpidump and usbdevs are attached.
SENDBUG: Feel free to delete or use the -D flag if they contain
sensitive information.

$ doas vmd -dv
startup
failed to open /etc/vm.conf: No such file or directory
test: started vm 1 successfully, tty /dev/ttypj

vm dmesg:

$ doas vmctl start test -b /bsd.rd -L -c
vmctl: starting without disks
Connected to /dev/ttypj (speed 115200)
Copyright (c) 1982, 1986, 1989, 1991, 1993
       The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2018 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.2-current (RAMDISK_CD) #4: Mon Feb 12 21:10:26 MST 2018
   dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 520093696 (496MB)
avail mem = 500633600 (477MB)
enter_shared_special_pages: entered idt page va 0xffff800000010000 pa 0x1a24000
enter_shared_special_pages: entered kutext page va 0xffffffff81341000
pa 0x1341000
enter_shared_special_pages: entered kutext page va 0xffffffff81342000
pa 0x1342000
enter_shared_special_pages: entered kutext page va 0xffffffff81343000
pa 0x1343000
cpu_enter_pages: entered tss+gdt page at va 0xffffffff81856000 pa 0x1856000
cpu_enter_pages: entered t.stack page at va 0xffffffff81857000 pa 0x1857000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffffffff818573e0
mainbus0 at root
bios0 at mainbus0
acpi at bios0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD FX(tm)-6300 Six-Core Processor, 3512.49 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,HV,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
pvbus0 at mainbus0: OpenBSD
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "OpenBSD VMM Host" rev 0x00
virtio0 at pci0 dev 1 function 0 "Qumranet Virtio RNG" rev 0x00
viornd0 at virtio0
virtio0: irq 3
virtio1 at pci0 dev 2 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio1: address fe:e1:bb:d1:64:13
virtio1: irq 5
virtio2 at pci0 dev 3 function 0 "OpenBSD VMM Control" rev 0x00
virtio2: no matching child driver; not configured
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns16450, no fifo
com0: console
softraid0 at root
scsibus0 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/amd64 6.2 installation program.

(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? (I)nstall, (U)pgrade,
(A)utoinstall or (S)hell? S
# time ls /var*
db     empty  run    tmp    tzlist
   0m00.02s real     0m00.00s user     0m00.00s system
#

dmesg:
OpenBSD 6.2-current (GENERIC.MP) #5: Mon Feb 12 21:05:57 MST 2018
   dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8517390336 (8122MB)
avail mem = 8252248064 (7869MB)
enter_shared_special_pages: entered idt page va 0xffff800000010000 pa 0x1d5a000
enter_shared_special_pages: entered kutext page va 0xffffffff81832000
pa 0x1832000
enter_shared_special_pages: entered kutext page va 0xffffffff81833000
pa 0x1833000
enter_shared_special_pages: entered kutext page va 0xffffffff81834000
pa 0x1834000
enter_shared_special_pages: entered kudata page va 0xffffffff81ac9000
pa 0x1ac9000
cpu_enter_pages: entered tss+gdt page at va 0xffffffff81ab4000 pa 0x1ab4000
cpu_enter_pages: entered t.stack page at va 0xffffffff81ab5000 pa 0x1ab5000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffffffff81ab53e0
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeed90 (55 entries)
bios0: vendor American Megatrends Inc. version "1605" date 10/25/2012
bios0: ASUSTeK COMPUTER INC. M5A97
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET SSDT IVRS
acpi0: wakeup devices SBAZ(S4) UAR1(S4) P0PC(S4) UHC1(S4) UHC2(S4)
USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4)
PE22(S4) PE23(S4) PC02(S4) PC04(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
lapic_map: entered lapic page va 0xffffffff81aa8000 pa 0xfee00000
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD FX(tm)-6300 Six-Core Processor, 3512.13 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
acpitimer0: recalibrated TSC frequency 3511734282 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0cpu_enter_pages: entered tss+gdt page at va
0xffff800021ff8000 pa 0x10f648000
cpu_enter_pages: entered t.stack page at va 0xffff800021ff9000 pa 0x10f649000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff800021ff93e0
: apid 17 (application processor)
cpu1: AMD FX(tm)-6300 Six-Core Processor, 3511.72 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0cpu_enter_pages: entered tss+gdt page at va
0xffff800022001000 pa 0x10f64b000
cpu_enter_pages: entered t.stack page at va 0xffff800022002000 pa 0x10f64c000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220023e0
: apid 18 (application processor)
cpu2: AMD FX(tm)-6300 Six-Core Processor, 3511.72 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0cpu_enter_pages: entered tss+gdt page at va
0xffff80002200a000 pa 0x10f64e000
cpu_enter_pages: entered t.stack page at va 0xffff80002200b000 pa 0x10f64f000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff80002200b3e0
cpu3: AMD FX(tm)-6300 Six-Core Processor, 3511.72 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0cpu_enter_pages: entered tss+gdt page at va
0xffff800022013000 pa 0x10f651000
cpu_enter_pages: entered t.stack page at va 0xffff800022014000 pa 0x10f652000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220143e0
: apid 20 (application processor)
cpu4: AMD FX(tm)-6300 Six-Core Processor, 3511.72 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu4: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu4: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu4: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu4: smt 0, core 4, package 0
cpu5 at mainbus0cpu_enter_pages: entered tss+gdt page at va
0xffff80002201c000 pa 0x10f654000
cpu_enter_pages: entered t.stack page at va 0xffff80002201d000 pa 0x10f655000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff80002201d3e0
: apid 21 (application processor)
cpu5: AMD FX(tm)-6300 Six-Core Processor, 3511.72 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu5: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu5: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu5: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu5: smt 0, core 5, package 0
ioapic0 at mainbus0: apid 7 pa 0xfec00000, version 21, 24 pins
ioapic1 at mainbus0: apid 8 pa 0xfec20000, version 21, 32 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpihpet0: recalibrated TSC frequency 3511709192 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (P0PC)
acpiprt2 at acpi0: bus -1 (PE20)
acpiprt3 at acpi0: bus -1 (PE21)
acpiprt4 at acpi0: bus -1 (PE22)
acpiprt5 at acpi0: bus -1 (PE23)
acpiprt6 at acpi0: bus 1 (PC02)
acpiprt7 at acpi0: bus 2 (PC04)
acpiprt8 at acpi0: bus -1 (PC05)
acpiprt9 at acpi0: bus -1 (PC06)
acpiprt10 at acpi0: bus 3 (PC07)
acpiprt11 at acpi0: bus 4 (PC09)
acpiprt12 at acpi0: bus -1 (PC0A)
acpiprt13 at acpi0: bus -1 (PC0B)
acpiprt14 at acpi0: bus -1 (PC0C)
acpiprt15 at acpi0: bus -1 (PC0D)
acpiec0 at acpi0
acpicpu0 at acpi0: C2(0@100 io@0x815), C1(@1 halt!), PSS
acpicpu1 at acpi0: C2(0@100 io@0x815), C1(@1 halt!), PSS
acpicpu2 at acpi0: C2(0@100 io@0x815), C1(@1 halt!), PSS
acpicpu3 at acpi0: C2(0@100 io@0x815), C1(@1 halt!), PSS
acpicpu4 at acpi0: C2(0@100 io@0x815), C1(@1 halt!), PSS
acpicpu5 at acpi0: C2(0@100 io@0x815), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
"PNP0C14" at acpi0 not configured
cpu0: 3512 MHz: speeds: 3500 3000 2500 2000 1400 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "ATI", unknown product 0x5a14 rev 0x02
vendor "ATI", unknown product 0x5a23 (class system subclass IOMMU, rev
0x00) at pci0 dev 0 function 2 not configured
ppb0 at pci0 dev 2 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility HD 5430" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 5470 Audio" rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 4 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x06:
RTL8168E/8111E-VL (0x2c80), msi, address c8:60:00:09:59:8e
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ppb2 at pci0 dev 7 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
xhci0 at pci3 dev 0 function 0 "ASMedia ASM1042 xHCI" rev 0x00: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "ASMedia xHCI root hub" rev
3.00/1.00 addr 1
ppb3 at pci0 dev 9 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci4 at ppb3 bus 4
re1 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
(0x2c00), msi, address c4:e9:84:01:91:c4
rgephy1 at re1 phy 7: RTL8169S/8110S/8211 PHY, rev. 4
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 7 int
19, AHCI 1.2
ahci0: port 2: 6.0Gb/s
ahci0: port 4: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 2 lun 0: <ATA, ST2000DM001-1CH1, CC27> SCSI3
0/direct fixed naa.5000c50064fb62ac
sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors
sd1 at scsibus1 targ 4 lun 0: <ATA, Samsung SSD 850, EMT0> SCSI3
0/direct fixed naa.5002538d4014b6fd
sd1: 114473MB, 512 bytes/sector, 234441648 sectors, thin
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 7 int
18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 7 int 17
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 7 int
20, version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 7 int 21
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling
iic0 at piixpm0
iic0: addr 0x20 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 09=00
0a=00 0b=00 0c=00 0d=00 0e=2b 0f=96 10=00 11=00 12=00 13=00 14=00
15=00 16=36 17=a0 18=c0 19=88 1a=00 1b=00 1c=00 1d=00 1e=0c 1f=03
20=09 21=09 22=09 23=09 24=03 3e=03 words 00=ff00 01=0000 02=0000
03=0000 04=0000 05=0000 06=0000 07=0000
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 7 int 16
azalia1: codecs: Realtek/0x0887
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb4 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci5 at ppb4 bus 5
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 7 int
18, version 1.0, legacy support
ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 7 int
22, version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 7 int 23
usb3 at ehci2: USB revision 2.0
uhub3 at usb3 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 "AMD AMD64 15/0xh Link Cfg" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 15/0xh Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 15/0xh DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 15/0xh Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 15/0xh CPU Power" rev 0x00
pchb5 at pci0 dev 24 function 5 "AMD AMD64 15/0xh Host" rev 0x00
usb4 at ohci0: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
usb5 at ohci1: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "ATI OHCI 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
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
it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0x290
usb6 at ohci2: USB revision 1.0
uhub6 at usb6 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
usb7 at ohci3: USB revision 1.0
uhub7 at usb7 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
vmm0 at mainbus0: SVM/RVI
uhub8 at uhub4 port 1 configuration 1 interface 0 "PI Engineering
Kinesis Keyboard Hub" rev 1.10/3.20 addr 2
uhidev0 at uhub8 port 2 configuration 1 interface 0 "P.I. Engineering
product 0x0007" rev 1.10/3.20 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33
wskbd1 at ukbd0 mux 1
uhidev1 at uhub8 port 2 configuration 1 interface 1 "P.I. Engineering
product 0x0007" rev 1.10/3.20 addr 3
uhidev1: iclass 3/0, 3 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub8 port 4 configuration 1 interface 0 "PixArt Microsoft
USB Optical Mouse" rev 1.10/1.00 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev3 at uhub4 port 3 configuration 1 interface 0 "APC Back-UPS ES
550G FW:843.K4 .D USB FW:K4" rev 1.10/1.06 addr 5
uhidev3: iclass 3/0, 123 report ids
upd0 at uhidev3
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd1a (c5619777a41563b0.a) swap on sd1b dump on sd1b
WARNING: / was not properly unmounted
radeondrm0: 1920x1080, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
wsmouse0 detached
ums0 detached
uhidev2 detached
uhidev2 at uhub8 port 4 configuration 1 interface 0 "PixArt Microsoft
USB Optical Mouse" rev 1.10/1.00 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev2 detached
uhidev2 at uhub8 port 4 configuration 1 interface 0 "PixArt Microsoft
USB Optical Mouse" rev 1.10/1.00 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev2 detached
uhidev2 at uhub8 port 4 configuration 1 interface 0 "PixArt Microsoft
USB Optical Mouse" rev 1.10/1.00 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev2 detached
uhidev2 at uhub8 port 4 configuration 1 interface 0 "PixArt Microsoft
USB Optical Mouse" rev 1.10/1.00 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0

full sendbug attached

To: bugs@openbsd.org
Subject: vmd: vm extremely slow; time ls /var*; takes 14 seconds
From: root
Cc: root
Reply-To: root

Synopsis:       vmd: vm extremely slow
Category:       amd64
Environment:
        System      : OpenBSD 6.2
        Details     : OpenBSD 6.2-current (GENERIC.MP) #5: Mon Feb 12 21:05:57 
MST 2018
                         
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
Description:
        just running # time ls /var*; after booting bsd.rd
        takes like 14 seconds, according to my phone clock

        don't know if it happened before because i'm just starting to
        try vmm

        i ran out of patience when trying to install OpenBSD
        because it takes ages...

        how to diagnose further?

        thanks

How-To-Repeat:

        Welcome to the OpenBSD/amd64 6.2 installation program.

(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? (I)nstall, (U)pgrade, 
(A)utoinstall or (S)hell? S
# time ls /var*
db     empty  run    tmp    tzlist
   0m00.02s real     0m00.00s user     0m00.00s system
# # time incorrectly reports 0s but on reality there happened like 14secs


Hi Abel,

The serial console is problematic on AMD / SVM due to interupt window
exiting not working as expected. Within those 14 seconds if you 'poke'
it (by sending keypresses),  you might get an answer :)

It is quite usable via ssh.
--
Pratik

Reply via email to