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

Benchmarking #97

Open
6 of 13 tasks
Mossaka opened this issue Mar 28, 2023 · 3 comments
Open
6 of 13 tasks

Benchmarking #97

Mossaka opened this issue Mar 28, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@Mossaka
Copy link
Member

Mossaka commented Mar 28, 2023

This issue is served as a place for discussing various ways / ideas we can benchmark runwasi the wasm shims that was proposed by @ipuustin

  • One idea is that we can write a simple wasm program (Fibonacci) and execute in runwasi and a native program executing in runc. This provides a base benchmark of comparising the performance of wasi program vs. native runc processes. It is not meant to benchmark the performance of WASI in general.
  • Having the base benchmark set, we can observe the performance difference for each version increments. For example, we can observe how much speed increase / descrease for version 0.2 vs. 0.3
  • Another idea of benchmarking is testing how "dense" of wasm pods can we go for a node. It is often advertised that wasm modules can increase CPU utilization and thus increasing the density of running pods per node. We can verify this point to push the containerd runtime to the extreme by running thousands of pods at the same time.

Feel free to add ideas and thoughts on this topic! Any suggestion is welcome 🙏

@Mossaka Mossaka added the question Further information is requested label Mar 28, 2023
@Mossaka
Copy link
Member Author

Mossaka commented Jun 20, 2023

Close this one as #126 adds benchmarking support.

@Mossaka Mossaka closed this as completed Jun 20, 2023
@Mossaka Mossaka reopened this Apr 24, 2024
@Mossaka
Copy link
Member Author

Mossaka commented Apr 24, 2024

Wanted to reopen this issue because I think #126 does not fully address the scope of the issue mentioned above. A few things that will make runwasi benchmarking stories better

@Mossaka
Copy link
Member Author

Mossaka commented Jun 4, 2024

Check out SpinKube perf test: https://github.com/fermyon/spinkube-performance

TODO: look into grafana and prometheous options

@Mossaka Mossaka self-assigned this Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: In Progress
Development

No branches or pull requests

1 participant