Chris Leech wrote:
I must be missing something - if the MTU was 1500 bytes, how did the
receiver's offloaded copies get to the 2k level? Were several arriving
TCP segments aggregated?
Most of the overhead (get_user_pages) is per recv, not on a per packet
basis. Regardless of packet size, we offload the copies if the total
requested data amount is 2k or greater. So while there's no
aggregation of TCP segments before the socket level, we are talking
about copying multiple packets per I/O.
Thanks, that clarifies things. So, if I've understood correctly, the
benefit kicks in when:
1) I/OAT is enabled :)
2) The user posts a recv() (or the like) of >= 2K
3) There is >= 2K of data available to give them
yes?
rick jones
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html