From owner-freebsd-questions Tue Oct 26 7:28:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from usgate.ibmmail.com (usgate.ibmmail.com [204.146.55.142]) by hub.freebsd.org (Postfix) with ESMTP id 2FB0C14EB1 for ; Tue, 26 Oct 1999 07:28:26 -0700 (PDT) (envelope-from Adam_Woodbeck@KeykertUSA.com) Received: Received: by usgate.ibmmail.com with SMTP id VAA94052 ; Mon, 25 Oct 1999 21:32:48 GMT Received: by SCH.ADVANTIS.COM (Soft-Switch LMS 3.1) with snapi via USCCRG01 id 0039010009150815; Mon, 25 Oct 1999 17:32:48 -0400 From: "Adam Woodbeck (KEYKERTUSA)" To: Cc: Subject: Re[2]: Network performance woes under FreeBSD 3.2. Please he Message-ID: <0039010009150815000002L152*@MHS> Date: Mon, 25 Oct 1999 17:32:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you for the reply. I forced the Intel card (fxp0) to use 100base= TX running full-duplex. I then uploaded the new version of Netscape Commu= nicator (11MB) to the server and still achieved only 47k/sec. Autosensing woul= d also set the card to use 100baseTX running full-duplex. Adam ____________________Reply Separator____________________ Subject: Re: Network performance woes under FreeBSD 3.2. Please help= ! Author: dg@root.com Date: 10/25/99 4:10 PM Sounds like the switch isn't autonegotiating correctly. Try setting = both ends to forced 100/full. On the FreeBSD side, something like: ifconfig fxp0 170.0.11.100 netmask 255.255.0.0 media 100basetx mediaopt= full-dup lex -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebs= d.org Creator of high-performance Internet servers - http://www.terasolutions= .com Pave the road of life with opportunities. >I'm currently running FreeBSD 3.2 on a custom-built Pentium-II 350 MHz= PC with >64 MB SDRAM, Western Digital 4.3G HDD, Acer 32X CD-ROM, Trident 975 AG= P video >card and an Intel EtherExpress Pro 10/100B NIC connected to our ethern= et networ k >(100MB/sec). The PC is our company's Intranet server (www/ftp/dns/qma= il/mysql) >so throughput is important. Network performance on this server has be= en very >unsatisfactory, to say the least. I've obtained a maximum of 100k/sec= (average >of 50k/sec) while ftping files onto the server or downloading files fr= om the >server. When I first installed FreeBSD, I had a 3Com 3C905B-TX NIC in= the >computer. Soon after I finished the installation of FreeBSD, I notice= d the poo r >network performance. I figured I did not have the correct drivers ins= talled fo r >the 3Com NIC and decided to create a custom kernel. I followed the ke= rnel >configuration howto found on the FreeBSD.org web page very carefully. = I >commented out the lines corresponding to the network cards I never pla= nned on >using in the future and left support for the 3Com 3C905B-TX and the In= tel >EtherExpress Pro 10/100B NICs in the kernel. I booted to the new kern= el and >still experienced the slow network performance. I checked the ifconfi= g output >for the xl0 device to make sure it was using 100baseTX , = which it >was. I was stumped since I originally had Red Hat 6.0 installed on th= e exact >same server and the throughput under Red Hat was exceptional. The onl= y thing >that had changed was FreeBSD. The next thing I tried was switching ou= t the 3Co m >card for the Intel card (I had this card in another system so I know i= t is a >good card). I made sure the following lines were in my /etc/rc.conf f= ile: > > ifconfig_fxp0=3D"inet 170.0.11.100 netmask 255.255.0.0 media autos= elect" > network_interfaces=3D"fxp0 lo0" > >and the following lines were in my dmesg log: > > fxp0: rev 0x08 int a irq= 10 on >pci0.11.0 > fxp0: Ethernet address 00:90:27:7b:c1:28 > >I greatest speed I could achieve with the Intel card was the same as t= he 3Com >card (max of 100k/sec). I don't know where to go from here. I'm very= new to >FreeBSD so please bear with me. Let me know what additional informati= on would >be helpful to diagnosing this problem. Thank you! > >Adam > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message = To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message