From owner-freebsd-stable Tue Jun 12 10:29:34 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 5F5C937B445 for ; Tue, 12 Jun 2001 10:29:15 -0700 (PDT) (envelope-from Robin_Blanchard@gactr.uga.edu) Received: (qmail 11225 invoked from network); 12 Jun 2001 12:29:11 -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 ; 12 Jun 2001 12:29:11 -0000 Message-ID: <3B265155.ACE63DEF@gactr.uga.edu> Date: Tue, 12 Jun 2001 13:28:53 -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: Jesper Skriver Cc: stable@freebsd.org Subject: Re: gigabit woes References: <3B2647E0.E40A2339@gactr.uga.edu> <20010612190345.A20019@skriver.dk> 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 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. Jesper Skriver wrote: > > On Tue, Jun 12, 2001 at 12:48:32PM -0400, Robin P. Blanchard wrote: > > we've tried both an intel (device xw) gig card > > as well as a 3com (device ti) card in a 4.3-STABLE > > box. the other end of the line is an extreme black > > diamond gig port. both ends are autoconfigured > > and the stats on the extreme show it's autoconfigured > > at 1000. so everything looks good. we are not seeing > > packet loss, either. unfortunately, our transfer > > rates are barely reaching 3MB/s. > > Measured how ? > > Traffic transfered to/from which host ? > > Which protocol ? > > Which HW do you use on the FreeBSD machine > > > are there some options > > on the FreeBSD side we need to fiddle with to get this > > thing to do decent performance? > > sysctl -w net.inet.tcp.sendspace=65536 > sysctl -w net.inet.tcp.recvspace=65536 > sysctl -w net.inet.tcp.rfc1323=1 > > And permanent > > echo "tcp_extensions=\"YES\"" >> /etc/rc.conf > echo "net.inet.tcp.sendspace=65536" >> /etc/sysctl.conf > echo "net.inet.tcp.recvspace=65536" >> /etc/sysctl.conf -- ------------------------------------ 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