Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2016 13:00:10 +0800
From:      Sepherosa Ziehau <sephe@freebsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
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:  <CAMOc5cyiOAOHRxva5hhpXxYXmpLBLe47_VTu%2BkrZSr9w5p=3gg@mail.gmail.com>
In-Reply-To: <20160112044208.GF1906@FreeBSD.org>
References:  <201601120150.u0C1ouKM081392@repo.freebsd.org> <20160112044208.GF1906@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 12, 2016 at 12:42 PM, Gleb Smirnoff <glebius@freebsd.org> wrote:
> 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 :)

Good suggestion, noted :)

Thanks,
sephe

-- 
Tomorrow Will Never Die



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMOc5cyiOAOHRxva5hhpXxYXmpLBLe47_VTu%2BkrZSr9w5p=3gg>