NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i386 home firewall/router/nat bottleneck diagnostics?



> On Thu, Mar 24, 2011 at 10:52:52AM -0000, yancm%sdf.lonestar.org@localhost 
> wrote:
>> clarity 10 # netstat -i
>> Name  Mtu   Network       Address              Ipkts Ierrs    Opkts
>> Oerrs
>> Colls
>> wm0   1500  10.1.10/24    10.1.10.10         7702906    47  4656229
>> 0
>>    0
>> wm1   1500  192.168.1/24  clarity            4627573    51  7603071
>> 6
>>    0
>>
>> Based on very limited testing, seems to get best speeds, I need 1G path
>> even though throughput speeds are considerably less than NIC ratings?
>
> The input and output errors look suspicious. Can you please post
> "dmesg" of the machine?

Here's the dmesg. I had not noticed the  wm1: device timeout messages
earlier... Obviously a lot of stuff here that's not network related.

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.1_STABLE (CLARITY) #10: Sun Mar 20 21:09:12 EDT 2011
        root%clarity.homeip.net@localhost:/usr/obj/sys/arch/i386/compile/CLARITY
total memory = 255 MB
avail memory = 246 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Generic PC
mainbus0 (root)
cpu0 at mainbus0: Intel 686-class, 298MHz, id 0x634
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x7180 (rev. 0x03)
agp0 at pchb0: aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7181 (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: vendor 0x104c product 0x3d07 (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: vendor 0x8086 product 0x7110 (rev. 0x01)
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
vendor 0x8086 product 0x7112 (USB serial bus, revision 0x01) at pci0 dev 7
function 2 not configured
vendor 0x8086 product 0x7113 (miscellaneous bridge, revision 0x01) at pci0
dev 7 function 3 not configured
wm0 at pci0 dev 16 function 0: Intel i82541PI 1000BASE-T Ethernet, rev. 5
wm0: interrupting at irq 9
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:1b:21:94:ff:8d
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
wm1 at pci0 dev 18 function 0: Intel i82541PI 1000BASE-T Ethernet, rev. 5
wm1: interrupting at irq 10
wm1: 32-bit 33MHz PCI bus
wm1: 64 word (6 address bits) MicroWire EEPROM
wm1: Ethernet address 00:1b:21:95:00:1a
igphy1 at wm1 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
attimer0: attached to pcppi0
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
atapibus0 at atabus0: 2 targets
atapibus0 drive 1: <ATAPI 50X CDROM, , VER-4.0> cdrom removable not
configured
wd0 at atabus0 drive 0: <ST380011A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd2 at atabus1 drive 0: <ST380011A>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488
sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd2(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Kernelized RAIDframe activated
raid0: RAID Level 1
raid0: Components: /dev/wd0a /dev/wd2a
raid0: Total Sectors: 156301312 (76319 MB)
boot device: raid0
root on raid0a dumps on raid0b
root file system type: ffs
wm1: device timeout (txfree 3965 txsfree 0 txnext 1542)
wm1: device timeout (txfree 3968 txsfree 0 txnext 328)
wm1: device timeout (txfree 3967 txsfree 0 txnext 322)
wm1: device timeout (txfree 3968 txsfree 0 txnext 318)
wm1: device timeout (txfree 3968 txsfree 0 txnext 320)
wm1: device timeout (txfree 3968 txsfree 0 txnext 326)




Home | Main Index | Thread Index | Old Index