From owner-freebsd-stable Wed Jun 13 9:16:28 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gactr.uga.edu (mail.gactr.uga.edu [128.192.37.21]) by hub.freebsd.org (Postfix) with SMTP id DCFAC37B403 for ; Wed, 13 Jun 2001 09:16:05 -0700 (PDT) (envelope-from Robin_Blanchard@gactr.uga.edu) Received: (qmail 1819 invoked from network); 13 Jun 2001 11:15:54 -0000 Received: from qat.noc.nat (HELO gactr.uga.edu) ([10.10.100.125]) (envelope-sender ) by mail.servers.nat (qmail-ldap-1.03) with SMTP for ; 13 Jun 2001 11:15:54 -0000 Message-ID: <3B2791A8.8CB334E@gactr.uga.edu> Date: Wed, 13 Jun 2001 12:15:36 -0400 From: "Robin P. Blanchard" X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: stable@freebsd.org Subject: Re: gigabit woes References: <3B2647E0.E40A2339@gactr.uga.edu> <20010612190345.A20019@skriver.dk> <3B265155.ACE63DEF@gactr.uga.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG new findings on this problem... so i decided to try the card(s) (3com and intel) in another, older dell poweredge 4300. before installing the card, i wanted to test the performance on the already installed 100Mb intel card (fxp). using the same test, i was getting around 10.3MB/s. that done, i reconfigured the kernel to support the ti device, disabled the fxp ifconfig entry in rc.conf, enabling ti instead, shut the box down, installed the card and rebooted. i ran the same test again (now using the gig interface) and wound up with a whopping 2.67 MB/s. everything looks fine at the switch, and freebsd is not complaining. so i decided to revert back to the 100Mb interface (at least i'll get 10 MB/s) by disabling the ti ifconfig entry in rc.conf and enabling fxp again. reboot. run my test again (again on fxp) and i find i'm getting 2.67 MB/s now -- consistently. what? so i remove the ti device from the kernel config and remove the card from the system. still 2.67 MB/s on the fxp interface. i am very curious to hear any hypotheses on this. and yes, i also only get 2.67 MB/s on the gig interface if it is alone in the system. > ok. currently in our dell poweredge 4350 there is a 3com 3c985b with > alteon-2 chipset plugged into a 64-bit pci slot. the kernel is built > to use the ti driver (with kernel NMBCLUSTERS set to 16896). > this is directly connected to a gig port on our extreme black diamond. > a basic ip test of ftping to a known functional gig interface > (an SGI origin 2000 also directly attached to our black diamond -- the > same test on this interface with a similar interface on a separate > module of this SGI box yields 12.183MB/s) yields a mere 2.37MB/s. > both the gig port on the black diamond and the nic in the freebsd box > are auto-negotiating. > > relevant /etc/sysctl.conf: > net.inet.tcp.rfc1323=1 > net.inet.tcp.sendspace=65536 > net.inet.tcp.recvspace=65536 > net.inet.udp.sendspace=65536 > net.inet.udp.recvspace=65536 > > relevant /etc/rc.conf: > icmp_drop_redirect="YES" > inetd_enable="NO" > kern_securelevel_enable="NO" > moused_enable="NO" > nfs_client_enable="YES" > ntpdate_enable="YES" > ntpdate_flags="10.10.10.11" > sendmail_enable="NO" > sshd_enable="NO" > tcp_drop_synfin="YES" > tcp_extensions="YES" > tcp_keepalive="YES" > usbd_enable="NO" > > we get similarly poor performance if we swap the 3com with an intel. > > more performance tuning suggestions are extremely welcomed. > thanks in advance. -- ------------------------------------ Robin P. Blanchard IT Program Specialist Georgia Center for Continuing Ed. fon: 706.542.2404 fax: 706.542.6546 email: Robin_Blanchard@gactr.uga.edu ------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message