Skip to content
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

Add gvproxy benchmarks #27

Open
3 tasks
nirs opened this issue Feb 8, 2025 · 0 comments
Open
3 tasks

Add gvproxy benchmarks #27

nirs opened this issue Feb 8, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation driver/krunkit Related to krunkit driver driver/vfkit Related to vfkit driver Integration/lima Related to lima integration
Milestone

Comments

@nirs
Copy link
Owner

nirs commented Feb 8, 2025

vfkit and krunkit are integrated now only with gvproxy, which does not provide shared or bridged network and is 2-8 times slower.

  • Add script to run gvproxy and vfkit/krunkit and run benchmarks
  • Add gvproxy plot with vfkit and krunkit, comparing to vmnet-helper
  • Add gvproxy/krunkit offloading plot

Flow:

  • Start gvproxy with unix socket and api socket
  • Wait until the api socket is created
  • Set up port forwarding for iperf3 port on the host via the api socket
  • Start vfkit, krunkit, krunkit with disabled offloading with the unix socket
  • Wait for ip address in serial.log
  • Run host-to-vm and vm-to-host benchmarks
  • Store results in out/gvproxy/portfwd-vfkit-1/{host-to-vm,vm-to-host}.json
  • terminate vfkit, gvproxy

Can be similar to https://github.com/lima-vm/socket_vmnet/blob/master/test/perf.sh

@nirs nirs changed the title Add scripts to test krunkit and vfkit with gvproxy Add gvproxy benchmarks Feb 22, 2025
@nirs nirs added this to the v0.5.0 milestone Feb 22, 2025
@nirs nirs added documentation Improvements or additions to documentation driver/vfkit Related to vfkit driver driver/krunkit Related to krunkit driver Integration/lima Related to lima integration labels Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation driver/krunkit Related to krunkit driver driver/vfkit Related to vfkit driver Integration/lima Related to lima integration
Projects
None yet
Development

No branches or pull requests

1 participant