On Tue, Apr 26, 2022 at 02:13:16AM +0300, Mihai Popescu wrote:
> Hello,
>
> I use OpenBSD amd64 snapshots on the following dmesg hardware.
> The download rate on a browser was slow and I figured out with some
> memory mapped partition that disk transfer rate was slow.
> I can bear this since I'm not into large file transfer business. But
> here is another interesting fact: each time my disk is used by some
> file transfer, all the running applications, mostly GUI based are
> stalling - that includes mostly chromium ( even if it is not chromium
> that it does the disk data transfer).
>
> My questions are: is something incorrectly set up on my computer,
> regarding the multitasking?
> I understand disk operations are slow, but may I say that kernel is
> dragged in that slow transfer too (no DMA, no cache, etc.)?
> Does this happens to all users, but since there are more powerful
> configuration involved the delay is not so noticeable?
>
> I know it is hard to project this, but can someone give me a hint
> about a minimum hardware to allow using chromium with no delays,
> please?

See comments below. The hardware is ancient. I'd say try running
chrome on windows on this hardware and you'll probably see it's also
horrible.

"minimum hardware to allow using chromium with no delays" is probably
a machine with a fast nvme drive, 8+ cores, and 16+ gb ram.

> I know, it should be advisable to get the maximum performance
> hardware, but i'm not in that case.
>
> OpenBSD 7.1-current (GENERIC.MP) #483: Sat Apr 23 05:33:19 MDT 2022
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 7711170560 (7353MB)
> avail mem = 7460139008 (7114MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe86ed (64 entries)
> bios0: vendor Hewlett-Packard version "K06 v02.77" date 03/22/2018
> bios0: Hewlett-Packard HP Compaq Pro 6305 SFF

This is an almost 9 year old machine. Release date September 2013.
Also, see below.

> acpi0 at bios0: ACPI 5.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT MCFG HPET SSDT MSDM TCPA IVRS VFCT
> SSDT SSDT CRAT
> acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) PE20(S4)
> PE21(S4) PE22(S4) BNIC(S4) PE23(S4) BR12(S4) BR14(S4) OHC1(S3)
> EHC1(S3) OHC2(S3) EHC2(S3) OHC3(S3) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 16 (boot processor)
> cpu0: AMD A8-5500B APU with Radeon(tm) HD Graphics, 3194.45 MHz, 15-10-01
> 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,IBPB
> cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 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
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, IBE
> cpu1 at mainbus0: apid 17 (application processor)
> cpu1: AMD A8-5500B APU with Radeon(tm) HD Graphics, 3194.05 MHz, 15-10-01
> 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,IBPB
> cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 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: disabling user TSC (skew=129)
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 18 (application processor)
> cpu2: AMD A8-5500B APU with Radeon(tm) HD Graphics, 3194.05 MHz, 15-10-01
> 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,IBPB
> cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 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: disabling user TSC (skew=186)
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 19 (application processor)
> cpu3: AMD A8-5500B APU with Radeon(tm) HD Graphics, 3194.05 MHz, 15-10-01
> 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,IBPB
> cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 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 1, core 1, package 0
> ioapic0 at mainbus0: apid 5 pa 0xfec00000, version 21, 24 pins
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xf0000000, bus 0-63
> acpihpet0 at acpi0: 14318180 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (BR13)
> acpiprt2 at acpi0: bus -1 (BR15)
> acpiprt3 at acpi0: bus -1 (BR16)
> acpiprt4 at acpi0: bus -1 (BR17)
> acpiprt5 at acpi0: bus 1 (P0PC)
> acpiprt6 at acpi0: bus 2 (PE20)
> acpiprt7 at acpi0: bus -1 (PE21)
> acpiprt8 at acpi0: bus 3 (PE22)
> acpiprt9 at acpi0: bus -1 (PE23)
> acpiprt10 at acpi0: bus -1 (BR12)
> acpiprt11 at acpi0: bus -1 (BR14)
> acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
> acpicmos0 at acpi0
> com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
> com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
> tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0xfed40000/0x10000, Infineon SLB9635
> 1.2 rev 0x10
> acpibtn0 at acpi0: PWRB
> "PNP0C14" at acpi0 not configured
> acpicpu0 at acpi0: C2(0@100 io@0x1771), C1(@1 halt!), PSS
> acpicpu1 at acpi0: C2(0@100 io@0x1771), C1(@1 halt!), PSS
> acpicpu2 at acpi0: C2(0@100 io@0x1771), C1(@1 halt!), PSS
> acpicpu3 at acpi0: C2(0@100 io@0x1771), C1(@1 halt!), PSS
> cpu0: 3194 MHz: speeds: 3200 2900 2600 2200 1800 1400 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "AMD 15/1xh Host" rev 0x00
> "AMD 15/1xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
> radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 7560D" rev 0x00
> drm0 at radeondrm0
> radeondrm0: msi
> azalia0 at pci0 dev 1 function 1 vendor "ATI", unknown product 0x9902
> rev 0x00: msi
> azalia0: no supported codecs
> xhci0 at pci0 dev 16 function 0 "AMD Hudson-2 xHCI" rev 0x03: msi, xHCI 0.96
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev
> 3.00/1.00 addr 1
> xhci1 at pci0 dev 16 function 1 "AMD Hudson-2 xHCI" rev 0x03: msi, xHCI 0.96
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev
> 3.00/1.00 addr 1
> ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3
> ahci0: port 0: 6.0Gb/s
> ahci0: port 2: 1.5Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, ST250DM000-1BD14, KC47> 
> naa.5000c5006520feaf

