Subject: painfully slow
To: None <port-amd64@netbsd.org>
From: Chris Jones <christian.jones@sri.com>
List: port-amd64
Date: 08/16/2007 14:13:49
This is a multi-part message in MIME format.
--------------080909080409030303050101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I have a new Dell server with a dual-core Opteron, running NetBSD/amd64
3.1. Originally, I was trying to get it to run GENERIC.MP, but it would
lock up solid under heavy disk load. Now I'm running GENERIC, and it's
horribly slow.
Currently the machine is reconstructing parity on a RAID array while it
extracts syssrc.tgz. "systat vmstat" shows 92% time in interrupt, with
33000 interrupts every sample period. 30000 of those are ioapic0 pin 11.
The disk activity in systat vmstat shows 160 xfers and 2000K bytes to
each of wd0 and wd1. To me, the number of interrupts seems excessive for
that many transfers. :)
My dmesg shows pin 11 being used for ohci0, which is the only way I have
to attach a keyboard to this thing. There is no PS/2 port. Any advice on
what I should do here? I'm guessing it has something to do with USB.
Chris
--------------080909080409030303050101
Content-Type: text/plain;
name="dmesg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="dmesg.txt"
NetBSD 3.1 (GENERIC) #0: Mon Oct 30 21:47:28 UTC 2006
builds@b1.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/amd64/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/amd64/compile/GENERIC
total memory = 1022 MB
avail memory = 969 MB
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (DELL PE 01EB )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual-Core AMD Opteron(tm) Processor 2212, 2000.22 MHz
cpu0: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: ffdbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 1 MB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 16 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: not started
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type PCI
mpbios: bus 6 is type PCI
mpbios: bus 7 is type PCI
mpbios: bus 8 is type ISA
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 2
ioapic1 at mainbus0 apid 3 (I/O APIC)
ioapic1: pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0
ioapic1: remapped to apic 3
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb0 at pci0 dev 1 function 0: ServerWorks product 0x0036 (rev. 0x00)
pci1 at ppb0 bus 3
pci1: i/o space, memory space enabled
ppb1 at pci1 dev 13 function 0: ServerWorks product 0x0104 (rev. 0xc0)
pci2 at ppb1 bus 4
pci2: i/o space, memory space enabled
pciide0 at pci1 dev 14 function 0
pciide0: ServerWorks product 0x024b (rev. 0x00)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to native-PCI mode
pciide0: using ioapic0 pin 6 (irq 6) for native-PCI interrupt
atabus0 at pciide0 channel 0
pciide0: secondary channel configured to native-PCI mode
atabus1 at pciide0 channel 1
pchb0 at pci0 dev 2 function 0
pchb0: ServerWorks product 0x0205 (rev. 0x00)
pcib0 at pci0 dev 2 function 2
pcib0: ServerWorks product 0x0234 (rev. 0x00)
ohci0 at pci0 dev 3 function 0: ServerWorks product 0x0223 (rev. 0x01)
ohci0: interrupting at ioapic0 pin 11 (irq 11)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci0 dev 3 function 1: ServerWorks product 0x0223 (rev. 0x01)
ohci1: interrupting at ioapic0 pin 11 (irq 11)
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ServerWorks OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ServerWorks product 0x0223 (USB serial bus, interface 0x20, revision 0x01) at pci0 dev 3 function 2 not configured
vga0 at pci0 dev 4 function 0: ATI Technologies product 0x515e (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb2 at pci0 dev 7 function 0: ServerWorks product 0x0140 (rev. 0xa2)
pci3 at ppb2 bus 5
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 8 function 0: ServerWorks product 0x0142 (rev. 0xa2)
pci4 at ppb3 bus 1
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
bge0 at pci4 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
bge0: interrupting at ioapic1 pin 1 (irq 5)
bge0: PCI-Express DMA setting 0x76180000, expected 0x76180000
bge0: ASIC unknown BCM575x family (0x4201), Ethernet address 00:1a:a0:33:24:27
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb4 at pci0 dev 9 function 0: ServerWorks product 0x0144 (rev. 0xa2)
pci5 at ppb4 bus 2
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
bge1 at pci5 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
bge1: interrupting at ioapic1 pin 5 (irq 10)
bge1: PCI-Express DMA setting 0x76180000, expected 0x76180000
bge1: ASIC unknown BCM575x family (0x4201), Ethernet address 00:1a:a0:33:24:28
bge1: setting short Tx thresholds
brgphy1 at bge1 phy 1: BCM5750 1000BASE-T media interface, rev. 0
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb5 at pci0 dev 10 function 0: ServerWorks product 0x0142 (rev. 0xa2)
pci6 at ppb5 bus 6
pci6: i/o space, memory space enabled, rd/line, wr/inv ok
ppb6 at pci0 dev 11 function 0: ServerWorks product 0x0144 (rev. 0xa2)
pci7 at ppb6 bus 7
pci7: i/o space, memory space enabled, rd/line, wr/inv ok
pchb1 at pci0 dev 24 function 0
pchb1: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb4 at pci0 dev 24 function 3
pchb4: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
kbc: cmd word write error
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
ioapic0: enabling
ioapic1: enabling
Kernelized RAIDframe activated
uhub2 at uhub1 port 1
uhub2: Dell product 0xa001, class 9/0, rev 2.00/0.00, addr 2
uhub2: 2 ports with 2 removable, self powered
uhidev0 at uhub2 port 1 configuration 1 interface 0
uhidev0: vendor 0x10d5 PS2 to USB, rev 1.10/0.01, addr 3, iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub2 port 1 configuration 1 interface 1
uhidev1: vendor 0x10d5 PS2 to USB, rev 1.10/0.01, addr 3, iclass 3/1
uhidev1: 3 report ids
ums0 at uhidev1 reportid 1: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=2, output=0, feature=0
wd0 at atabus0 drive 0: <WDC WD2500YS-18SHB1>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484406 cyl, 16 head, 63 sec, 512 bytes/sect x 488281250 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1 at atabus1 drive 0: <WDC WD2500YS-18SHB1>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 232 GB, 484406 cyl, 16 head, 63 sec, 512 bytes/sect x 488281250 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
raid0: RAID Level 1
raid0: Components: /dev/wd0a /dev/wd1a
raid0: Total Sectors: 488281120 (238418 MB)
boot device: raid0
root on raid0a dumps on raid0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
--------------080909080409030303050101--