Open ethouris opened 1 year ago
Added "bulk mode" UDP reader. This is implemented as a separate socket::mudp class which uses recvmmsg for reading multiple packets if available.
socket::mudp
recvmmsg
Packets are stored in a local buffer and are returned from cache. The call to the system function refills the cache.
Available only on Linux.
You need to enable it (instead of the standard UDP reader) by --udp-mode bulk option.
--udp-mode bulk
Added "bulk mode" UDP reader. This is implemented as a separate
socket::mudp
class which usesrecvmmsg
for reading multiple packets if available.Packets are stored in a local buffer and are returned from cache. The call to the system function refills the cache.
Available only on Linux.
You need to enable it (instead of the standard UDP reader) by
--udp-mode bulk
option.