Performance evaluation and validation of simulations using Flow Monitor
The primary objective after running a simulation is validating the results. That means we need to collect important performance metrics related to applications running in our simulation. In order to do this systematically, ns-3 offers the Flow Monitor module. We can install a FlowMonitor
statistics collector application on all nodes in a simulation program. It helps the Flow Monitor module to categorize and analyze flows based on five tuples: <source IP, source port, destination IP, destination port, protocol>. Using the five tuples, Flow Monitor classifies every flow, and with respect to the flow, it computes throughput, delay, and packet loss metrics. For example, in a simulation, UDP echo server and client applications are installed for evaluation. Then, after the simulation execution, Flow Monitor helps you to compute two flows’ results: the UDP echo server -> UDP echo client and UDP echo client...