kvm: add support for dpdk-accelerated openvswitch-backed NICs in VMs #1605
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
This patch further builds on #1604 to implement support for dpdk-accelerated openvswitch-backed NICs in VMs. As persistent hugepages support is required for this feature, this also includes the patch from #1604.
DPDK-accelerated OVS might not be for everyone, but if you're handling lots of small packets (routing, RTC etc) and depending on your workload, you might see anywhere from 2x to 10x the performance of regular tap devices in VMs.
Again, this is way too hacky to consider for merge right now, but I'd like to investigate if there's interest from the community for further development (perhaps @sipgate might want to take a look if they're still on the ganeti train?).
To help facilitate testing, I've packaged this PR for debian bullseye and written some generic instructions to set it up (hopefully) quickly here: https://github.com/modulus-sa/ganeti/wiki
I'll try to further elaborate on this in the coming weeks in this PR.