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
F167469974: D23998.id69568.diff
Sat, Aug 22, 12:19 AM
Unknown Object (File)
Fri, Aug 21, 6:06 PM
Unknown Object (File)
Sun, Aug 9, 6:13 PM
Unknown Object (File)
Sun, Aug 9, 6:04 PM
Unknown Object (File)
Sun, Aug 9, 2:19 PM
Unknown Object (File)
Fri, Aug 7, 5:34 AM
Unknown Object (File)
Thu, Aug 6, 10:27 PM
Unknown Object (File)
Wed, Aug 5, 8:00 AM
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