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)
Sun, Sep 21, 4:26 PM
Unknown Object (File)
Aug 8 2025, 6:42 PM
Unknown Object (File)
Aug 6 2025, 7:18 PM
Unknown Object (File)
Aug 1 2025, 11:58 PM
Unknown Object (File)
Jul 22 2025, 12:35 PM
Unknown Object (File)
Jul 6 2025, 2:39 AM
Unknown Object (File)
Jul 5 2025, 5:35 AM
Unknown Object (File)
Jul 4 2025, 4:53 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