Giter VIP home page Giter VIP logo

k8s-netperf's Introduction

k8s-netperf - Kubernetes Network Performance

Running Networking Performance Tests against K8s

Status

Currently a work-in-progress.

Setup

$ git clone http://github.com/jtaleric/k8s-netperf
$ cd k8s-netperf
$ go build .

Running

Ensure your kubeconfig is properly set to the cluster you would like to run k8s-netperf against.

also be sure to create a netperf namespace. (Not over-writable yet)

$ ./k8s-netperf

netperf.yml contains a default set of tests.

TCPStream:
   profile: "TCP_STREAM"
   duration: 3
   samples: 1
   messagesize: 1024

# TCPStream is a place-holder of a test name.
# profile is the netperf profile to execute. This can be `[TCP,UDP]_STREAM, [TCP,UDP]_RR, TCP_CRR`
# duration how long to run the test.
# samples how many times to run the test
# messagesize the size of the data-gram to send.

Output

k8s-netperf will provide updates to stdout of the operations it is running, such as creating the server/client deployments and the execution of the workload in the contianer.

Same node refers to how the pods were deployed. If the cluster has > 2 nodes with nodes which have worker= there will be a cross-node throughput test.

----------------------------------------------------------------------------------------------------------------------
Scenario           | Message Size    | Same node       | Duration        | Samples         | Avg value
----------------------------------------------------------------------------------------------------------------------
๐Ÿ“Š TCP_STREAM      | 16384           | false           | 10              | 1               | 901.350000      (Mb/s)
๐Ÿ“Š TCP_STREAM      | 16384           | true            | 10              | 1               | 10974.320000    (Mb/s)
๐Ÿ“Š UDP_STREAM      | 16384           | false           | 10              | 1               | 3316.240000     (Mb/s)
๐Ÿ“Š UDP_STREAM      | 16384           | true            | 10              | 1               | 8925.150000     (Mb/s)
๐Ÿ“Š TCP_CRR         | 16384           | false           | 10              | 1               | 3040.690000     (OP/s)
๐Ÿ“Š TCP_CRR         | 16384           | true            | 10              | 1               | 10880.340000    (OP/s)
๐Ÿ“Š TCP_RR          | 16384           | false           | 10              | 1               | 13537.740000    (OP/s)
๐Ÿ“Š TCP_RR          | 16384           | true            | 10              | 1               | 48891.490000    (OP/s)
----------------------------------------------------------------------------------------------------------------------

k8s-netperf's People

Contributors

jtaleric 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.