[fabbione/kronosnet] c24b22: [send/recv] use sendmmsg to reduce latency
noreply at github.com
Mon Nov 16 07:13:39 CET 2015
Author: Fabio M. Di Nitto <fdinitto at redhat.com>
Date: 2015-11-16 (Mon, 16 Nov 2015)
[send/recv] use sendmmsg to reduce latency
On my test systems this change reduces the latency from 0.7ms to 0.25ms
when sending 65000 bytes packet and using internal re-assembly code.
Internally use N buffers to split the incoming data and reduce by N frags
the amount of memcpy between kernel and userland.
Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
More information about the Commits