Re:Linux Kernel vs. DPDK: HTTP Performance Showdown
by anonymoushn on Tuesday July 05, 2022 @01:13AM
(#31984565)
You can use io_uring with 0 steady-state context switches if you're willing to use 100% CPU on 2 cores :)
Re:Linux Kernel vs. DPDK: HTTP Performance Showdown
by thekozmo on Tuesday July 05, 2022 @03:03AM
(#31985223)
Good point. This is more of a tcp stack comparison between the kernel and userspace. Seastar has a sharded (per core) stack, which is very beneficial when the number of threads is high
Re:Linux Kernel vs. DPDK: HTTP Performance Showdown
by anonymoushn on Tuesday July 05, 2022 @04:49AM
(#31985895)
You can set up one or many rings per core, but the idea I alluded to elsewhere in this comment section of spending 2 cores to do kernel busy polling and userspace busy polling for a single ring is less useful if your alternative makes good use of all cores.
And did anyone do a head-to-head comparison between io_uring and DPDK?