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)
Wed, Jun 24, 5:19 AM
Unknown Object (File)
May 12 2026, 5:14 PM
Unknown Object (File)
May 10 2026, 9:24 AM
Unknown Object (File)
May 6 2026, 10:04 PM
Unknown Object (File)
May 1 2026, 12:19 PM
Unknown Object (File)
May 1 2026, 11:13 AM
Unknown Object (File)
Apr 29 2026, 9:05 PM
Unknown Object (File)
Apr 28 2026, 6:39 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