From owner-freebsd-questions Thu Aug 3 11: 1:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f100.law7.hotmail.com [216.33.237.100]) by hub.freebsd.org (Postfix) with ESMTP id B210F37B549 for ; Thu, 3 Aug 2000 11:00:59 -0700 (PDT) (envelope-from ewitkop90@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 3 Aug 2000 11:00:58 -0700 Received: from 207.43.195.201 by lw7fd.law7.hotmail.msn.com with HTTP; Thu, 03 Aug 2000 GMT X-Originating-IP: [207.43.195.201] From: "erik witkop" To: travis@winconx.com Cc: freebsd-questions@freebsd.org Subject: Re: 3Com 3C905b-TX Date: Thu, 03 Aug 2000 11:00:58 PDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Aug 2000 18:00:58.0707 (UTC) FILETIME=[C70ACA30:01BFFD74] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It sounds like you are chaning the tcp window size, which can also be done on windows via the registry. It is dangerous because you could loose you network connection and your next hop router may drop your packets due to exceeded mtu size. the maximum frame size on an ethernet frame is 1518 bytes. the smallest is 56K, also known as a runt. >From: "Travis Leuthauser" >To: , >Subject: 3Com 3C905b-TX >Date: Thu, 3 Aug 2000 11:05:06 -0500 >MIME-Version: 1.0 >Received: from [204.216.27.18] by hotmail.com (3.2) with ESMTP id >MHotMailBB52E5B30072D82197ECCCD81B12541E0; Thu Aug 03 09:16:01 2000 >Received: by hub.freebsd.org (Postfix, from userid 538)id 3708C37B6BE; Thu, > 3 Aug 2000 09:15:18 -0700 (PDT) >Received: from localhost (localhost [127.0.0.1])by hub.freebsd.org >(Postfix) with SMTPid 0CD342E8198; Thu, 3 Aug 2000 09:15:18 -0700 >(PDT)(envelope-from owner-freebsd-questions) >Received: by hub.freebsd.org (bulk_mailer v1.12); Thu, 3 Aug 2000 09:15:17 >-0700 >Received: from winconx.com (ns1.winconx.net [208.60.80.2])by >hub.freebsd.org (Postfix) with SMTP id 492EF37B6ADfor >; Thu, 3 Aug 2000 09:15:04 -0700 >(PDT)(envelope-from travis@winconx.com) >Received: (qmail 59970 invoked from network); 3 Aug 2000 16:15:06 -0000 >Received: from dhcp01.winconx.net (HELO travis) (208.60.80.32) by >ns1.winconx.net with SMTP; 3 Aug 2000 16:15:06 -0000 >From owner-freebsd-questions@FreeBSD.ORG Thu Aug 03 09:20:56 2000 >Delivered-To: freebsd-questions@freebsd.org >Message-ID: <034b01bffd64$97343040$20503cd0@travis> >Organization: DDS Group of Companies >X-Priority: 3 >X-MSMail-Priority: Normal >X-Mailer: Microsoft Outlook Express 5.50.4133.2400 >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 >Sender: owner-freebsd-questions@FreeBSD.ORG >X-Loop: FreeBSD.ORG >Precedence: bulk > >I'm posting this to questions and hackers in the hopes that someone can >help >me. Here's my scenario: > >I have a news server running 4.1 Stable cvsup'd 2 days ago. Running 3.X I >had no problems. Had to update to 4 because my 45 G Ultra66 IDE drives >were >being very stupid under 3.X. After the update, I noticed that the most I >could get out of a binary download from the news server on my 100Mbit >network was about 25k/s. After a few hours of looking over everything and >testing an ftp from one of the clients (running an ftp server). I >determined that it was just my news service performing slowly. I was able >to ftp a 700M file that averaged 800k/s. Mysteriously my news service >picked back up to its normal speed. When I checked the news server, this >is >the message that was displayed on my terminal: > >xl0: transmission error: 90 >xl0: tx underrun, increasing start threshold to 180 bytes. > >Since then, it has popped up a few more times I think now the threshold is >up to 420. I looked at the xl driver and found where it sets the initial >value: > >sc->xl_tx_thresh = XL_MIN_FRAMELEN; > >What if I were to change it to say: > >sc->xl_tx_thresh = 540; > >What effect would that have on my system, good or bad? Is there an optimum >value to set? Should I just change out the NIC or is there another card >holding up the bus? If I wanted to know what the current value of the >buffer is, is there a command that would show me? If I change the value, >do >I need to just recompile my kernel, or is there something else I need to >do? > >I saw a few posts from 99 about the topic, but no decisive answer was >given. >I am going to list the specifics of all the hardware in the box as well as >the major software/ports running on it. Any help is greatly appreciated. > >Thanks, > >Travis Leuthauser >Network Administrator >WinConX Online, Inc. > >Hardware Specs: > >Pentium !!! 500Mhz >512M RAM >Gigabyte GA-6VXE+ w/ VIA Apollo Pro AGPSet >AOpen PG128 AGP Video >3Com 3c905b-tx NIC (has two IP's: one for incoming news - one to feed news >out to users) >Adaptec 2940U2W >4 IBM 9G UW SCSI Drives >Western Digital 45G (using Ultra66) >IBM 45G (using Ultra66) >Western Digital 27G >AOpen 40x CDRom > >Software: >named >ssh1 >qmail 1.03 w/ tcpserver >big brother 1.4c >dnews 5.4f5 for FreeBSD 4 > >dmesg output: > >Copyright (c) 1992-2000 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >The Regents of the University of California. All rights reserved. >FreeBSD 4.1-STABLE #2: Tue Aug 1 16:29:24 CDT 2000 > root@news.winconx.com:/usr/src/sys/compile/NEWS >Timecounter "i8254" frequency 1193182 Hz >Timecounter "TSC" frequency 501139586 Hz >CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x673 Stepping = 3 > >Features=0x387f9ffPAT,PSE36,PN,MMX,FXSR,XMM> >real memory = 536805376 (524224K bytes) >avail memory = 518823936 (506664K bytes) >Preloaded elf kernel "kernel" at 0xc031e000. >Pentium Pro MTRR support enabled >md0: Malloc disk >npx0: on motherboard >npx0: INT 16 interface >pcib0: on motherboard >pci0: on pcib0 >pcib2: at device 1.0 on >pci0 >pci1: on pcib2 >pci1: at 0.0 >isab0: at device 7.0 on pci0 >isa0: on isab0 >atapci0: port 0xe000-0xe00f at device 7.1 on >pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 >pci0: at 7.2 irq 11 >xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem >0xe0801000-0xe080107f irq 10 at device 8.0 on pci0 >xl0: Ethernet address: 00:50:04:22:cc:4f >miibus0: on xl0 >xlphy0: <3Com internal media interface> on miibus0 >xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >ahc0: port 0xec00-0xecff mem >0xe0800000-0xe0800fff irq 12 at device 9.0 on pci0 >ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs >pcib1: on motherboard >pci2: on pcib1 >fdc0: 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: at port 0x60,0x64 on isa0 >atkbd0: flags 0x1 irq 1 on atkbdc0 >kbd0 at atkbd0 >vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >sc0: at flags 0x100 on isa0 >sc0: VGA <16 virtual consoles, flags=0x300> >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: at port 0x378-0x37f irq 7 on isa0 >ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode >ppi0: on ppbus0 >lpt0: on ppbus0 >lpt0: Interrupt-driven port >ad0: 42934MB [87233/16/63] at ata0-master using UDMA66 >ad1: 43979MB [89355/16/63] at ata0-slave using UDMA66 >ata1-master: DMA limitted to UDMA33, non-ATA66 compliant cable >ad2: 25941MB [52707/16/63] at ata1-master using UDMA33 >acd0: CDROM at ata1-slave using PIO4 >Waiting 5 seconds for SCSI devices to settle >Mounting root from ufs:/dev/da0s1a >da1 at ahc0 bus 0 target 1 lun 0 >da1: Fixed Direct Access SCSI-3 device >da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing >Enabled >da1: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) >da2 at ahc0 bus 0 target 2 lun 0 >da2: Fixed Direct Access SCSI-3 device >da2: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing >Enabled >da2: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) >da4 at ahc0 bus 0 target 4 lun 0 >da4: Fixed Direct Access SCSI-3 device >da4: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing >Enabled >da4: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) >da3 at ahc0 bus 0 target 3 lun 0 >da3: Fixed Direct Access SCSI-3 device >da3: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing >Enabled >da3: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) >da0 at ahc0 bus 0 target 0 lun 0 >da0: Fixed Direct Access SCSI-2 device >da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing >Enabled >da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C) >pid 1037 (dmulti), uid 8: exited on signal 11 (core dumped) >xl0: transmission error: 90 >xl0: tx underrun, increasing tx start threshold to 120 bytes >xl0: transmission error: 90 >xl0: tx underrun, increasing tx start threshold to 180 bytes >xl0: transmission error: 90 >xl0: tx underrun, increasing tx start threshold to 240 bytes >xl0: transmission error: 90 >xl0: tx underrun, increasing tx start threshold to 300 bytes >xl0: transmission error: 90 >xl0: tx underrun, increasing tx start threshold to 360 bytes >xl0: transmission error: 90 >xl0: tx underrun, increasing tx start threshold to 420 bytes > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message