Generating CBR traffic from Set 1 and Set 2, the user can specify the size of the packets to be transmitted, the total generation time , and the number of bytes for frame . The amount of traffic is specified in terms of frames. Clearly, the number of packets generated per frame depends of frame size and packet size, that is .
The generator supports ATM traffic generation only using Set 1. However, IP traffic is supported by all other generation set. In IP option the host name and destination port must be given. In ATM option, VPi, VCi and the Traffic Classes UBR or CBR must be specified, For CBR traffic only the peak rate must be input. For Markov modulated traffic, the model name must be provided.
In Set 1, the packets generated from CBR and Markov Modulated models a frame can be transmitted in two forms: they are either sent one after another at the beginning of the frame generation interval or each packet is sent uniformly spread over the interval. The choice is made using the option Interval between packets. (min indicates that packets are transmitted in sequence at the link rate, as shown in Figure , and max indicates that packets are uniformly spread during the interval between two frames, as indicated in Figure .)
It should be observed in Figure that the generation process sleeps between two consecutive frames. In this case, after transmitting the last packet of a frame, the generator calculates the residual time till the beginning of the transmission of the next frame. If the residual time is positive, then the usleep() system call is executed, otherwise the next frame is transmitted immediately. Note that only one usleep() system call is executed for each frame, and no busy wait is used. The Figure shows the packets being transmitted uniformly over the interval between frames. In this case, the generation process sleeps after transmitting each Packet.
The user can launch a remote traffic receiver, using the receiver options as
shown in Figure . The
captures the packets sent by the traffic generator and creates a trace file,
used to calculate statistics. This module requires the destination host and UDP
port.
WARNING: Make sure the firewalls of the sender and receiver machines
are open for the chosen UDP port before generating traffic.
The parameters to be given are:
Guilherme Dutra Gonzaga Jaime 2010-10-27