« Return to Thread: {send,recv}mmsg patch.

Re: {send,recv}mmsg patch.

by Christos Zoulas-2 :: Rate this Message:

| View in Thread

In article <20120608173711.GM20070@...>,
David Young  <dyoung@...> wrote:

>On Thu, Jun 07, 2012 at 10:34:52PM -0400, Christos Zoulas wrote:
>>
>> Hi,
>>
>> Linux has grown those two, and claim 20% performance improvement on some
>> workloads. Some programs already use them, so we are going to need them
>> for emulation anyway...
>>
>> http://www.netbsd.org/~christos/mmsg.diff
>
>Can you provide some documentation for these calls?

http://www.netbsd.org/~christos/mmsg-libc.diff

>ISTM that {send,recv}mmsg(), {read,write}v(), and AIO could be subsumed
>by a general-purpose scatter-gather system call, and that might be a
>good direction to go.

Well, it is not exactly a nice and clean API they propose.
Plus the timeout implementation is hackish in linux (and us now)...

christos

 « Return to Thread: {send,recv}mmsg patch.