/cbench-yamatchan

cbench-yamatchan created by Classroom for GitHub

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

cbench

Build Status Code Climate Coverage Status Dependency Status

An dedicated OpenFlow controller implementation for "cbench" OpenFlow controller benchmark.

Prerequisites

  • Ruby 2.0.0 or higher (RVM).
  • Open vSwitch (apt-get install openvswitch-switch).

Install

$ git clone https://github.com/trema/cbench.git
$ cd cbench
$ bundle install --binstubs

Play

Run this controller

$ ./bin/trema run ./lib/cbench.rb
or
$ ./bin/trema run ./lib/fast_cbench.rb  # multi-threaded version

then, on another terminal

$ ./bin/cbench --port 6633 --switches 1 --loops 10 --ms-per-test 10000 --delay 1000 --throughput

Enjoy!