You can get 4-5x times better performance with offloading:
https://github.com/nirs/vmnet-helper/blob/main/docs/performance.md#offloading
In libkrun set features to COMPAT_NET_FEATURES:
|
0, // COMPAT_NET_FEATURES, |
Enable offloading in vment-helper:
- --enable-checksum-offload
- --enable-tso
Note: you need libkrun with this fix:
containers/libkrun#556
You can get 4-5x times better performance with offloading:
https://github.com/nirs/vmnet-helper/blob/main/docs/performance.md#offloading
In libkrun set features to COMPAT_NET_FEATURES:
anylinuxfs/anylinuxfs/src/main.rs
Line 986 in 71045cb
Enable offloading in vment-helper:
anylinuxfs/anylinuxfs/src/vm_network.rs
Line 139 in 71045cb
Note: you need libkrun with this fix:
containers/libkrun#556