This exercise covers traffic monitoring and UDP traffic generation using the iperf traffic generator and will explore the idea of a bottleneck link. In preparation for the experiments in this section, you should read the Tutorial section titled Generating Traffic With Iperf. You can find it by selecting Tutorial => Filters, Queues and Bandwidth => Generating Traffic With Iperf or going to this link. Also, read over the exercise before attempting it so that you are familiar with its general outline.
You must have a reservation for one cluster (no extra hosts) to do this experiment.
Follow the instructions below:
Instructions:
iperf -s -u
iperf -c n1p3 -b 10m -t 10
Answer Question 1.
iperf -c n1p3 -b 400m -t 10
Answer Question 2.
Questions:
A traffic backlog forms when the input rate to a link exceeds the capacity of the link and the system allows the excess traffic to be held in buffers or queues (sometimes we say a queue forms). The same principles are demonstrated when we pour water into a bucket with an outlet pipe at the bottom. The pipe has a capacity which when exceeded causes the water level in the bucket to rise until the input rate falls sufficiently to allow the pipe to drain the bucket.
The link rates inside an NSP that are adjustable by the user are implemented by traffic regulators (token buckets or leaky buckets to be precise). In front of each regulator is one or more finite size queues. A user can change the default rates and queue sizes of these regulators. Two such rate locations are the link rate at an egress port and VOQ rates at an ingress port.
The queue length plot in the cfg1-1.exp configuration plot shows the length of the queue associated with VOQ(6,3). All traffic coming into port 6 and going across the switch fabric to output port 3 are handled by this regulator. This exercise focusses on the behavior of this queue.
Some details about iperf UDP traffic generation and ONL traffic regulators are important to the precise details of the queueing:
We say that a link is a bottleneck if it has the smallest transmission capacity along the path of a flow; that is, it is a choke point and will determine the flow rate downstream. A regulator can also be a bottleneck. At a bottleneck that has capacity R, the output rate will never exceed R. If the input rate to a bottleneck is less than the capacity R, the output rate will be equal to the input rate if the bottleneck is work conserving (i.e., it is never idle when there is something to transmit).
Follow the instructions below:
Instructions:
iperf -c n1p3 -b 100m -t 10
Answer Questions 3, 4, 5 and 6.
ping -U n1p3
iperf -c n1p3 -b 100m -t 10
Answer Questions 7 and 8.
Questions: