Re:Some remotely exploitable Linux kernel WiFi vulnerabilities
by dijit on Friday October 14, 2022 @11:00AM
(#33204440)
Yes, the way Netflix and Co. are using Userspace drivers is by passing entire devices to a single application.
There's no general purpose IPC happening there.
Re:Some remotely exploitable Linux kernel WiFi vulnerabilities
by monocasa on Friday October 14, 2022 @11:54AM
(#33205190)
Netflix interestingly (rather than focusing on DPDK/user-space techniques) seems focused on increasing the throughput of kTLS on their CDN appliance boxes so they can simply sendfile(2) right out of VFS cache in kernel space for the bulk of the data plane. An alternative pathway to the same goal of increasing throughput by colocating your general data and your network stack state in the same context.
Re:Some remotely exploitable Linux kernel WiFi vulnerabilities
by vlovich123 on Saturday October 15, 2022 @05:08PM
(#33218669)
I wonder if io_uring will be able to maintain competitive against DPDK-like approaches. Multi tenant solutions are more attractive and seem like they could be extremely competitive since they should be largely equivalent in the case that you have a single tenant.
Ironically, server workloads are the ones that are increasingly moving to networking stacks that run in user space, using frameworks like DPDK, with performance as a motivator: https://en.wikipedia.org/wiki/Data_Plane_Development_Kit
Of course, there are some caveats - from my understanding, typical DPDK use cases would turn over the entire NIC to a single application, meaning you aren't contending with sharing the network between multiple, potentially adversarial user mode processes. This is fine for a server, but not really appropriate for a PC or smartphone.