Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2001 15:28:31 -0400
From:      missing@ni.umd.edu
To:        "Robin P. Blanchard" <Robin_Blanchard@gactr.uga.edu>
Cc:        Jesper Skriver <jesper@skriver.dk>, stable@FreeBSD.ORG
Subject:   Re: gigabit woes
Message-ID:  <3B266D5F.9C72B1E1@ni.umd.edu>
References:  <3B2647E0.E40A2339@gactr.uga.edu> <20010612190345.A20019@skriver.dk> <3B265155.ACE63DEF@gactr.uga.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B266D5F.9C72B1E1>