Background Traffic
To overcome the disadvantages of discrete traffic, you can use background traffic. In this case, instead of modeling each packet, you can bundle the packets together into an aggregate, abstract entity called a “flow”. A volume of traffic represented by a flow is characterized by two main attributes: bits/sec and packets/sec. This lets you adjust the volume of traffic to a manageable scale.
Note: Although flows are discussed in this section in relation to background traffic, you can, in fact, configure a traffic flow with a mixture of background and discrete traffic.
For example, a single flow can represent a 1-Gbps or a 100-Gbps traffic volume. Even with a one-hundred-fold increase in a large traffic volume, a simulation will be faster, since the traffic is in a single flow. A given model can have several flows to represent different traffic flows between end nodes, applications, or application sessions. A flow specification can have step variations in time and does not have to be the same value across the duration of the flow.
Advantages
The advantages of the background traffic flow approach are that the flows can simulate large volumes of traffic in a small simulation run time, resulting in faster simulations. Internally, instead of creating a large number of packets and routing each individually through switches and routers, flows are modeled mathematically. Mathematical models and micro-simulation techniques are employed to compute the impact of the flow on the intermediate queues and buffers.
Disadvantages
The disadvantage of using background traffic flows is that, since the granularity of the traffic model is now an aggregate flow rather than a packet, the results are less detailed than discrete traffic. Some amount of randomness is built into the mathematical models, but overall it is a steady-state model. Transient phenomena are not captured in the simulation. Also, since mathematical models are based on certain assumptions, background traffic flows might not be reliable at congestion points in the network at which the buffer or link capacities are exceeded or close to fully-utilized.