From owner-freebsd-stable@freebsd.org Wed May 29 16:11:15 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B84F15A6697 for ; Wed, 29 May 2019 16:11:15 +0000 (UTC) (envelope-from freebsd-lists@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F00673724 for ; Wed, 29 May 2019 16:11:14 +0000 (UTC) (envelope-from freebsd-lists@gromit.dlib.vt.edu) Received: from pmather-dld-1.lib.vt.edu (pmather-dld-1.lib.vt.edu [128.173.51.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 7546387 for ; Wed, 29 May 2019 12:11:07 -0400 (EDT) From: Paul Mather Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: em0 82579LM loses link under load Message-Id: Date: Wed, 29 May 2019 12:11:07 -0400 To: FreeBSD Stable X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 3F00673724 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dmarc=fail reason="" header.from=vt.edu (policy=none) X-Spamd-Result: default: False [-3.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.78)[ip: (-1.97), ipnet: 128.173.0.0/16(-0.98), asn: 1312(-0.88), country: US(-0.06)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[chumby.dlib.vt.edu,gromit.dlib.vt.edu]; NEURAL_HAM_SHORT(-0.92)[-0.917,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2019 16:11:15 -0000 I'm running a FreeBSD/amd64 12-STABLE r348161 GENERIC kernel. Yesterday, when doing bulk data transfer from the system to offsite I noticed that the system would drop off the network. The em0 NIC would regularly report this to the console: em0: TX(0) desc avail = 1024, pidx = 0 em0: TX(0) desc avail = 1024, pidx = 0 em0: TX(0) desc avail = 1024, pidx = 0 [[etc.]] An "ifconfig em0" would show "no carrier" and ifconfig down/up would not bring the system back onto the network. To do that a reboot was necessary. (Speeds weren't terribly high either, load-wise, topping out at ~25 MBytes/s on a gigabit link.) This issue appears to have been reported as a regression in 12.0-RELEASE (e.g., https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234766). A comment in another bug report concerning em performance (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235031#c22) mentions Errata Note updates being in the works to address em regressions post-iflib restructuring of the driver. Does anyone know whether this issue is fixed in em, at least for "older" devices like the 82579LM?? This used to be rock solid and fast for me under FreeBSD 11. For now, I've adopted the route of the bug reporters and am using the net/intel-em-kmod driver from ports. I can't afford to have this box drop off the network due to "load" and so stability is paramount. Cheers, Paul.