OFlops and Cbench

OFlops is a standalone controller that benchmarks various aspects of an OpenFlow switch. OFlops implements a modular framework for adding and running implementation-agnostic tests to quantify a switch's performance. OFlops sets up a single control channel with the switch and uses multiple network ports to generate traffic on the data plane (OpenFlow switch). Besides, OFlops supports the SNMP protocol in order to read various MIB counters, such as CPU utilization, packet counters, and so on. OFlops has two building blocks:

  • The executable program, which implements the core functionality of the platform
  • A set of dynamically loaded libraries that implement the required functionality for a specific performance evaluation

These components communicate with each other using a rich set of event-driven APIs. Each dynamic test can implement a subset of the provided event handler and adjust the behavior of OFlops. OFlops performs multi-level high-precision measurements in order to benchmark the performance of the switch. It utilizes multi-threading parallelism. Cbench is a program for testing OpenFlow controllers by generating packet-in events for new flows. Cbench emulates a bunch of switches, which connect to a controller, send packet-in messages, and wait for flow-mods to get pushed down.

You can find more information about OFlops and Cbench at https://github.com/mininet/oflops/tree/master/cbench.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset