From owner-freebsd-questions Mon Oct 25 13: 9:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 6360C14C45 for ; Mon, 25 Oct 1999 13:09:09 -0700 (PDT) (envelope-from dg@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id NAA20756; Mon, 25 Oct 1999 13:06:53 -0700 (PDT) Message-Id: <199910252006.NAA20756@implode.root.com> To: "Adam Woodbeck (KEYKERTUSA)" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Network performance woes under FreeBSD 3.2. Please help! In-reply-to: Your message of "Mon, 25 Oct 1999 15:32:15 EDT." <0039010009149140000002L102*@MHS> From: David Greenman Reply-To: dg@root.com Date: Mon, 25 Oct 1999 13:06:53 -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-duplex -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.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 AGP video >card and an Intel EtherExpress Pro 10/100B NIC connected to our ethernet network >(100MB/sec). The PC is our company's Intranet server (www/ftp/dns/qmail/mysql) >so throughput is important. Network performance on this server has been 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 from 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 noticed the poor >network performance. I figured I did not have the correct drivers installed for >the 3Com NIC and decided to create a custom kernel. I followed the kernel >configuration howto found on the FreeBSD.org web page very carefully. I >commented out the lines corresponding to the network cards I never planned on >using in the future and left support for the 3Com 3C905B-TX and the Intel >EtherExpress Pro 10/100B NICs in the kernel. I booted to the new kernel and >still experienced the slow network performance. I checked the ifconfig 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 the exact >same server and the throughput under Red Hat was exceptional. The only thing >that had changed was FreeBSD. The next thing I tried was switching out the 3Com >card for the Intel card (I had this card in another system so I know it is a >good card). I made sure the following lines were in my /etc/rc.conf file: > > ifconfig_fxp0="inet 170.0.11.100 netmask 255.255.0.0 media autoselect" > network_interfaces="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 the 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 information 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