Page MenuHomeFreeBSD

Don't deref an mbuf ext_pgs pointer in tcp_m_copym() unless we need to
ClosedPublic

Authored by gallatin on Mar 7 2020, 10:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 29, 5:40 PM
Unknown Object (File)
Tue, Sep 29, 11:17 AM
Unknown Object (File)
Mon, Sep 21, 6:03 AM
Unknown Object (File)
Sat, Sep 12, 10:51 PM
Unknown Object (File)
Sep 9 2026, 5:01 PM
Unknown Object (File)
Sep 5 2026, 8:03 PM
Unknown Object (File)
Aug 22 2026, 12:19 AM
Unknown Object (File)
Aug 21 2026, 6:06 PM
Subscribers

Details

Summary

Avoid a cache miss accessing an mbuf ext_pgs pointer when not doing hardware TLS.

For a Netflix 90Gb/s 100% TLS software TLS workload, this reduces the CPI of tcp_m_copym() from ~3.5 to ~2.5 as reported by vtune.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable