Running BenchmarkDotNet on Azure Kubernetes Service (AKS) #2846
-
|
Hello, We are currently running CPU-intensive benchmarks using BenchmarkDotNet v0.13.0 inside containers deployed on Azure AKS (Linux). These benchmarks make heavy use of hardware intrinsics (e.g., AVX2, AVX-512), and some of them also involve moderate I/O operations (e.g, file access). We are trying to identify the best practices and VM SKU choices for running these benchmarks reliably and reproducibly in a cloud-native environment. We would appreciate your thought on the following topics:
Current Benchmark Setup
Any insights, recommendations, or community experiences would be greatly appreciated! Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You listed many important topics for anyone trying to set up a reliable and scalable benchmarking infrastructure. Unfortunately, a detailed answer would likely require a dedicated book. I don't have time to write such a book at the moment, but I recommend my blog post where I conducted a small study on GitHub Actions stability: https://aakinshin.net/posts/github-actions-perf-stability/. My primary advice is to start with a small set of artificial model benchmarks and explore how they behave in your infrastructure. This quick exercise may provide valuable insights into potential challenges. I also recommend a book I wrote: Pro .NET Benchmarking. It was written between 2017 and 2019, so some .NET-specific advice may be outdated, and it doesn't cover all your questions. However, I hope it offers a methodological basis for designing your benchmarks and avoiding common pitfalls. If you discover any interesting insights into how Azure AKS behaves, I would appreciate it if you could share your findings with the community. |
Beta Was this translation helpful? Give feedback.
You listed many important topics for anyone trying to set up a reliable and scalable benchmarking infrastructure. Unfortunately, a detailed answer would likely require a dedicated book. I don't have time to write such a book at the moment, but I recommend my blog post where I conducted a small study on GitHub Actions stability: https://aakinshin.net/posts/github-actions-perf-stability/. My primary advice is to start with a small set of artificial model benchmarks and explore how they behave in your infrastructure. This quick exercise may provide valuable insights into potential challenges.
I also recommend a book I wrote: Pro .NET Benchmarking. It was written between 2017 and 2019, so som…