Date: Fri, 09 Jun 2000 05:05:08 +0000 From: William Schmidt <wfs@mciworld.com> To: Mike Nowlin <mike@argos.org> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@FreeBSD.ORG> Subject: Re: slow ftp Message-ID: <39407B04.F01CD3F0@mciworld.com> References: <Pine.LNX.4.05.10006090319350.6624-100000@jason.argos.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------D72FCE315429BBC76B3926FF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mike Nowlin wrote: > > I have upgraded two systems to 4.0 stable and have found that the ftp to > > our local site and any site is slow the computers are connected to the > > local site through a 10 mb ethernet and under 3.4 downloaded at a rate > > of 700-800kbs. With 4.0 they load at 7kbs on the one system and about > > 70kbs on the other. I have tried both passive and active mode and > > disabled the inet6 in the kernel and got about the same rates. > > Furthermore, on the k6-400 system that uses a netgear fa310tx I get the > > following message repeated "dc0 failed to force tx and rx to idle > > state". The slowest machine is a dual celeron 533 system that uses a > > d-link 530xt and rl0 driver. Further investigation revealed that I > > could do an ftp put from a 4.0 box to a 3.x box at 700+kb and only get > > at 70kbs. I could also put from a 3.x box to a 4.0 box at 70kbs and > > get at 700kbs. Therfore, It seems that data into the 4.0 box is slow > > while data out seems fine. > > You only distinctly mentioned two machines - are they by chance connected > via a nulled ethernet cable? If not, what quality of hub/switch are they > connected to? > > Your 700-800kbps seems a little slow in the first place for 10Mb ethernet, > even using some of the cheapest cards on the market. I use primarily the > Netgear FA310TX and Intel fxp cards, and get much higher rates, even at > 10Mb-- 100Mb obviously goes a whole lot faster. > > This kind of problem is often caused by the auto-negotiation of speed & > duplex settings between the card & the "other end" - hub, switch, another > card, whatever. I've run into problems where the auto-neg results in > <1Kb/sec transfer rates - manually specifying the parameters fixed these > machines. A little more about your network setup and some sections of > your dmesg output would be helpful. > > --mike > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > Understated/funny man-page sentence of the current time period: > > >From route(4) on FreeBSD-3.4, DESCRIPTION section: > "FreeBSD provides some packet routing facilities." > ...duh....... > > Mike Nowlin, N8NVW mike@argos.org http://www.viewsnet.com Sorry about the vagueness of the network description. We use a 10 mb 10 port syslink hub for our office internal network which has some win 95 systems, some freebsd 3.x systems, the 2 freebsd 4.0 boxes I described above and a old pentium 60 with an smc eznet 10/100 and a kingston KNE40T cards running freebsd 3.2 is used as gateway to our dsl network. The dsl network has d-link 5 port 10/100 switch which has our pentium 120 http and ftp server running freebsd 3.3 , two x486 name servers and dsl modem . I know the transfer rates to the ftp server are a little slow and I think that is the p60 gateway, it just can't go any faster because rates between dual celeron and k6 before upgrading to 4.0 were about 1000kbs. Attached is the Dmesg if the k6-400 and the dual celeorn systems p60 and p120. I temporally changed the netgear card on the k6 to a d-link card and the ftp transfer rates dropped to about 7kbs like the dual with a d-link card. The D-link card don't seem to like 4.0. I do agree that is not the ftp program but the network card driver autoneg that is my problem. How do I manually fix the nic settings is it done in the kernel or do I change the driver source? In 3.4 dmesg the nic's autoneg is done and displayed but in 4.0 I don't see it. dual celeron 3.4 dmesg section: rl0: <RealTek 8139 10/100BaseTX> rev 0x10 int a irq 19 on pci0.17.0 rl0: Ethernet address: 00:50:ba:d8:ba:e2 rl0: autoneg complete, link status good (half-duplex, 10Mbps) dual celeron 4.0 dmesg section: rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem 0xeb000000-0xeb0000ff irq 19 at device 17.0 on pci0 rl0: Ethernet address: 00:50:ba:d8:ba:e2 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Can I use the 3.4 rl0 and pn0 drives in place of the 4.0? Bill --------------D72FCE315429BBC76B3926FF Content-Type: text/plain; charset=us-ascii; name="k6msg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="k6msg" Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-20000602-STABLE #1: Thu Jun 8 13:29:20 GMT 2000 root@k6.office.htslabs.com:/usr/src/sys/compile/k62 Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 400911782 Hz CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX> AMD Features=0x80000800<SYSCALL,3DNow!> real memory = 67108864 (65536K bytes) avail memory = 62316544 (60856K bytes) Preloaded elf kernel "kernel" at 0xc02f3000. K6-family MTRR support enabled (2 registers) md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib2 pci1: <NVidia/SGS-Thomson Riva128 graphics accelerator> at 0.0 irq 11 isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA66 controller> port 0xe000-0xe00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <VIA 83C572 USB controller> at 7.2 irq 10 pci0: <VIA 83C572 USB controller> at 7.3 irq 10 dc0: <82c169 PNIC 10/100BaseTX> port 0xec00-0xecff mem 0xe8000000-0xe80000ff irq 10 at device 11.0 on pci0 dc0: Ethernet address: 00:a0:cc:3b:7f:aa miibus0: <MII bus> on dc0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: supplying EUI64: 00:a0:cc:ff:fe:3b:7f:aa pcib1: <Host to PCI bridge> on motherboard pci2: <PCI bus> on pcib1 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppi0: <Parallel I/O> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port plip0: <PLIP network interface> on ppbus0 unknown0: <Audio> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,3 on isa0 unknown1: <Game> at port 0x201 on isa0 ad0: 9787MB <WDC WD102AA> [19885/16/63] at ata0-master using UDMA66 acd0: CDROM <36X CD-ROM> at ata1-master using UDMA33 ata1-slave: timeout waiting for command=ef s=00 e=60 ata1-slave: timeout waiting for command=ef s=00 e=60 ata1-slave: <MEMOREX CD-RW4224/1.37> CDROM device - NO DRIVER! Mounting root from ufs:/dev/ad0s3a dc0: starting DAD for fe80:0001::02a0:ccff:fe3b:7faa dc0: DAD complete for fe80:0001::02a0:ccff:fe3b:7faa - no duplicates found --------------D72FCE315429BBC76B3926FF Content-Type: text/plain; charset=us-ascii; name="dual4msg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dual4msg" Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-20000527-STABLE #0: Sun May 28 19:01:53 GMT 2000 root@dual.mindwareinc.net:/usr/src/sys/compile/DUAL Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (534.55-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 67108864 (65536K bytes) avail memory = 62377984 (60916K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc02e0000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI model 5046 graphics accelerator> at 0.0 irq 16 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 10 Timecounter "PIIX" frequency 3579545 Hz chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0 rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem 0xeb000000-0xeb0000ff irq 19 at device 17.0 on pci0 rl0: Ethernet address: 00:50:ba:d8:ba:e2 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: <HighPoint HPT366 ATA66 controller> port 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 18 at device 19.0 on pci0 ata2: at 0xd800 on atapci1 atapci2: <HighPoint HPT366 ATA66 controller> port 0xec00-0xecff,0xe800-0xe803,0xe400-0xe407 irq 18 at device 19.1 on pci0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppi0: <Parallel I/O> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port plip0: <PLIP network interface> on ppbus0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 SMP: AP CPU #1 Launched! ad0: 2446MB <ST52520A> [4970/16/63] at ata0-master using WDMA2 ad4: 9787MB <WDC WD102AA> [19885/16/63] at ata2-master using UDMA66 Mounting root from ufs:/dev/ad4s1a --------------D72FCE315429BBC76B3926FF Content-Type: text/plain; charset=us-ascii; name="p120msg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="p120msg" Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.3-RELEASE #2: Sat Apr 29 15:01:56 PDT 2000 root@p120.mindwareinc.net:/usr/src/sys/compile/P120 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (120.68-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x526 Stepping = 6 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 16777216 (16384K bytes) config> avail memory = 13955072 (13628K bytes) Bad BIOS32 Service Directory! Preloaded elf kernel "kernel" at 0xc0297000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc029709c. Probing for devices on PCI bus 0: chip0: <Host to PCI bridge (vendor=1045 device=c557)> rev 0x11 on pci0.0.0 chip1: <PCI to ISA bridge (vendor=1045 device=c558)> rev 0x11 on pci0.1.0 vga0: <S3 Trio graphics accelerator> rev 0x53 int a irq 11 on pci0.2.0 rl0: <Accton MPX 5030/5038 10/100BaseTX> rev 0x10 int a irq 11 on pci0.5.0 rl0: Ethernet address: 00:e0:29:5f:9c:93 rl0: autoneg complete, link status good (full-duplex, 100Mbps) ide_pci0: <PCI IDE controller (busmaster capable)> rev 0x11 on pci0.20.0 Probing for PnP devices: Probing for devices on the ISA bus: sc0 on isa sc0: VGA mono <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 not found sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): <WDC AC24300L> wd0: 4112MB (8421840 sectors), 8912 cyls, 15 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): <CD-ROM CDU77E/1.2g>, removable, accel, dma, iordy acd0: drive speed 689KB/sec, 128KB cache acd0: supported read types: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM unknown medium, unlocked ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ppi0: <generic parallel i/o> on ppbus 0 plip0: <PLIP network interface> on ppbus 0 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Intel Pentium detected, installing workaround for F00F bug changing root device to wd0s1a pid 8046 (dbsearch.cgi), uid 65534: exited on signal 11 --------------D72FCE315429BBC76B3926FF Content-Type: text/plain; charset=us-ascii; name="p60msg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="p60msg" Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-RELEASE #2: Sat Apr 29 17:58:55 GMT 2000 root@p60.mindwareinc.net:/usr/src/sys/compile/P66 Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 60001446 Hz CPU: Pentium/P5 (60.00-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x517 Stepping=7 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 16777216 (16384K bytes) avail memory = 14036992 (13708K bytes) Preloaded elf kernel "kernel" at 0xc028b000. Probing for devices on PCI bus 0: chip0: <Intel 82434LX (Mercury) PCI cache memory controller> rev 0x03 on pci0.0.0 chip1: <Intel 82378ZB PCI to ISA bridge> rev 0x03 on pci0.2.0 pn0: <82c169 PNIC 10/100BaseTX> rev 0x20 int a irq 10 on pci0.6.0 pn0: Ethernet address: 00:c0:f0:59:9f:57 pn0: autoneg complete, link status good (half-duplex, 10Mbps) rl0: <Accton MPX 5030/5038 10/100BaseTX> rev 0x10 int a irq 10 on pci0.12.0 rl0: Ethernet address: 00:e0:29:5f:9c:b4 rl0: autoneg complete, link status good (full-duplex, 100Mbps) Probing for PnP devices: Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 not found sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): <Maxtor 7420 AV> wd0: 400MB (820352 sectors), 986 cyls, 16 heads, 52 S/T, 512 B/S ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ppi0: <generic parallel i/o> on ppbus 0 plip0: <PLIP network interface> on ppbus 0 lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Intel Pentium detected, installing workaround for F00F bug IP packet filtering initialized, divert enabled, rule-based forwarding disabled, logging disabled changing root device to wd0s1a arp: 10.0.0.8 moved from 00:50:ba:d8:b8:ec to 00:a0:cc:3b:7f:aa on pn0 --------------D72FCE315429BBC76B3926FF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39407B04.F01CD3F0>