For these reasons it's unlikely userspace networking will become mainstream. In practice I can think only of a few reasonable applications of kernel bypass techniques:
- Software switches or routers. Here you want to hand over network cards to the application, deal with raw packets and skip the kernel altogether.
- Dedicated loadbalancers. Similarly, if the machine is only doing packet shuffling skipping the kernel makes sense.
- Partial bypass for selected high throughput / low latency applications. This is the setup we use for our DDoS mitigations. Unfortunately I'm not aware of a stable open source TCP stack that fits this category.
For the general user the Linux network stack is the right choice. Although it's less exciting than rewriting TCP stacks, we should focus on understanding the Linux stack performance and fixing its problems. There are some serious initiatives underway to improve the performance of the good old Linux TCP stack."
'via Blog this'
No comments:
Post a Comment