3 ms·
> We find that the kernel to userspace communication, ... often the cause of application performance degradation Assuming they're talking about Linux here, I w
by secondcoming 6y ago
> We find that the kernel to userspace communication, ... often the cause of application performance degradation
Assuming they're talking about Linux here, I wonder if they used io_uring.
- muststopmyths 6y ago>Lesson #1: Data copy between user and kernel space costs around 50% of total CPU usage. This can be avoided by using kernel-bypass techniques as adopted in Quant. >Lesson #2: In the presence of a kernel-bypass optimization, crypto operations become the new most expensive operation, requiring up to 40% of CPU resources per connection. I suppose they did an equivalent optimization ? I have no experience with io_uring, but I assume the gains are similar to kernel bypass optimizations.
- tyingq 6y agoI believe they are talking about "user space networking", like Intel's DPDK. Skipping the kernel and context switches, etc.