Giter Site home page Giter Site logo

benchmark's Introduction

Benchmark

Benchmark is a tool to measure the performance of image pulling in a Kubernetes cluster. It aims to provider a standardized and reproducible method of measuring performance to enable easy comparison. The benchmark aims to replicate realistic image pulling behavior rather than measuring peak performance of individual image pulling. This is achieved by deploying daemonsets and allowing all of the pods to deploy. The measurements are fetched through the pod events which are reported by the CRI. Performing the measurements in this manor is critical for testing different caching solutions which may not work optimally the first time and image is pulled.

A critical part of achieving reproducible benchmarks are static images with known sizes and layer counts. Image sizes and layer count has a large impact on the image pull duration which means that it is important to measure for all different types. Static benchmark images have for this reason been produced to enable measurements to be compared with each other. The images are produced twice, a v1 and a v2. The two different versions enables a simulated upgrade from one version to the other.

How To

Prerequisites for running the benchmarks.

Run the benchmark measurements for the specified images.

benchmark measure --result-dir $RESULT_DIR --kubeconfig $KUBECONFIG --namespace spegel-benchmark --images ghcr.io/spegel-org/benchmark:v1-10MB-1 ghcr.io/spegel-org/benchmark:v2-10MB-1

Generate graphs for the measurements to visualize the results.

benchmark analyze --path $RESULT

License

This project is licensed under the MIT License - see the LICENSE file for details.

benchmark's People

Contributors

phillebaba avatar dependabot[bot] avatar

Stargazers

Simon Gottschlag avatar Bittrance avatar  avatar

Watchers

Bittrance avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.