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

Improving routing performance


A few days ago I got my home internet connection upgraded to 8/1 Mbit/s,
and then I realised that my OpenBSD router and firewall wasn't able to
work that fast. I have used TPTEST (tptest.sourceforge.net) to measure
the available bandwith and got the following results:

TPTEST running on Linux workstation directly connected to cable modem:
TCP download 8 Mbit/s, TCP upload 1 Mbit/s
UDP download 8 Mbit/s, UDP upload 1 Mbit/s

TPTEST running on OpenBSD router directly connected to cable modem:
TCP download 2 Mbit/s, TCP upload 1 Mbit/s
UDP download 2 Mbit/s, UDP upload 1 Mbit/s

TPTEST running on Linux workstation connected to OpenBSD router:
TCP download 1 Mbit/s, TCP upload 1 Mbit/s
UDP download 2 Mbit/s, UDP upload 1 Mbit/s

So my old OpenBSD router is clearly not up to handling my new 8 Mbit/s
downlink speed. Could anyone here help guiding me to find out the worst
hardware (and maybe software) bottlenecks in my system?

I have attached the output of dmesg. Any tips on what the most important
things to investigate are? Is there any other information I should post?

Cheers // Fredrik Roubert

Mvllevengsvdgen 6b  |  +46 46 188127
SE-222 40 Lund      |  http://www.df.lth.se/~roubert/
OpenBSD 3.5 (GENERIC) #34: Mon Mar 29 12:24:55 MST 2004
cpu0: Intel Pentium (P54C) ("GenuineIntel" 586-class) 133 MHz
cpu0: F00F bug workaround installed
real mem  = 16363520 (15980K)
avail mem = 9117696 (8904K)
using 225 buffers containing 921600 bytes (900K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(7d) BIOS, date 09/06/96, BIOS32 rev. 0 @ 0xfb310
apm0 at bios0: Power Management spec V1.1
apm0: APM engage (device 1): power management disabled (1)
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xb838
pcibios0: PCI BIOS has 6 Interrupt Routing table entries
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xef000/0x1000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Acer Labs M1523 PCI" rev 0x1c
pcib0 at pci0 dev 2 function 0 "Acer Labs M1523 ISA" rev 0x07
pciide0 at pci0 dev 2 function 1 "Acer Labs M5219 UDMA IDE" rev 0x20: DMA (unsupported), channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 91010D6>
wd0: 16-sector PIO, LBA, 9641MB, 19746720 sectors
pciide0: channel 1 ignored (not responding; disabled or no drives?)
vga1 at pci0 dev 3 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1: 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>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lpt1 at isa0 port 0x278/4: polled
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pccom2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
isapnp0 at isa0 port 0x279: read port 0x203
ep1 at isapnp0 "3Com 3C509B EtherLink III, TCM5095, PNP80F7, " port 0x210/16 irq 9: address 00:60:97:39:50:2d, utp (default utp)
ep2 at isapnp0 "3Com 3C509B EtherLink III, TCM5095, PNP80F7, " port 0x220/16 irq 10: address 00:60:97:12:1d:a6, utp (default utp)
biomask 4040 netmask 4640 ttymask 46c2
pctr: 586-class performance counters and user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Visit your host, monkey.org