From owner-freebsd-stable Tue Jun 12 12:29: 4 2001 Delivered-To: freebsd-stable@freebsd.org Received: from nts.umd.edu (nts.umd.edu [128.8.5.5]) by hub.freebsd.org (Postfix) with ESMTP id 71CC737B401 for ; Tue, 12 Jun 2001 12:28:57 -0700 (PDT) (envelope-from missing@ni.umd.edu) Received: from ni.umd.edu (apex.umd.edu [128.8.96.27]) by nts.umd.edu (8.9.3/8.9.3) with ESMTP id PAA20639; Tue, 12 Jun 2001 15:28:42 -0400 (EDT) (envelope-from missing@ni.umd.edu) Message-ID: <3B266D5F.9C72B1E1@ni.umd.edu> Date: Tue, 12 Jun 2001 15:28:31 -0400 From: missing@ni.umd.edu X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Robin P. Blanchard" Cc: Jesper Skriver , 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 This sounds very similiar to a problem that I had awhile back ... have you tried setting the duplex and port speeds manually on either the freebsd box or switch port? "Robin P. Blanchard" wrote: > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message