Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 13:06:53 -0700
From:      David Greenman <dg@root.com>
To:        "Adam Woodbeck (KEYKERTUSA)" <Adam_Woodbeck@KeykertUSA.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Network performance woes under FreeBSD 3.2. Please help! 
Message-ID:  <199910252006.NAA20756@implode.root.com>
In-Reply-To: Your message of "Mon, 25 Oct 1999 15:32:15 EDT." <0039010009149140000002L102*@MHS> 

next in thread | previous in thread | raw e-mail | index | archive | help
   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 <full-duplex>, 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: <Intel EtherExpress Pro 10/100B Ethernet> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910252006.NAA20756>