Date: Wed, 9 Sep 2009 04:47:55 -0700 (PDT) From: Barney Cordoba <barney_cordoba@yahoo.com> To: Mike Tancsa <mike@sentex.net> Cc: freebsd-net@freebsd.org Subject: Re: em driver input errors Message-ID: <62894.21638.qm@web63904.mail.re1.yahoo.com> In-Reply-To: <992693.15985.qm@web63902.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0A--- On Wed, 9/9/09, Barney Cordoba <barney_cordoba@yahoo.com> wrote:= =0A=0A> From: Barney Cordoba <barney_cordoba@yahoo.com>=0A> Subject: Re: em= driver input errors=0A> To: "Mike Tancsa" <mike@sentex.net>=0A> Cc: freebs= d-net@freebsd.org=0A> Date: Wednesday, September 9, 2009, 7:40 AM=0A> =0A> = =0A> --- On Tue, 9/8/09, Mike Tancsa <mike@sentex.net>=0A> wrote:=0A> =0A> = > From: Mike Tancsa <mike@sentex.net>=0A> > Subject: Re: em driver input er= rors=0A> > To: "Barney Cordoba" <barney_cordoba@yahoo.com>=0A> > Cc: freebs= d-net@freebsd.org=0A> > Date: Tuesday, September 8, 2009, 6:21 PM=0A> > At = 05:42 PM 9/8/2009, Barney Cordoba=0A> > wrote:=0A> > > Manish What specific= kinds of input errors are=0A> you=0A> > getting? How many PPS are you doin= g, what is the size=0A> of the=0A> > ring, and the interrupt modulation rat= e? Are the NICs=0A> PCIe=0A> > or PCIx? Barney=0A> > =0A> > In my case, our= backup server (mix of dump via nfs and=0A> some=0A> > dumps through ssh as= well as writes via samba mounts)=0A> has a=0A> > fairly low pps rate and s= tarts to see input errors at=0A> about=0A> > 100Mb.=A0 Adding=0A> > =0A> > = hw.em.rxd=3D4096=0A> > hw.em.txd=3D4096=0A> > =0A> > and=0A> > =0A> > net.i= net.tcp.recvbuf_max=3D16777216=0A> > net.inet.tcp.recvspace=3D131072=0A> > = net.inet.tcp.sendbuf_max=3D16777216=0A> > net.inet.tcp.sendspace=3D131072= =0A> > net.inet.udp.recvspace=3D65536=0A> > kern.ipc.somaxconn=3D1024=0A> >= kern.ipc.maxsockbuf=3D4194304=0A> > net.inet.ip.redirect=3D0=0A> > net.ine= t.ip.intr_queue_maxlen=3D4096=0A> > net.route.netisr_maxqlen=3D1024=0A> > k= ern.ipc.nmbclusters=3D655360=0A> > =0A> > didnt seem to make a difference i= n the amount of=0A> errors I=0A> > was seeing=0A> > =0A> > =0A> > em1@pci0:= 7:5:0: class=3D0x020000 card=3D0x348f8086=0A> > chip=3D0x10768086 rev=3D0x0= 5 hdr=3D0x00=0A> > =A0 =A0 vendor=A0 =A0=A0=A0=3D 'Intel=0A> > Corporation'= =0A> > =A0 =A0 device=A0 =A0=A0=A0=3D 'Gigabit=0A> > Ethernet Controller (8= 2541EI)'=0A> > =A0 =A0 class=A0 =A0 =A0 =3D network=0A> > =A0 =A0 subclass= =A0=A0=A0=3D ethernet=0A> > =A0 =A0 cap 01[dc] =3D powerspec 2=A0 supports = D0=0A> > D3=A0 current D0=0A> > =A0 =A0 cap 07[e4] =3D PCI-X supports 2048 = burst read,=0A> > 1 split transaction=0A> > =0A> >=A0 Core(TM)2 Quad CPU=A0= =A0 Q6600=A0 @ 2.40GHz,=0A> > AMD64, RELENG_7 from Jun 18th=0A> > =0A> > P= lenty of disk IO left and the CPUs doent seem to be=0A> taxed=0A> > that mu= ch.=0A> > =0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Excessive=0A> > col= lisions =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Sequence errors= =0A> =3D=0A> > 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Defer count = =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Missed Packets=0A> =3D= =0A> > 61316=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Receive No=0A> > = Buffers =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Receive Length= =0A> > Errors =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Receive er= rors=0A> =3D=0A> > 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Crc error= s =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Alignment=0A> errors= =0A> > =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1:=0A> Collision/Car= rier=0A> > extension errors =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: e= m1: RX overruns =3D=0A> > 22397=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1= : watchdog=0A> timeouts=0A> > =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel:= em1: RX MSIX IRQ =3D 0=0A> > TX MSIX IRQ =3D 0 LINK MSIX IRQ =3D 0=0A> > S= ep=A0 8 00:02:01 backup3 kernel: em1: XON Rcvd =3D 0=0A> > Sep=A0 8 00:02:0= 1 backup3 kernel: em1: XON Xmtd =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kerne= l: em1: XOFF Rcvd =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: XOFF X= mtd =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Good Packets=0A> Rcv= d=0A> > =3D 544276980=0A> > Sep=A0 8 00:02:01 backup3 kernel: em1: Good Pac= kets=0A> Xmtd=0A> > =3D 490475071=0A> > Sep=A0 8 00:02:01 backup3 kernel: e= m1: TSO Contexts=0A> Xmtd=0A> > =3D 0=0A> > Sep=A0 8 00:02:01 backup3 kerne= l: em1: TSO Contexts=0A> > Failed =3D 0=0A> > =0A> > =0A> > pf is in the ke= rnel as well=0A> > =0A> > > _______________________________________________= =0A> > > freebsd-net@freebsd.org=0A> > mailing list=0A> > > http://lists.fr= eebsd.org/mailman/listinfo/freebsd-net=0A> > > To unsubscribe, send any mai= l to "freebsd-net-unsubscribe@freebsd.org"=0A> > =0A> >=0A> ---------------= -----------------------------------------------------=0A> > Mike Tancsa,=A0= =A0 =A0 =A0 =A0 =A0=0A> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> > =A0 =A0 = =A0 =A0 =A0 tel +1 519 651 3400=0A> > Sentex Communications,=A0 =A0 =A0 =A0= =A0=0A> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> > =A0 mike@sentex.net=0A> > = Providing Internet since 1994=A0 =A0 =A0 =A0=0A> > =A0 =A0 =A0 =A0 =A0 =A0 = www.sentex.net=0A> > Cambridge, Ontario Canada=A0 =A0 =A0 =A0 =A0=0A> > =A0= =A0 =A0 =A0 =A0 =A0=0A> > =A0=A0=A0www.sentex.net/mike=0A> > =0A> > =0A> = =0A> The 8241GI may not be able to handle full gigabit flows if=0A> its onl= y=0A> wired at 32-bit 33Mhz, which is only capable of bursting to=0A> 1Gb/s= . With=0A> a single NIC it likely just fine, but it a bridged or=0A> firewa= ll type =0A> config you may just be seeing bus failures.=0A> =0A> Barney=0A= =0AI meant 82541EI...Same answer.=0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62894.21638.qm>