From owner-freebsd-net@freebsd.org Sat Sep 22 20:52:45 2018 Return-Path: Delivered-To: freebsd-net@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 BE15A10A3904 for ; Sat, 22 Sep 2018 20:52:45 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6182E82B05 for ; Sat, 22 Sep 2018 20:52:45 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 230B210A3903; Sat, 22 Sep 2018 20:52:45 +0000 (UTC) Delivered-To: net@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 10A7A10A3901 for ; Sat, 22 Sep 2018 20:52:45 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9C50C82B02; Sat, 22 Sep 2018 20:52:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [94.19.235.70]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 8E65342C; Sat, 22 Sep 2018 23:52:43 +0300 (MSK) Date: Sat, 22 Sep 2018 23:52:07 +0300 From: Lev Serebryakov Reply-To: Lev Serebryakov Organization: FreeBSD Message-ID: <1377072414.20180922235207@serebryakov.spb.ru> To: net@FreeBSD.org CC: sbruno@FreeBSD.org, marius@FreeBSD.org Subject: Looks like igb on 12-ALPHA6 (driver 7.6.1-k) and on 11-STABLE (driver 2.5.3-k) behave very differently on receive [regression?] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2018 20:52:45 -0000 Hello Net, I have two systems with almost identical NICs: one with igb, chip=0x15338086, with FreeBSD 11-STABLE and other with igb, chip=0x157b8086 and FreeBSD 12-ALPHA6 installed. All options are turned ON, mtu=9000 on both ends. When I send single TCP stream from 12-ALPHA6 to 11-STABLE I get 990MBit/s. When I send single TCP stream from 11-STABLE to 12-ALPHA6 I get only 710Mbit/s. I've sniffed traffic on both systems and I could see, that 11-STABLE driver assemble incoming (9014 bytes) packets to large chunks. Typical "captured frame size" is 45KB, about 5 Jumbo frames. But 12-ALPHA6 driver apss "small" packets to the system: maximum size is 17KB and there are lot of 9014 bytes frames. Unfortunately, driver versions are so much different that I can not compare "sysctl dev.igb.0" in any meaningful way. Yes, I know, that CPUs on these systems are very different, but looks like it is driver regression. Any hints? -- Best regards, Lev mailto:lev@FreeBSD.org