HDD, not SSD, and release date of this model is April 2011... Eleven years ago.

> sd0: 238475MB, 512 bytes/sector, 488397168 sectors
> cd0 at scsibus1 targ 2 lun 0: <hp, DVD D DH16D7SH, WHH3> removable
> ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 5
> int 18, version 1.0, legacy support
> ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 5 int 17
> usb2 at ehci0: USB revision 2.0
> uhub2 at usb2 configuration 1 interface 0 "AMD EHCI root hub" rev
> 2.00/1.00 addr 1
> ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x11: apic 5
> int 18, version 1.0, legacy support
> ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 5 int 17
> usb3 at ehci1: USB revision 2.0
> uhub3 at usb3 configuration 1 interface 0 "AMD EHCI root hub" rev
> 2.00/1.00 addr 1
> piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x14: SMI
> iic0 at piixpm0
> spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800
> spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800
> azalia1 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x01:
> apic 5 int 16
> azalia1: codecs: Realtek ALC221
> audio0 at azalia1
> pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
> ppb0 at pci0 dev 20 function 4 "AMD Hudson-2 PCI" rev 0x40
> pci1 at ppb0 bus 1
> ohci2 at pci0 dev 20 function 5 "AMD Hudson-2 USB" rev 0x11: apic 5
> int 18, version 1.0, legacy support
> ppb1 at pci0 dev 21 function 0 "AMD Hudson-2 PCIE" rev 0x00
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 21 function 2 "AMD Hudson-2 PCIE" rev 0x00
> pci3 at ppb2 bus 3
> bge0 at pci3 dev 0 function 0 "Broadcom BCM5761" rev 0x10, BCM5761 A1
> (0x5761100): msi, address 2c:44:fd:20:36:fb
> brgphy0 at bge0 phy 1: BCM5761 10/100/1000baseT PHY, rev. 0
> pchb1 at pci0 dev 24 function 0 "AMD 15/1xh Link Cfg" rev 0x00
> pchb2 at pci0 dev 24 function 1 "AMD 15/1xh Address Map" rev 0x00
> pchb3 at pci0 dev 24 function 2 "AMD 15/1xh DRAM Cfg" rev 0x00
> km0 at pci0 dev 24 function 3 "AMD 15/1xh Misc Cfg" rev 0x00
> pchb4 at pci0 dev 24 function 4 "AMD 15/1xh CPU Power" rev 0x00
> pchb5 at pci0 dev 24 function 5 "AMD 15/1xh NB Power" rev 0x00
> usb4 at ohci0: USB revision 1.0
> uhub4 at usb4 configuration 1 interface 0 "AMD OHCI root hub" rev
> 1.00/1.00 addr 1
> usb5 at ohci1: USB revision 1.0
> uhub5 at usb5 configuration 1 interface 0 "AMD OHCI root hub" rev
> 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> 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
> lpt0 at isa0 port 0x378/4 irq 7
> usb6 at ohci2: USB revision 1.0
> uhub6 at usb6 configuration 1 interface 0 "AMD OHCI root hub" rev
> 1.00/1.00 addr 1
> vmm0 at mainbus0: SVM/RVI
> efifb at mainbus0 not configured
> uhidev0 at uhub0 port 3 configuration 1 interface 0 "Genius USB
> Optical Mouse" rev 2.00/1.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub0 port 4 configuration 1 interface 0 "SIGMACH1P USB
> Keykoard" rev 1.10/1.10 addr 3
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> uhidev2 at uhub0 port 4 configuration 1 interface 1 "SIGMACH1P USB
> Keykoard" rev 1.10/1.10 addr 3
> uhidev2: iclass 3/0, 2 report ids
> ucc0 at uhidev2 reportid 1: 573 usages, 18 keys, array
> wskbd2 at ucc0 mux 1
> uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
> umass0 at uhub3 port 5 configuration 1 interface 0 "Generic Mass
> Storage" rev 2.00/1.05 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <Generic, Flash Disk, 8.07> removable
> sd1: 961MB, 512 bytes/sector, 1968128 sectors
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> root on sd0a (8f91fc02b31000ea.a) swap on sd0b dump on sd0b
> radeondrm0: ARUBA
> radeondrm0: 1680x1050, 32bpp
> wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wskbd1: connecting to wsdisplay0
> wskbd2: connecting to wsdisplay0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> wsmouse0 detached
> ums0 detached
> uhidev0 detached
> uhidev0 at uhub0 port 3 configuration 1 interface 0 "Genius USB
> Optical Mouse" rev 2.00/1.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> wsmouse0 detached
> ums0 detached
> uhidev0 detached
> uhidev0 at uhub0 port 3 configuration 1 interface 0 "Genius USB
> Optical Mouse" rev 2.00/1.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> wsmouse0 detached
> ums0 detached
> uhidev0 detached
> uhidev0 at uhub0 port 3 configuration 1 interface 0 "Genius USB
> Optical Mouse" rev 2.00/1.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> sd1 detached
> scsibus2 detached
> umass0 detached
> syncing disks... done
>

Reply via email to