GithubHelp home page GithubHelp logo

techiewarrior / sdwan-perf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zartbot/sdwan-perf

0.0 0.0 0.0 14.5 MB

A Small tool for SDWAN performance test and policy validation

License: Other

Makefile 5.37% Go 94.63%

sdwan-perf's Introduction

sdwan-perf

Sdwan-perf is based on golang and could support almost platform for performance and policy validation.

   SDWAN Performance Test Report
+--------------+---------------------------+--------------------------+
|    Stats     |        Latency(ms)        |  Bandwidth(Per Session)  |
+--------------+---------------------------+--------------------------+
| mean         |               166.82ms    |                75.35Mbps |
| Jitter       |               770.53ms    |                          |
|              |                           |                          |
| Min          |                87.00ms    |                 0.80Mbps |
| p25          |               102.00ms    |                72.74Mbps |
| p75          |               110.00ms    |                78.44Mbps |
| p90          |               113.00ms    |                81.64Mbps |
| p95          |               116.00ms    |                83.34Mbps |
| p99          |               136.00ms    |                86.03Mbps |
| Max          |              9978.00ms    |                91.97Mbps |
+--------------+---------------------------+--------------------------+
| Count: 16102 | Error: 312 | Timeout: 300 | Total-BW:    7534.52Mbps |
+--------------+---------------------------+--------------------------+

Server Mode

You could specify multi ports in port parameter. This feature is useful when you want to compare different SDWAN policy

./sdwan-perf_linux -role=server -port=8000,8001,8002,8003

Client Mode

./sdwan-perf_linux -role=client  -duration=100 -server=127.0.0.1 -port=8001 -size=1000000 -num=100

You could use this tool to verify other site's performance like below

 ./sdwan-perf_linux -role=client -url=https://www.google.com -num=1 

TODO

Will merge it to Ruta linkstate_probe node and provide a cloud native performance measurement framework.

Usage

Usage of ./sdwan-perf_linux:
  -duration int
    	Test Duration (default 60)
  -fin
    	server mode close connection after send response
  -num int
    	Num of clients (default 10)
  -port string
    	Server Port (default "8000")
  -reqs int
    	Pipeline reqs per client (default 10)
  -role string
    	Role: client|server (default "client")
  -server string
    	Server IP address (default "127.0.0.1")
  -size int
    	bandwidth test block size (default 1)
  -timeout int
    	client timeout seconds (default 10)
  -url string
    	Testing URL

Acknowlegement

The Quantile stats lib is from, Thanks a lot for Beorn7 and bmizerany great work.

sdwan-perf's People

Contributors

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