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. _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"