On 22 October 2015 at 11:24, Luigi Rizzo <[email protected]> wrote:
> On Thu, Oct 22, 2015 at 11:12 AM, Adrian Chadd <[email protected]> wrote:
>> On 22 October 2015 at 09:35, Slawa Olhovchenkov <[email protected]> wrote:
>>> On Sun, Oct 18, 2015 at 07:45:52PM -0700, Adrian Chadd wrote:
>>>
>>>> Heh, file a bug with luigi; it should be defined better inside netmap 
>>>> itself.
>>>
>>> I am CC: luigi.
>>>
>>> Next question: do kevent RX/TX sync?
>>> In my setup I am need to manual NIOCTXSYNC/NIOCRXSYNC.
>>
>> Hi,
>>
>> Nope. kqueue() doesn't do the implicit sync like poll() does; it's
>> just the notification path.
>
> actually not. When the file descriptor is registered there
> is an implicit sync, and there is another one when an event
> is posted for the file descriptor.
>
> unless there are bugs, of course.

Hm, I think there are bugs. I'll have to go remember what I saw when I
was messing with this.

I actually think it's doing the full sync each time and not the lazy
sync (ie, only when the ring is empty) which kills performance. I
think that was the "bug".


-a
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to