Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2022 22:33:16 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Can net interfaces efficiently transmit data in extpg mbufs?
Message-ID:  <YQBPR0101MB974247DA6698DEE079B920DADDD59@YQBPR0101MB9742.CANPRD01.PROD.OUTLOOK.COM>

next in thread | raw e-mail | index | archive | help

Hi,

The current NFS code knows how to optionally put the large RPC
messages (read/readdir replies and write requests) in extpg mbufs
instead of mbuf clusters.

This was done so that the data did not need to be copied when the
KTLS (which requires extpg mbufs) is being used.

However, I am wondering if putting the data in extpg mbufs might
be a performance win for non-TLS use for some net interfaces?

rick
ps: (I do know that some network interfaces cannot handle extpg mbufs
 and, for them, the data must be copied to mbuf clusters. However,
 I am guessing that some network interface drivers can handle data
 to be sent in extpg mbufs.)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YQBPR0101MB974247DA6698DEE079B920DADDD59>