This system is definitely too old for AHCI to be a chipset option.  

You could always add in a cheap SATA card with Silicon Image chip, the sili 
driver supports NCQ...

1-3MB/sec isn't near the max speed of any of your hardware, and you fail to 
mention what you are doing while iostat is running to show this.  What is the 
problem again?

Tomas Bodzar [tomas.bod...@gmail.com] wrote:
> Hi all,
> 
> my friend started using of OpenBSD on his server, but he has quite bad
> perfomance with his disk. Actually it's running under native mode :
> 
> pciide1 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using apic 2 int 18 (irq 9) for native-PCI interrupt
> 
> 
> and there is no chance to switch it to AHCI. So he will install newer
> BIOS (there is no info about possible new option for it in release
> notes). So before additional tests it will be ok if it will be
> possible to switch to AHCI directly. Is there this option? From man
> page for pciide I can see that it's possible to set some options for
> some controllers over config so is it possible for AHCI too? Soft
> updates aren't enabled and I know that it will have impact on
> performance so he will enable it. Then it's only on AHCI/native, namei
> cache and combination of all HW involved.
> 
>     tty            cd0             wd0             cpu
>  tin tout  KB/t t/s MB/s   KB/t t/s MB/s  us ni sy in id
>    0   18  0.00   0 0.00  26.55  49 1.27   3  0  3  3 92
>    0   89  0.00   0 0.00  14.93 214 3.12  13  0 21 14 53
>    0    0  0.00   0 0.00  15.54 171 2.60  13  0 11 10 65
>    0    0  0.00   0 0.00  15.91 161 2.51  16  0 12 10 62
>    0    0  0.00   0 0.00  15.83 168 2.60  17  0 12  8 62
>    0    0  0.00   0 0.00  15.87 165 2.56  14  0 14  8 64
>    0  176  0.00   0 0.00  16.00 199 3.10  14  0 11 11 63
>    0    0  0.00   0 0.00  15.84 179 2.77  11  0 14 14 60
>    0    0  0.00   0 0.00  15.49 150 2.26  14  0 14  9 62
>    0    0  0.00   0 0.00  14.24 130 1.81  13  0 12  5 69
> 
> procs    memory       page                    disks    traps          cpu
>  r b w    avm     fre  flt  re  pi  po  fr  sr cd0 wd0  int   sys   cs us sy 
> id
>  0 5 0  19584  414996  508   0   0   0   0   0   0  54 1006  5732 1859  3  5 
> 92
>  0 5 0  19592  414988   25   0   0   0   0   0   0 116 8059 43686 14876 17 30 
> 53
>  1 5 0  19592  414988    7   0   0   0   0   0   0   0 4384 26122 9199 15 27 
> 57
>  0 5 0  19592  414956   11   0   0   0   0   0   0   0 4486 26236 9287 17 23 
> 60
>  1 5 0  19592  414972   34   0   0   0   0   0   0   0 4005 24506 8873 14 16 
> 70
>  0 5 0  19592  414988    7   0   0   0   0   0   0   0 4594 26552 9348 15 21 
> 63
>  0 5 0  19592  414948    7   0   0   0   0   0   0   0 4493 26480 9379 17 23 
> 59
>  0 5 0  19592  414948    7   0   0   0   0   0   0   2 4086 24244 8709 17 19 
> 64
>  1 5 0  19592  414964   11   0   0   0   0   0   0   0 4096 24023 8595 14 18 
> 67
>  0 5 0  19592  415012   34   0   0   0   0   0   0   0 4582 26632 9397 19 21 
> 59
> 
> 
> 
> 
> 
> 
> 
> OpenBSD 4.7-beta (GENERIC.MP) #409: Sun Feb  7 17:09:00 MST 2010
>     t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> RTC BIOS diagnostic error 18<memory_size,fixed_disk>
> cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz
> cpu0: 
> FPU,V86,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,SBF,CNXT-ID,xTPR
> real mem  = 534806528 (510MB)
> avail mem = 509517824 (485MB)
> RTC BIOS diagnostic error 18<memory_size,fixed_disk>
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 09/29/04, BIOS32 rev. 0 @
> 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (69 entries)
> bios0: vendor Dell Computer Corporation version "A06" date 09/29/2004
> bios0: Dell Computer Corporation OptiPlex GX270
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP SSDT APIC BOOT ASF!
> acpi0: wakeup devices VBTN(S4) PCI0(S3) USB0(S3) USB1(S3) USB2(S3)
> USB3(S3) PCI1(S5) MOU_(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 199MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz
> cpu1: 
> FPU,V86,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,SBF,CNXT-ID,xTPR
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 2
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (PCI1)
> acpicpu0 at acpi0
> acpicpu1 at acpi0
> acpibtn0 at acpi0: VBTN
> bios0: ROM list: 0xc0000/0xa800 0xca800/0x1800!
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02
> vga1 at pci0 dev 2 function 0 "Intel 82865G Video" rev 0x02
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xe8000000, size 0x8000000
> inteldrm0 at vga1: apic 2 int 16 (irq 11)
> drm0 at inteldrm0
> uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic
> 2 int 16 (irq 11)
> uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic
> 2 int 19 (irq 10)
> uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: apic
> 2 int 18 (irq 9)
> uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: apic
> 2 int 16 (irq 11)
> ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: apic
> 2 int 23 (irq 5)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2
> pci1 at ppb0 bus 1
> em0 at pci1 dev 12 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02:
> apic 2 int 18 (irq 9), address 00:0d:56:0d:92:f4
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
> pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02:
> DMA, channel 0 configured to compatibility, channel 1 configured to
> compatibility
> pciide0: channel 0 ignored (disabled)
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8163B, 0D20> ATAPI
> 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> pciide1 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using apic 2 int 18 (irq 9) for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: <ST3500320AS>
> wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
> ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02:
> apic 2 int 17 (irq 3)
> iic0 at ichiic0
> auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER AC97" rev 0x02:
> apic 2 int 17 (irq 3), ICH5 AC97
> ac97: codec id 0x41445374 (Analog Devices AD1981B)
> ac97: codec features headphone, 20 bit DAC, No 3D Stereo
> audio0 at auich0
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> mtrr: Pentium Pro MTRR support
> uhidev0 at uhub3 port 2 configuration 1 interface 0 "Logitech Optical
> USB Mouse" rev 2.00/3.40 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub2 port 2 configuration 1 interface 0 "DELL DELL USB
> Keyboard" rev 1.10/1.05 addr 2
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 modifier keys, 6 key codes
> wskbd0 at ukbd0: console keyboard, using wsdisplay0
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
> WARNING: / was not properly unmounted
> 
> 
> -- 
> http://www.openbsd.org/lyrics.html

-- 
"...of course....In the end, Goldstein implies that "the war" might not exist; 
the Oceanian populace know the external world solely via the Party's 
propaganda, and that the rocket bombings, ostensibly by "the enemy", might be 
self-inflicted (as Julia suggests), therefore, "the war" is a lie. Moreover, it 
might possibly be that Eurasia and Eastasia are fabrications, and that Oceania 
is the sole world power. In such ambiguity is the meaning of perpetual war: 
internal subjugation disguised as defence against foreign subjugation, the 
theory and practice of oligarchical collectivism..."
- 1984, George Orwell

Reply via email to