Re: softdep issue in 5.3-current ?

2013-06-27 Thread Tori Mus
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 0xfec0, 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

softdep issue in 5.3-current ?

2013-06-26 Thread Tori Mus
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 ?



Broadcom's bcm4313 not yet supported ?

2013-06-17 Thread Tori Mus
Hi,

just installed OpenBSD-current and most of things do work out of box.
However Broadcom's wireless card BCM4313 does appear in dmesg output as
properly detected but not initialized/configured:

 snip 
pci2 at ppb1 bus 2
Broadcom BCM4313 rev 0x01 at pci2 dev 0 function 0 not configured
 snip 

Ifconfig does not list this card. (bwi?) expected.
Even tried if the missing firmware is the cause, but fw_update only fetched
firmware for a webcam.

Just asking if this type of card is not (yet) supported even in the current
branch and have to buy some external on usb stick.

Thanks.

Tori



Utility to evaluate AML (disable discrete vga) ?

2013-06-17 Thread Tori Mus
Hello,

first I've to admit I'm really excited with OpenBSD. Today finished a fresh
install, most things do work out of a box, sane defaults, excellent
documentation, impression of consistent design and smooth experience so
far. Deserted from Linux world because things get constantly breaking
(repeated kernel regressions, system inits, devices management, userland
instead of system solutions like networking or power handling, etc. etc.).

Sorry for the above intro but I'm very pleased to just found what I've been
(hopefully) looking for.

To significantly reduce power consumption on a notebook, I'd need yet to
disable the discrete nvidia graphics adapter to a fully satisfaction.
After some investigation of acpidump output I have the proper AML to be
sent/evaluated to take an effect of turning off this card. Is there some
tool or similar way how to evaluate/send this AML ? Or do I have to write
my own code by `9 aml_evalnode' man page ? Did tested on FreeBSD with
acpi_control and did worked reliably.

Any idea ?



Re: Broadcom's bcm4313 not yet supported ?

2013-06-17 Thread Tori Mus
Thanks, just asked to make sure something don't overlooked ;)


2013/6/18 Chris Cappuccio ch...@nmedia.net

 bwi is incomplete due to a lack of vendor documentation

 there may be improvement in dragonflybsd that is worth porting over, or
 you may get lucky, stick the PCI device ID for your card into the bwi
 driver, and see that it otherwise works...

 your best bet may be to buy a better supported mini-pcie card and install
 it!

 Tori Mus [torimus...@gmail.com] wrote:
  Hi,
 
  just installed OpenBSD-current and most of things do work out of box.
  However Broadcom's wireless card BCM4313 does appear in dmesg output as
  properly detected but not initialized/configured:
 
   snip 
  pci2 at ppb1 bus 2
  Broadcom BCM4313 rev 0x01 at pci2 dev 0 function 0 not configured
   snip 
 
  Ifconfig does not list this card. (bwi?) expected.
  Even tried if the missing firmware is the cause, but fw_update only
 fetched
  firmware for a webcam.
 
  Just asking if this type of card is not (yet) supported even in the
 current
  branch and have to buy some external on usb stick.
 
  Thanks.
 
  Tori

 --
 I'm not being defensive. Maybe you're the one
 that's being defensive. Maybe you should look
 at yourself once in awhile.