[Bug 207261] netmap: Doesn't do TX sync with kqueue

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 26 20:52:52 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207261

--- Comment #9 from Vincenzo Maffione <vmaffione at FreeBSD.org> ---
Sorry for being unresponsive on this.

The root of the problem is that when netmap was designed, kqueue was not taken
in consideration. Support for kqueue was added afterwards. Because of that,
there are some locking issues that make it hard for netmap to work well with
kqueue.

The massive taskqueue usage that you observe are due to recent changes (r343579
and r344253) that fixed a possible deadlock (e.g. with bhyve guests).

It's unfortunate that netmap works so bad with kqueue. I would really like to
improve the situation, as soon as I have some time to spend on this. It would
also really help to have some opinion from people that know the kqueue
internals, as I currently have very little knowledge.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-net mailing list