An dedicated OpenFlow controller implementation for "cbench" OpenFlow controller benchmark.
- Ruby 2.2.5 or higher (RVM).
- Open vSwitch (
apt-get install openvswitch-switch
).
$ git clone https://github.com/trema/cbench.git
$ cd cbench
$ bundle install --binstubs
Run this controller
$ ./bin/trema run ./lib/cbench.rb
then, on another terminal
$ ./bin/cbench --port 6653 --switches 1 --loops 10 --ms-per-test 10000 --delay 1000 --throughput
Enjoy!