Does FreeBSD have sendmmsg or recvmmsg system calls?
HuanHuan
mailhuanhuan at gmail.com
Sun Jan 3 21:33:16 UTC 2016
Hi Rui,
There are no existing applications, but these two calls are for developing new application on 10G links.
Currently I use netgraph, especially ng_socket node. And a simple recvfrom() on a ng_socket costs ~5us or so (200K per second). And there are many netgraph sockets. So it's good to reduce the time by ultilizing send/recvmmsg() if there are these two syscalls. Even a simple-loop like implmentation like linux's will be good as Luigi has suggested.
On Sun, 3 Jan 2016, Rui Paulo wrote:
> On Sun, 2016-01-03 at 18:34 +0800, HuanHuan wrote:
>> NetBSD 7.0 has just introduced these two syscalls.
>> And Linux also has them.
>>
>> Does FreeBSD have them? Or plan to support them in the future?
>
> FreeBSD does not have them. It doesn't seem especially hard to
> implement, though. Do you know any major application already using
> them?
>
> --
> Rui Paulo
>
>
More information about the freebsd-net
mailing list