-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firecracker networking improvements #4364
Comments
I think it can extend its functionality by not relying solely on TUN/TAP. |
I think the most important change here is to move away from the Linux tap interface to something with much better performance. Tap devices cannot support a large number of packets per second, whereas vhost-net, XDP, and other solutions can. |
Hello all. I wanted to give an update on our work on this front and present some results regarding the improvements we shipped with release v1.10. We implemented three optimizations:
ResultsApplying these optimizations TCP throughput test reports an increase of 20% for RX and 10% for TX throughput average across all the combinations of instances, guest and host kernels Firecracker currently supports. In more detail, the per-instance type improvements are:
Here, you can see a comparison of the absolute numbers for TCP throughput between v1.9.1 and v1.10.0 Firecracker releases, for RX: and TX: These are the results from our throughput test. Briefly, this test uses Apart from these optimizations, we have considered in the past As a result, we focused our efforts on improving the current back-end, which seemed more feasible according to our time frame. I will close this issue as we do not plan to work on a specific optimization on this front in the near future. As always, we welcome the community to open issues or PRs with specific requests and ideas. |
This is a tracker for investigating improvements in the Firecracker networking stack. We are mainly looking to improve
performance (throughput, latency and CPU utilization) of the emulation logic. However, we want to keep an eye on simplifying the control plane.
Currently, we want to focus our efforts towards a
vhost-user-net
data-plane, however, we will evaluate other alternatives along the way.Additional context
Related issues:
Macvtap: #1933
vhost-net: #3707, #4312
Checks
The text was updated successfully, but these errors were encountered: