Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2020 20:52:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 207261] netmap: Doesn't do TX sync with kqueue
Message-ID:  <bug-207261-7501-zPphKWUdW9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207261-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207261-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #9 from Vincenzo Maffione <vmaffione@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207261-7501-zPphKWUdW9>