From owner-svn-src-all@freebsd.org Tue Jan 12 04:42:10 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62FFAA6D1F6; Tue, 12 Jan 2016 04:42:10 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (glebi.us [96.95.210.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F556129B; Tue, 12 Jan 2016 04:42:09 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.15.2/8.15.2) with ESMTPS id u0C4g9aA037234 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 11 Jan 2016 20:42:09 -0800 (PST) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id u0C4g84o037233; Mon, 11 Jan 2016 20:42:08 -0800 (PST) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 11 Jan 2016 20:42:08 -0800 From: Gleb Smirnoff To: Sepherosa Ziehau Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r293721 - head/sys/dev/hyperv/netvsc Message-ID: <20160112044208.GF1906@FreeBSD.org> References: <201601120150.u0C1ouKM081392@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201601120150.u0C1ouKM081392@repo.freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 04:42:10 -0000 On Tue, Jan 12, 2016 at 01:50:56AM +0000, Sepherosa Ziehau wrote: S> Author: sephe S> Date: Tue Jan 12 01:50:56 2016 S> New Revision: 293721 S> URL: https://svnweb.freebsd.org/changeset/base/293721 S> S> Log: S> hyperv/hn: Avoid mbuf cluster allocation, if the packet is small. S> S> This one mainly avoids mbuf cluster allocation for TCP ACKs during S> TCP sending tests. And it gives me ~200Mbps improvement (4.7Gbps S> -> 4.9Gbps), when running iperf3 TCP sending test w/ 16 connections. S> S> While I'm here, nuke the unnecessary zeroing out pkthdr.csum_flags. S> S> Reviewed by: adrain S> Approved by: adrian (mentor) S> Sponsored by: Microsoft OSTC S> Differential Revision: https://reviews.freebsd.org/D4853 Consider using m_get2() instead of implementing it yourself :) -- Totus tuus, Glebius.