Date: Thu, 6 Aug 2009 12:54:54 +0400 From: Stanislav Sedov <stas@FreeBSD.org> To: alexpalias-bsdstable@yahoo.com Cc: freebsd-stable@freebsd.org Subject: Re: em driver input errors Message-ID: <20090806125454.07fe563c.stas@FreeBSD.org> In-Reply-To: <27085.65527.qm@web56408.mail.re3.yahoo.com> References: <27085.65527.qm@web56408.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Thu__6_Aug_2009_12_54_54_+0400_5vKzvQ1hwD1s1obQ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 5 Aug 2009 00:30:20 -0700 (PDT) alexpalias-bsdstable@yahoo.com mentioned: > dev.em.0.rx_processing_limit=3D300 > dev.em.1.rx_processing_limit=3D300 > dev.em.2.rx_processing_limit=3D300 > dev.em.3.rx_processing_limit=3D300 > This tunables only affects polling mode. Do you use polling with this adapters or just standard interrupt-based mode? <.. snip ..> > em0: Excessive collisions =3D 0 > em0: Sequence errors =3D 0 > em0: Defer count =3D 402 > em0: Missed Packets =3D 12762 > em0: Receive No Buffers =3D 0 > em0: Receive Length Errors =3D 0 > em0: Receive errors =3D 0 > em0: Crc errors =3D 0 > em0: Alignment errors =3D 0 > em0: Collision/Carrier extension errors =3D 0 > em0: RX overruns =3D 237 > em0: watchdog timeouts =3D 0 > em0: RX MSIX IRQ =3D 0 TX MSIX IRQ =3D 0 LINK MSIX IRQ =3D 0 > em0: XON Rcvd =3D 249 > em0: XON Xmtd =3D 244 > em0: XOFF Rcvd =3D 402 > em0: XOFF Xmtd =3D 261 > em0: Good Packets Rcvd =3D 3092053709 > em0: Good Packets Xmtd =3D 2622962119 > em0: TSO Contexts Xmtd =3D 12760095 > em0: TSO Contexts Failed =3D 0 >=20 >From the output it looks like that the driver is unable to process the adapter input queue fast enough so it runs out of free descriptors. One of the easiest things you can try is to enable the polling mode and see if it improves the situation. You may want also to play with rx_processing_limit tunables in that case. The em(4) driver in HEAD also includes multiqueue processing fetaure so it is possible it will improve the situation for you too. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Thu__6_Aug_2009_12_54_54_+0400_5vKzvQ1hwD1s1obQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJKeppjAAoJEKN82nOYvCd0GLgQALmhkG2mMhES+hhiSDwvCR6w /x2uIs+Im0UYG1jD+ruNKurA4gezD0bX7yyrysuIFGazr5eZ/dPq2igp2c0LCnSr rh7D2ZEBX0OVrF5LT/svqs8Zuka8pI+vV5+tdfYpTIWEZPD2G/Vfq11WCDoVseg6 fvIVRX32+yYaOg5Laey+pfAF0FbY+g8g4SuFrB56Ly+VwaR8l4DXYs8mtBDglG9J wMHw0AQcLBvmPWIcdBvpMSgtfM/Ii6tQH2FYCrNIHKnPq2jh2drmoZC+e7UZHR9y ILSQAPwVeqD0lCbndasQ4f3JdvVpJ5tA9LiG4r7IVrdq7V9a8294AsdqG2fLg13T 5CY+H+RqmwW30m4AUmT2mrJuSweySBt1ZgSDv5L+yVL3xO9x9NsI77nhTgygRoKs HdZ6s4SY+9msJxLapVxXGKKqFJ5o3U7+UkH7eSyCRpLtB/pEryZNPZ5C7ysqCfA0 9UNam6ERDjrncfziryESzclS5IsyrjP7xweiqDqs63QvgIw8/C6PX95ikUvA6Kgb 2SPMQoXPoxH8/9Fuxu68hSLe/iwZhWlIjPiYM2TOyH8ItIzxn/LuuAERugkheVGA 2ZcArjcjszJATIRYjcpefbw0SvAkirFO1+pSJTTFRMmvbxm7gf12wa4gBNJrFoYz eOMaHvkqDK9Rlr4F7IUJ =kQPC -----END PGP SIGNATURE----- --Signature=_Thu__6_Aug_2009_12_54_54_+0400_5vKzvQ1hwD1s1obQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090806125454.07fe563c.stas>