Branching off from the CPU and X paths of analysis, have you made sure network performance is not a factor in all this?
A tact also in the browser, is use the inspect tools to see the response time of the request pieces. IF it is at all network related that my yield some information. Ken On Wed, Jun 20, 2018 at 08:29:30AM +0300, ???????????? wrote: > Hello. > I'm using Firefox and Chromium (from packages) to browse the internet on > OpenBSD 6.3 (amd64). > The problem is that their performance in OpenBSD is very poor compared to > other OSes. > Everything I found regarding boosting their performance: > 1) Changing some values in login.conf for login group staff and adding myself > to that login class: > staff:\ > :datasize-cur=4096M:\ > :datasize-max=infinity:\ > :openfiles-cur=1024:\ > :stacksize-cur=64M:\ > :maxproc-max=512:\ > :maxproc-cur=512:\ > :ignorenologin:\ > :requirehome@:\ > :tc=default: > > 2) sysctl kern.shminfo.shmall=268435456 > > All of this was taken from here: > http://openbsd-archive.7691.n7.nabble.com/Coddling-bloated-web-browsers-etc-or-how-far-does-kern-shminfo-shmall-usefully-go-td244155.html > > These changes to the system don't seem to have any effect. > Loading pages is slow, watching online video is possible but the > responsiveness of the browser becomes awful. > > Do I need additional settings to fix this? > > > dmesg: > > OpenBSD 6.3-current (GENERIC.MP) #13: Thu Jun 14 17:29:44 MDT 2018 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8442433536 (8051MB) > avail mem = 8108933120 (7733MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe9374 (57 entries) > bios0: vendor Hewlett-Packard version "K01 v02.57" date 11/16/2012 > bios0: Hewlett-Packard HP Compaq Pro 6300 All-in-One PC > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT SLIC SSDT SSDT TCPA ASF! BGRT > acpi0: wakeup devices PS2K(S3) PS2M(S3) P0P1(S4) USB1(S3) USB2(S3) USB3(S3) > USB4(S3) USB5(S3) USB6(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) > PXSX(S4) RP03(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) i3-3220 CPU @ 3.30GHz, 3293.09 MHz > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu0: 256KB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 99MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz, 3292.52 MHz > cpu1: > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (P0P1) > acpiprt2 at acpi0: bus -1 (RP01) > acpiprt3 at acpi0: bus -1 (RP02) > acpiprt4 at acpi0: bus -1 (RP03) > acpiprt5 at acpi0: bus -1 (RP04) > acpiprt6 at acpi0: bus -1 (RP05) > acpiprt7 at acpi0: bus -1 (RP06) > acpiprt8 at acpi0: bus -1 (RP07) > acpiprt9 at acpi0: bus -1 (RP08) > acpiprt10 at acpi0: bus -1 (PEG0) > acpiprt11 at acpi0: bus -1 (PEG1) > acpiprt12 at acpi0: bus -1 (PEG2) > acpiprt13 at acpi0: bus -1 (PEG3) > acpiec0 at acpi0: not present > acpicpu0 at acpi0: C3(350@80 mwait.1@0x20), C2(500@59 mwait.1@0x10), > C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C3(350@80 mwait.1@0x20), C2(500@59 mwait.1@0x10), > C1(1000@1 mwait.1), PSS > acpipwrres0 at acpi0: FN00, resource for FAN0 > acpipwrres1 at acpi0: FN01, resource for FAN1 > acpipwrres2 at acpi0: FN02, resource for FAN2 > acpipwrres3 at acpi0: FN03, resource for FAN3 > acpipwrres4 at acpi0: FN04, resource for FAN4 > acpitz0 at acpi0: critical temperature is 105 degC > acpitz1 at acpi0: critical temperature is 105 degC > acpicmos0 at acpi0 > "INT3F0D" at acpi0 not configured > tpm0 at acpi0: TPM_ addr 0xfed40000/0x5000: Infineon SLB9635 1.2 rev 0x10 > acpibtn0 at acpi0: PWRB > "PNP0C14" at acpi0 not configured > "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 > acpivideo0 at acpi0: PEG0 > acpivideo1 at acpi0: VGA_ > acpivideo2 at acpi0: GFX0 > acpivout0 at acpivideo2: DD02 > acpivout at acpivideo2 not configured > cpu0: Enhanced SpeedStep 3293 MHz: speeds: 3300, 3200, 3100, 3000, 2800, > 2700, 2600, 2500, 2400, 2300, 2200, 2100, 1900, 1800, 1700, 1600 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09 > inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 2500" rev 0x09 > drm0 at inteldrm0 > inteldrm0: msi > inteldrm0: 1920x1080, 32bpp > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi, xHCI 1.0 > 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 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured > puc0 at pci0 dev 22 function 3 "Intel 7 Series KT" rev 0x04: ports: 16 com > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo > com4: probed fifo depth: 0 bytes > em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address > 9c:8e:99:f3:25:00 > ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16 > usb1 at ehci0: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: msi > azalia0: codecs: IDT/0x76e0, Intel/0x2806, using IDT/0x76e0 > audio0 at azalia0 > ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23 > usb2 at ehci1: USB revision 2.0 > uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa4 > pci1 at ppb0 bus 1 > pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x1e48 rev > 0x04 > ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: 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, PLEXTOR PX-128S3, 1.03> SCSI3 0/direct > fixed naa.500230310101e419 > sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin > cd0 at scsibus1 targ 2 lun 0: <hp, CDDVDW SN-208BB, HD20> ATAPI 5/cdrom > removable > ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int > 18 > iic0 at ichiic0 > iic0: addr 0x4c 00=01 01=16 02=3e 03=04 04=01 06=02 07=01 08=e0 09=e0 80=01 > 81=17 82=3f 83=04 84=01 86=02 87=01 88=e0 89=e0 words 00=0117 01=1700 02=0004 > 03=0401 04=0100 05=0002 06=0201 07=01e0 > spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM > spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM > 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, using wsdisplay0 > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT > error: [drm:pid0:cpt_set_fifo_underrun_reporting] *ERROR* uncleared pch fifo > underrun on pch transcoder A > error: [drm:pid0:intel_pch_fifo_underrun_irq_handler] *ERROR* PCH transcoder > A FIFO underrun > uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.00 addr 2 > uaudio0 at uhub3 port 2 configuration 1 interface 0 "Sennheiser > Communications Sennheiser USB headset" rev 1.10/1.00 addr 3 > uaudio0: audio rev 1.00, 8 mixer controls > audio1 at uaudio0 > uhidev0 at uhub3 port 2 configuration 1 interface 3 "Sennheiser > Communications Sennheiser USB headset" rev 1.10/1.00 addr 3 > uhidev0: iclass 3/0 > uhid0 at uhidev0: input=4, output=4, feature=0 > uvideo0 at uhub3 port 4 configuration 1 interface 0 "DCWGA019I3A37M product > 0x8b03" rev 2.00/1.19 addr 4 > video0 at uvideo0 > uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.00 addr 2 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (cb7b9e16faf31e57.a) swap on sd0b dump on sd0b > lock order reversal: > 1st 0xffffff01df02acc0 vmmaplk (&map->lock) @ > /usr/src/sys/uvm/uvm_fault.c:1441 > 2nd 0xffff800000121138 drmdevlk (&dev->struct_mutex) @ > /usr/src/sys/dev/pci/drm/i915/i915_gem.c:1801 > lock order "&dev->struct_mutex"(rwlock) -> "&map->lock"(rwlock) first seen at: > #0 witness_checkorder+0x4c0 > #1 _rw_enter+0x68 > #2 vm_map_lock_ln+0xbc > #3 uvm_map+0x1a1 > #4 uvm_km_valloc+0x6c > #5 vmap+0x36 > #6 vmap_batch+0xeb > #7 i915_parse_cmds+0x15d > #8 i915_gem_execbuffer2+0x1032 > #9 drm_do_ioctl+0x221 > #10 drmioctl+0xf9 > #11 VOP_IOCTL+0x5a > #12 vn_ioctl+0x6b > #13 sys_ioctl+0x457 > #14 syscall+0x32a > #15 Xsyscall_untramp+0xe4 > lock order "&map->lock"(rwlock) -> "&dev->struct_mutex"(rwlock) first seen at: > #0 witness_checkorder+0x4c0 > #1 _rw_enter_write+0x53 > #2 i915_gem_object_wait_rendering__nonblocking+0x1fa > #3 i915_gem_fault+0x144 > #4 drm_fault+0x18a > #5 uvm_fault+0x743 > #6 trap+0x516 > #7 recall_trap+0x8 > lock order reversal: > 1st 0xffffffff81dd6df8 &sched_lock (&sched_lock) @ > /usr/src/sys/kern/kern_synch.c:444 > 2nd 0xffff8000001179f0 &dev_priv->uncore.lock (&dev_priv->uncore.lock) @ > /usr/src/sys/dev/pci/drm/i915/intel_uncore.c:811 > lock order "&dev_priv->uncore.lock"(mutex) -> "&sched_lock"(sched_lock) first > seen at: > #0 witness_checkorder+0x4c0 > #1 ___mp_lock+0x70 > #2 schedclock+0x30 > #3 hardclock+0xe3 > #4 lapic_clockintr+0x3d > #5 Xresume_lapic_ltimer+0x22 > #6 x86_bus_space_mem_read_4+0x14 > #7 gen6_read32+0x184 > #8 ironlake_irq_handler+0x59 > #9 intr_handler+0x74 > #10 Xintr_ioapic_edge16_untramp+0x161 > #11 acpicpu_idle+0x1ea > #12 sched_idle+0x275 > lock order "&sched_lock"(sched_lock) -> "&dev_priv->uncore.lock"(mutex) first > seen at: > #0 witness_checkorder+0x4c0 > #1 _mtx_enter+0x31 > #2 gen6_read32+0x8f > #3 gen6_ring_get_seqno+0x3a > #4 __i915_wait_request+0x232 > #5 i915_gem_object_wait_rendering__nonblocking+0x1d6 > #6 i915_gem_set_domain_ioctl+0xdb > #7 drm_do_ioctl+0x221 > #8 drmioctl+0xf9 > #9 VOP_IOCTL+0x5a > #10 vn_ioctl+0x6b > #11 sys_ioctl+0x457 > #12 syscall+0x32a > #13 Xsyscall_untramp+0xe4 > lock order reversal: > 1st 0xffffffff81dd6df8 &sched_lock (&sched_lock) @ > /usr/src/sys/kern/kern_synch.c:444 > 2nd 0xffff80000011e270 &dev_priv->irq_lock (&dev_priv->irq_lock) @ > /usr/src/sys/dev/pci/drm/i915/intel_ringbuffer.c:1787 > lock order "&dev_priv->irq_lock"(mutex) -> "&sched_lock"(sched_lock) first > seen at: > #0 witness_checkorder+0x4c0 > #1 ___mp_lock+0x70 > #2 wakeup_n+0x39 > #3 task_add+0x93 > #4 gen6_rps_boost+0x129 > #5 __i915_wait_request+0x155 > #6 i915_gem_object_wait_rendering__nonblocking+0x1d6 > #7 i915_gem_set_domain_ioctl+0xdb > #8 drm_do_ioctl+0x221 > #9 drmioctl+0xf9 > #10 VOP_IOCTL+0x5a > #11 vn_ioctl+0x6b > #12 sys_ioctl+0x457 > #13 syscall+0x32a > #14 Xsyscall_untramp+0xe4 > lock order "&sched_lock"(sched_lock) -> "&dev_priv->irq_lock"(mutex) first > seen at: > #0 witness_checkorder+0x4c0 > #1 _mtx_enter+0x31 > #2 gen6_ring_put_irq+0x36 > #3 __i915_wait_request+0x367 > #4 i915_gem_object_wait_rendering__nonblocking+0x1d6 > #5 i915_gem_set_domain_ioctl+0xdb > #6 drm_do_ioctl+0x221 > #7 drmioctl+0xf9 > #8 VOP_IOCTL+0x5a > #9 vn_ioctl+0x6b > #10 sys_ioctl+0x457 > #11 syscall+0x32a > #12 Xsyscall_untramp+0xe4 > audio1: failed to start playback > audio1: failed to start recording > error: [drm:pid83534:intel_pipe_update_start] *ERROR* Potential atomic update > failure on pipe B > error: [drm:pid83534:intel_pipe_update_start] *ERROR* Potential atomic update > failure on pipe B > error: [drm:pid83534:intel_pipe_update_start] *ERROR* Potential atomic update > failure on pipe B > audio1: failed to start playback > audio1: failed to start recording > _____________________________________ > > cat /etc/fstab > cb7b9e16faf31e57.b none swap sw > cb7b9e16faf31e57.a / ffs rw,wxallowed,softdep 1 1 > > > --?? > Best regards > Maksim Rodin >