GithubHelp home page GithubHelp logo

benchmark-k8s-cni-2021-05's Introduction

benchmark-k8s-cni-2021-05

The benchmark is based on knb from the k8s-bench-suite.

Benchmark protocol

See PROTOCOL.md

CNI selection

Conditions for a CNI to be benchmarked are :

  • it must setup on on-premise bare-metal cluster
  • it must be easy to setup (a yaml manifest, a helm chart, or an operator)
  • it must not relies on proprietary hardware

Run example

All benchmark runs are recorded with record-bench.sh which uses Asciinema :

record-bench.sh starts asciinema recording, and call benchmark.sh who is in charge of :

  • setup lab
  • setup cni
  • run 3 rounds of benchmark, save data to knbdata files
  • teardown lab

Please note that benchmark.sh uses setup.sh, the node deployment script that is tailored for our MaaS-based lab environment.

Example :

asciicast

Results

User friendly results

Results for human being with charts and interpretation are available in an article on Medium.

Work in progress ... Still writing it for now.

Aggregated results

You can also check aggregated results on the spreadsheet here : https://docs.google.com/spreadsheets/d/1M8vtxTBN_5Ih36B5lPsZy6w56p85YaCXhxIVFCrtZXc/edit?usp=sharing

Values injected in the spreadsheet are in files results/<cni>.<distrib>-<kernel>/<cni>.<distrib>-<kernel>-run<x>.tsv

Raw results

Raw results are available in this repository, just check the results directory for *.knbdata files. You can generate reports with knb, for example :

knb -fd results/antrea-default.u20.04-hwe/antrea-default.u20.04-hwe-run1.knbdata -o text
# or
knb -fd results/doc-antrea.u18.04-default/doc-antrea.u18.04-default-run1.knbdata -o json
# or
knb -fd results/doc-antrea.u18.04-default/doc-antrea.u18.04-default-run1.knbdata -o yaml

As knbdata files are just simple tar.gz archives, you can also uncompress the file to see raw containers logs (showing data even before being parsed by knb)

benchmark-k8s-cni-2021-05's People

Contributors

alexisducastel avatar

Stargazers

 avatar  avatar

Watchers

 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.