Hi, if I understand you correctly your testing consists of up and downloads on your openbsd router. This is not the proper way to test network performance on a router. I recommend using tools that dont involve any i/o operations such as netperf etc.
According to your dmesg I wouldn't be surprised if you're issues are harddrive related. greets, sebastian Am Dienstag, den 14.02.2006, 11:16 +0100 schrieb Joachim Mathes: > Hi OpenBSD community! > > I built a small ethernet network with Windows and Linux boxes and an > OpenBSD router which is connected to the www via dsl. > > The problem is that the upload speed from an intranet box to the BSD > server (over scp for example) is quite ok (about 13 MBit/s) but the > download speed is rather slow (about 1 MBit/s). Why? > > I used ethereal to get a tcp dump and plottet the results (x-axis -> > time, y-axis -> number of bytes). For about a second I get full download > speed but then there is a period of 15 seconds where the connection > seems to be stalled. After 15 seconds the connection works for 1 second > at full speed and so on. As a result the diagram looks like a stair. > > Now I'm going to tell you what I have tried to solve the > problem...without any success. > > - samba shows the same behaviour > - disconnected the switch (100Mbit) and made a direct connection to the > server > - changed RJ45 cable > - switched network cards from Realtek 8139 (100Mbit) to Realtek 8029 (10Mbit; > works fine for pppoe) (I know they are of poor quality!) > - changed media type manually from 100baseTX full duplex to 100baseTX to > 10baseT full duplex to 10baseT > - killed pf; killed ppp > - processor load is ok during download > - same behaviour if server is accessed from a windows or a linux box > (both of them have 100Mbit NICs) > > I have found some old threads (OpenBSD 2.x) concerning the same problem > but not any solution up to now. So if you have any further idea, please > tell me. > > Thanks in advance! > > Jo > > dmesg: > --------------------------------------------------------------------------- > OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 401 MHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR > real mem = 267952128 (261672K) > avail mem = 237731840 (232160K) > using 3296 buffers containing 13500416 bytes (13184K) of memory > mainbus0 (root) > bios0 at mainbus0: AT/286+(26) BIOS, date 01/11/01, BIOS32 rev. 0 @ 0xfb130 > apm0 at bios0: Power Management spec V1.2 > apm0: AC on, battery charge unknown > pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb5ac > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdbf0/144 (7 entries) > pcibios0: PCI Exclusive IRQs: 10 11 > pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00) > pcibios0: PCI bus #1 is the last bus > bios0: ROM list: 0xc0000/0xc800 > cpu0 at mainbus0 > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > pchb0 at pci0 dev 0 function 0 "VIA VT82C691 PCI" rev 0x06 > ppb0 at pci0 dev 1 function 0 "VIA VT82C598 AGP" rev 0x00 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 "Nvidia GeForce2 MX" rev 0xb2 > wsdisplay0 at vga1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > pcib0 at pci0 dev 7 function 0 "VIA VT82C596A ISA" rev 0x07 > pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA33, channel > 0 configured to compatibility, channel 1 configured to compatibility > wd0 at pciide0 channel 0 drive 0: <Maxtor 54098H8> > wd0: 16-sector PIO, LBA, 39082MB, 80041248 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > atapiscsi0 at pciide0 channel 1 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <LG, CD-ROM CRD-8400B, 1.00> SCSI0 5/cdrom > removable > cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 > "VIA VT82C596 Power Mgmt" rev 0x00 at pci0 dev 7 function 3 not configured > ne3 at pci0 dev 11 function 0 "Realtek 8029" rev 0x00: irq 10 > ne3: address 00:00:1c:0b:4c:54 > rl0 at pci0 dev 12 function 0 "Realtek 8139" rev 0x10: irq 11 address > 00:30:84:41:d6:e1 > rlphy0 at rl0 phy 0: RTL internal phy > 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 (mux 1 ignored for console): 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 > 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 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec > isapnp0 at isa0 port 0x279: read port 0x203 > sb1 at isapnp0 "Analog Devices AD1816A, ADS7180, , " port > 0x220/16,0x388/4,0x500/16 irq 5 drq 1,0: dsp v3.02 > midi1 at sb1: <SB MIDI UART> > audio0 at sb1 > opl0 at sb1: model OPL3 > midi2 at opl0: <SB Yamaha OPL3> > mpu0 at isapnp0 "Analog Devices AD1816A, ADS7181, PNPB006, " port 0x300/2 irq > 9 > mpu0: Analog Devices AD1816A > midi3 at mpu0: <MPU-401 MIDI UART> > joy0 at isapnp0 "Analog Devices AD1816A, ADS7182, PNPB02F, " port 0x200/8 > biomask f145 netmask fd45 ttymask fdc7 > pctr: 686-class user-level performance counters enabled > mtrr: Pentium Pro MTRR support > dkcsum: wd0 matched BIOS disk 80 > root on wd0a > rootdev=0x0 rrootdev=0x300 rawdev=0x302 > wd0(pciide0:0:0): timeout > type: ata > c_bcount: 512 > c_skip: 0 > wd0e: DMA error writing fsbn 2651200 of 2651200-2651211 (wd0 bn 3819472; cn > 3789 tn 2 sn 34), retrying > wd0: soft error (corrected) > wd0(pciide0:0:0): timeout > type: ata > c_bcount: 0 > c_skip: 0 > wd0(pciide0:0:0): timeout > type: ata > c_bcount: 512 > c_skip: 0 > wd0(pciide0:0:0): timeout > type: ata > c_bcount: 8192 > c_skip: 0 > wd0e: device timeout writing fsbn 2651200 of 2651200-2651215 (wd0 bn 3819472; > cn 3789 tn 2 sn 34), retrying > wd0: soft error (corrected) > wd0(pciide0:0:0): timeout > type: ata > c_bcount: 512 > c_skip: 0 > > ______________________________________________________________ > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193