DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th July 2009
knasbas knasbas is offline
Port Guard
 
Join Date: May 2008
Posts: 25
Default slow io from hdd

I just went from 4.0->4.5 with a completly reinstalled machine. I tossed all old idedrives and inserted 1 new satadrive (the 1.5tb seagate) otherwise its completly the same hardware. I have picked it into pieces and cleaned out all the dust.
The problem is slow transfers and high load.
Copying from one drive to another is at best 20mb/s but more common 5-10 and sometimes even dropping to 1mb/s and all this at 40-60% load?
Old system was almost constantly 20-40mb/s.
Going to test some benchmarkprograms(welcome to recommend one) tomorro, but for now i was hoping for some directions from you experts!

dmesg:
Quote:
OpenBSD 4.5-stable (GENERIC) #0: Wed Jul 22 16:12:03 CEST 2009
root@aquarius.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2600+ ("AuthenticAMD" 686-class, 512KB L2 cache) 1.92 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 1073233920 (1023MB)
avail mem = 1029488640 (981MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/22/04, BIOS32 rev. 0 @ 0xfb3f0, SMBIOS rev. 2.2 @ 0xf0800 (37 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 11/22/2004
bios0: http://www.abit.com.tw/ NF7-S/NF7,NF7-V (nVidia-nForce2)
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 5 7 10 11 12 14 15
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x9800 0xcc000/0x5000 0xd1000/0x1000 0xd2000/0x4800
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "NVIDIA nForce2 PCI" rev 0xc1
agp at pchb0 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 1 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 2 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 3 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 4 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA nForce2 ISA" rev 0xa4
nviic0 at pci0 dev 1 function 1 "NVIDIA nForce2 SMBus" rev 0xa2
iic0 at nviic0
iic0: addr 0x4e 01=08 02=01 03=01 04=01 05=80 06=0b 07=00 08=00 09=00 0a=eb 0b=00 0c=00 0d=00 0e=00 0f=00 3e=08 48=08 4a=08 4e=08 b3=08 b4=08 b5=08 b6=08 b7=08 b8=08 b9=08 ba=08 bb=08 bc=08 bd=08 be=08 bf=08 c0=08 c1=08 c2=08 c3=08 c4=08 c5=08 c6=08 c7=08 c8=08 c9=08 ca=08 cb=08 cc=08 cd=08 ce=08 cf=08 d0=08 d1=08 d2=08 d3=08 d4=08 d5=08 d6=08 d7=08 d8=08 d9=08 da=08 db=08 dc=08 dd=08 de=08 df=08 e0=08 e1=08 e2=08 e3=08 e4=08 e5=08 e6=08 e7=08 e8=08 e9=08 ea=08 eb=08 ec=08 ed=08 ee=08 ef=08 f0=00 f1=00 f2=00 f3=00 f4=00 f5=00 f6=00 f7=00 f8=00 f9=00 fa=00 fb=00 fc=00 fd=00 fe=08 ff=00 words 00=28ff 01=08ff 02=01ff 03=01ff 04=01ff 05=80ff 06=0bff 07=00ff
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL2.5
spdmem1 at iic0 addr 0x52: 512MB DDR SDRAM non-parity PC2700CL2.5
iic1 at nviic0
ppb0 at pci0 dev 8 function 0 "NVIDIA nForce2 PCI-PCI" rev 0xa3
pci1 at ppb0 bus 1
pciide0 at pci1 dev 7 function 0 "Promise PDC40718" rev 0x02: DMA
wd0 at pciide0 channel 0 drive 0: <SAMSUNG HD753LJ>
wd0: 16-sector PIO, LBA48, 715404MB, 1465149168 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 7
wd1 at pciide0 channel 1 drive 0: <ST31500341AS>
wd1: 16-sector PIO, LBA48, 1430799MB, 2930277168 sectors
wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6
wd2 at pciide0 channel 2 drive 0: <SAMSUNG HD753LJ>
wd2: 16-sector PIO, LBA48, 715404MB, 1465149168 sectors
wd2(pciide0:2:0): using BIOS timings, Ultra-DMA mode 7
wd3 at pciide0 channel 3 drive 0: <SAMSUNG HD401LJ>
wd3: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd3(pciide0:3:0): using BIOS timings, Ultra-DMA mode 7
pciide0: using irq 11 for native-PCI interrupt
em0 at pci1 dev 9 function 0 "Intel PRO/1000GT (82541GI)" rev 0x05: irq 10, address 00:1b:21:14:87:60
pciide1 at pci1 dev 11 function 0 "CMD Technology SiI3112 SATA" rev 0x02: DMA
pciide1: using irq 15 for native-PCI interrupt
pciide1: port 0: device present, speed: 1.5Gb/s
wd4 at pciide1 channel 0 drive 0: <SAMSUNG HD753LJ>
wd4: 16-sector PIO, LBA48, 715404MB, 1465149168 sectors
wd4(pciide1:0:0): using BIOS timings, Ultra-DMA mode 7
pciide1: port 1: device present, speed: 1.5Gb/s
wd5 at pciide1 channel 1 drive 0: <SAMSUNG HD401LJ>
wd5: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd5(pciide1:1:0): using BIOS timings, Ultra-DMA mode 7
pciide2 at pci0 dev 9 function 0 "NVIDIA nForce2 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
pciide2: channel 0 ignored (disabled)
pciide2: channel 1 ignored (disabled)
ppb1 at pci0 dev 30 function 0 "NVIDIA nForce2 AGP" rev 0xc1
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 "NVIDIA GeForce256 DDR" rev 0x10
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x17
lm1 at wbsio0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask fbfd netmask fffd ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd3a swap on wd3b dump on wd3b
I just noticed the interrupt PCI routing problem as im posting this.
Reply With Quote
  #2   (View Single Post)  
Old 25th July 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Interrupt routing issues always concern me.. boot into the UKC and disable apm, this will force the system to use acpi instead.

I have a similar system, look in the BIOS for an option to enable APIC instead of PIC, and if you see any options related to "Plug and Play OS, PnP OS", set that to "No/False".

Good luck, post the updated dmesg.. we like them.
Reply With Quote
  #3   (View Single Post)  
Old 25th July 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,052
Default

Your hardware has both ACPI and APM. OpenBSD selected the latter. Try using ACPI instead.

At the boot> prompt, respond "-c"
At the first UKC> prompt, respond "disable apm"
At the next UKC> prompt, respond "quit"

Inspect the new dmesg, and see if the interrupt routing problem goes away.
If it does, then make this change to your kernel permanent with config(8).
Reply With Quote
  #4   (View Single Post)  
Old 25th July 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,052
Default

As usual, great minds think alike; BSDfan was faster.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox startup very slow. bsdnewbie999 OpenBSD General 5 6th May 2009 05:30 AM
Local transfer is slow. maurobottone OpenBSD General 1 10th January 2009 02:12 PM
RtGUI load very slow mfaridi FreeBSD Ports and Packages 0 25th November 2008 01:47 PM
Why does BSD loads web pages slow? bigb89 General software and network 10 27th October 2008 06:38 AM
Daemonforums very slow, times out a lot Weaseal Feedback and Suggestions 15 16th May 2008 12:44 AM


All times are GMT. The time now is 12:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick