Skip to main content
QUICK REVIEW

[Paper Review] Reinventing NetFlow for OpenFlow Software-Defined Networks

José Suárez‐Varela, Pere Barlet‐Ros|arXiv (Cornell University)|Feb 22, 2017
Software-Defined Networks and 5GComputer Science8 references6 citations
TL;DR

This paper proposes a scalable, OpenFlow-compatible flow monitoring solution that emulates NetFlow/IPFIX by using flow sampling to reduce switch table overhead and controller load. It implements three sampling methods—based on IP suffixes, port pairs, and hash-based bucketing—demonstrating low redundant traffic (under 3.1% bytes) and high accuracy in real-world traces, enabling efficient SDN monitoring without modifying OpenFlow switches.

ABSTRACT

Obtaining flow-level measurements, similar to those provided by Netflow/IPFIX, with OpenFlow is challenging as it requires the installation of an entry per flow in the flow tables. This approach does not scale well with the number of concurrent flows in the traffic as the number of entries in the flow tables is limited and small. Flow monitoring rules may also interfere with forwarding or other rules already present in the switches, which are often defined at different granularities than the flow level. In this paper, we present a transparent and scalable flow-based monitoring solution that is fully compatible with current off-the-shelf OpenFlow switches. As in NetFlow/IPFIX, we aggregate packets into flows directly in the switches and asynchronously send traffic reports to an external collector. In order to reduce the overhead, we implement three different traffic sampling methods depending on the OpenFlow features available in the switch. We developed our complete flow monitoring solution within OpenDaylight and evaluated its accuracy in a testbed with Open vSwitch. Our experimental results using real-world traffic traces show that the proposed sampling methods are accurate and can effectively reduce the resource requirements of flow measurements in OpenFlow.

Motivation & Objective

  • To address the scalability limitations of per-flow monitoring in OpenFlow switches due to limited TCAM entries and processing power.
  • To enable accurate, NetFlow/IPFIX-like traffic measurements in SDN without modifying the OpenFlow specification.
  • To reduce controller overhead and redundant traffic by implementing adaptive flow sampling techniques.
  • To evaluate the accuracy and efficiency of sampling methods under real-world traffic workloads.
  • To provide a transparent, deployable monitoring solution compatible with off-the-shelf OpenFlow switches.

Proposed method

  • The solution emulates NetFlow/IPFIX by aggregating packets into flows directly in OpenFlow switches and asynchronously sending traffic reports to a central collector.
  • Three sampling methods are implemented: (1) IP suffix-based sampling, (2) source/destination port pair-based sampling, and (3) hash-based bucketing with configurable weights.
  • Sampling rates are adaptively adjusted based on switch load to control the number of flow entries, using formulas (1), (2), and (3) for dynamic rate control.
  • Timeouts are used to trigger flow record expiration and reporting, with statistics (packets, bytes, duration) stored per sampled flow.
  • The system is implemented in OpenDaylight and evaluated using real traffic traces from MAWI and CAIDA, with synthetic randomization to test robustness.
  • Redundant packet and byte overhead is measured by simulating flow entry installation delays (1–100 ms), showing minimal impact.

Experimental results

Research questions

  • RQ1How can flow-level monitoring be made scalable in OpenFlow switches with limited TCAM and processing resources?
  • RQ2What sampling strategy minimizes controller overhead while preserving measurement accuracy in SDN environments?
  • RQ3How does flow sampling compare to per-flow monitoring in terms of redundant traffic and resource consumption?
  • RQ4Can sampling methods be implemented without modifying the OpenFlow specification and remain compatible with commodity switches?
  • RQ5What is the impact of flow entry installation delay on redundant packet reporting in the controller?

Key findings

  • The average number of redundant packets per flow is less than 0.2 for installation delays below 20 ms, rising to approximately 1.2 for 100 ms delays in TCP traffic.
  • The percentage of redundant bytes sent to the controller ranges from under 0.8% (for delays <20 ms) to 3.1% (for 100 ms delays) in TCP traffic, indicating low overhead.
  • UDP traffic shows significantly lower redundant packet and byte overhead than TCP, due to the prevalence of single-packet flows (e.g., DNS).
  • The IP suffix-based and port pair-based sampling methods achieve high accuracy, with Weighted Mean Relative Difference (WMRD) below 10% across all tested sampling rates (1/64 to 1/1024).
  • The hash-based sampling method enables dynamic load adaptation by reconfiguring bucket weights, effectively controlling the number of active flow entries.
  • The proposed solution reduces switch table pressure and controller load while maintaining measurement fidelity, making it suitable for real-world SDN deployments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.