Unfortunately, even after new kernel build with version 1.27 of sys/kern/vfs_biomem.c issue with `softdep' persists.
dmesg output: OpenBSD 5.3-current (GENERIC.MP) #0: Fri Jun 28 00:20:42 ... bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries) bios0: vendor LENOVO version "6JET93WW (1.51 )" date 03/26/2012 bios0: LENOVO 28477TG ... cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz, 2095.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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF cpu0: 2MB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz, 2094.76 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF cpu1: 2MB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins ... cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 ... azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi pci1 at ppb0 bus 2 "JMicron SD/MMC" rev 0x00 at pci1 dev 0 function 0 not configured sdhc0 at pci1 dev 0 function 2 "JMicron SD Host Controller" rev 0x00: apic 2 int 16 sdmmc0 at sdhc0 "JMicron Memory Stick" rev 0x00 at pci1 dev 0 function 3 not configured "JMicron xD" rev 0x00 at pci1 dev 0 function 4 not configured ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: msi pci2 at ppb1 bus 3 ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: msi pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: msi pci4 at ppb3 bus 5 "Realtek 8192SE" rev 0x10 at pci4 dev 0 function 0 not configured ppb4 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: msi pci5 at ppb4 bus 6 ppb5 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: msi pci6 at ppb5 bus 8 ... ppb6 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93 pci7 at ppb6 bus 9 pcib0 at pci0 dev 31 function 0 "Intel 82801IBM LPC" rev 0x03 ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: msi, AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, Hitachi HTS54757, JE4O> SCSI3 0/direct fixed naa.5000cca63fc2c8ee sd0: 715404MB, 512 bytes/sector, 1465149168 sectors cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVDRAM GT30N, LG09> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 2 int 19 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM ... isa0 at pcib0 isadma0 at isa0 ... mtrr: Pentium Pro MTRR support vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on sd0a (0441f60ac76c6254.a) swap on sd0b dump on sd0b --------- snip ----------- /etc/fstab 0441f60ac76c6254.b none swap sw 0441f60ac76c6254.a / ffs rw,softdep 1 1 0441f60ac76c6254.m /home ffs rw,nodev,nosuid,softdep 1 2 0441f60ac76c6254.d /tmp ffs rw,nodev,nosuid,softdep 1 2 0441f60ac76c6254.f /usr ffs rw,nodev,softdep 1 2 0441f60ac76c6254.g /usr/X11R6 ffs rw,nodev,softdep 1 2 0441f60ac76c6254.h /usr/local ffs rw,nodev,softdep 1 2 0441f60ac76c6254.l /usr/obj ffs rw,nodev,nosuid,softdep 1 2 0441f60ac76c6254.k /usr/src ffs rw,nodev,softdep 1 2 0441f60ac76c6254.e /var ffs rw,nodev,softdep 1 2 Any idea why softdep hogs / limits simultaneous didk access ? 2013/6/27 Bob Beck <b...@openbsd.org> > Update to something that has version 1.27 of sys/kern/vfs_biomem.c and tell > me if you still have the issue. > > On Wed, Jun 26, 2013 at 4:35 AM, Tori Mus <torimus...@gmail.com> wrote: > > Hi, > > > > I'm running current snapshot of OpenBSD on amd64 architecture, MP kernel > > (Lenovo Thinkpad to be concrete). Based on the official docs tried to > tune > > disk performance by adding `softdep' mounting option for ffs slices. > > > > After updating of /etc/fstab and clean reboot, checked all particular > > slices like /home, /usr etc. are really mounted with softdep. > > > > The issue is about much worse performance then with the default > nosoftdep. > > Now, for example, when extracting ports.tar.gz snapshot in /usr, other > > process cann't open even small files without very long delays like "vi > > $HOME/.profile" takes about 2 minutes whereas cpu usage shown with top is > > about 5% only ! Turning off softdep redeems the access time of the > > previous example to about 4 seconds. > > > > I've searched mailing lists and read about softdep regression on OpenBSD > > 4.8 that was later fixed. Is this regression back. Does anybody else > > experiences similar behaviour ?