[RFC] mbuf: performance optimization

Stephen Hemminger stephen at networkplumber.org
Sun Jan 21 18:07:32 CET 2024


On Sun, 21 Jan 2024 06:32:42 +0100
Morten Brørup <mb at smartsharesystems.com> wrote:

> I suppose that reducing mbuf->nb_segs from 16 to 8 bit is realistic, considering that a maximum size IP packet (64 KB) is unlikely to use more than 64 plus some segments. Does anyone know of any use case with more than 255 segments in an mbuf?

There is the case of Linux internally using super large IPv6 (and now IPv4) frames.
See RFC 2675 IPv6 jumbograms



https://netdevconf.info/0x15/slides/35/BIG%20TCP.pdf


More information about the dev mailing list