Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2016 23:41:35 +0800 (CST)
From:      HuanHuan <mailhuanhuan@gmail.com>
To:        Julian Elischer <julian@freebsd.org>
Cc:        HuanHuan <mailhuanhuan@gmail.com>, Rui Paulo <rpaulo@me.com>,  freebsd-net@freebsd.org, Luigi Rizzo <rizzo@iet.unipi.it>
Subject:   Re: Does FreeBSD have sendmmsg or recvmmsg system calls?
Message-ID:  <alpine.BSF.2.20.1601042339460.84701@localhost.my.domain>
In-Reply-To: <568A0FC6.8050107@freebsd.org>
References:  <alpine.BSF.2.20.1601031833130.84701@localhost.my.domain> <1451841004.10139.34.camel@me.com> <alpine.BSF.2.20.1601040524170.84701@localhost.my.domain> <568A0FC6.8050107@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for pointing out that.
I will try to rewrite some (if I could), like the the ASCII path that received.
(It may reduce some time or not? But just try....)

On Mon, 4 Jan 2016, Julian Elischer wrote:

> On 4/01/2016 5:32 AM, HuanHuan wrote:
>> 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.
>
> As the writer of netgraph I would like to point out that it was never 
> designed to be a high throughput service.
> I'm happy thought that it CAN be used at these speeds but I designed it for 
> prototyping and for serial line speeds.
> The idea was that once something was prototyped out, one would take the code 
> from all the modules used and create
> a special purpose module that dd what you need.
> The fact that people have not needed the last step is gratifying but 
> surprising.
>
>> 
>> 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
>>> 
>>> 
>> _______________________________________________
>> freebsd-net@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>> 
>> 
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1601042339460.84701>