oakestra / oakestra-net

Networking component of Oakestra
Apache License 2.0
5 stars 7 forks source link

Network performance improvement for Unikernels #175

Open giobart opened 1 month ago

giobart commented 1 month ago

Short

We can improve the network performance of unikernel bypassing iptables within the network namespace and attaching a macvtap directly to the network interface

Proposal

Current approach

                          container net ns
                         ______________________________________
                        |        [host routes]                 |
 ___________            |          ____________                |
| OakBridge | |veth|----|-|veth|  |virt bridge| --|tap|--{vm}  |
|___________|           |         |___________|                |
                        |______________________________________|

proposed approach

                          container net ns
                         __________________________
                        |                          |
 ___________            |                          |
| OakBridge | |veth|----|-|veth|--|macvtap|--{vm}  |
|___________|           |                          |
                        |__________________________|

Ratio

Avoid iptables step inside the network namespace and improve performance

Impact

Node net manager

Development time

1 week

Status

Implementing

Checklist