|
|
|
|
|
by ppoint
3189 days ago
|
|
Interesting. Usually moving networking operations into userland allows your application to "own" the NICs and the stack and reduce lock contention in the packet path down to virtually zero. My impression was that profiling userland applications is easier too, but I haven't done any serious kernel profiling so I might be wrong. The hardest part is, of course, ripping the stack out and keeping it up to date with the mainline kernel afterwards if you need TCP. |
|
Userspace networking is a really big win for packet processing which doesn't have any of the above concerns. On FreeBSD with Netmap and VALE you can chain things together in really interesting ways where you can still use kernel networking where advantageous and userland networking where it's advantageous.