Docsity

Homework Set 2 Problems - Communication Network | ECEN 5032, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
Communication Networks, ECEN 5032, TX Brown, Spring 2006
Homework #2
Due In Class: Feb. 8
1. In this problem, you will look at ethernet data traces over one hour on a busy ethernet
segment. The purpose is to get a better feel for the nature of real IP data traffic. These
traces were recorded at Bellcore (now known as Telcordia) in 1989 and are known as
the August89 Busy data trace. The data can be downloaded from the class web page
(even stripping unessential data the file is 19MB uncompressed). The file consists of
two columns. The first is the time the packet was measured at the recording device
(in seconds), and the second column is the number of bytes in the packet including
headers. The link bandwidth was 10Mbps. The recorder did not record collisions.
Plot the average bytes per second when you average over 0.01 sec, 1 sec, 1 minute,
and 1 hour intervals. Measure in consecutive jumping windows and plot the results for
each time scale. Do not plot more than 200 averages in a plot (i.e. the 0.01 sec plot
will only contain 2sec worth of data).
2. In this problem, you will fit a simple Markov process to the ethernet Data and then
repeat the previous problem. You will fit your Markov process to the data in two steps:
the packet rate, and the packet size distribution. To capture the packet rate, you will
generate a packet every msec with probability p. To estimate p, find the average
number of packets per msec in the ethernet data. For the packet size distribution,
note that the number of different packets sizes is discrete and bounded by 64 and 1518
bytes. Simply make a histogram of packet sizes and normalize it so that it forms a
discrete distribution. Finally, generate your own one hour trace similar to the ethernet
data. In each msec generate a packet with probability p, and for each generated packet
choose a packet size from the empirical packet size distribution. Repeat the previous
problem with this data and compare the ethernet and Markov results.
3. This problem considers a so-called leaky bucket model. You will estimate the leaky
bucket size (in bytes) needed for different sending rates for the above data models. To
compute the leaky bucket size for a given rate, you will simulate an inverse leaky bucket.
In the inverse leaky bucket, you dump the data directly into a “bucket” and then leak
them out at the sending rate. The maximum level the bucket is filled to indicates
the maximum bucket size needed in order to send all the data through a leaky bucket
regulator. For each of the data types in the previous problem, plot the leaky bucket
size for rates between 104Bps and 1.25×106Bps. Note that 1.25×106Bps=10Mbps.
(Hint: read about leaky buckets on page 551 of the text).

Partial preview of the text

Download Homework Set 2 Problems - Communication Network | ECEN 5032 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

Communication Networks, ECEN 5032, TX Brown, Spring 2006 Homework #

Due In Class: Feb. 8

  1. In this problem, you will look at ethernet data traces over one hour on a busy ethernet segment. The purpose is to get a better feel for the nature of real IP data traffic. These traces were recorded at Bellcore (now known as Telcordia) in 1989 and are known as the August89 Busy data trace. The data can be downloaded from the class web page (even stripping unessential data the file is 19MB uncompressed). The file consists of two columns. The first is the time the packet was measured at the recording device (in seconds), and the second column is the number of bytes in the packet including headers. The link bandwidth was 10Mbps. The recorder did not record collisions. Plot the average bytes per second when you average over 0.01 sec, 1 sec, 1 minute, and 1 hour intervals. Measure in consecutive jumping windows and plot the results for each time scale. Do not plot more than 200 averages in a plot (i.e. the 0.01 sec plot will only contain 2sec worth of data).
  2. In this problem, you will fit a simple Markov process to the ethernet Data and then repeat the previous problem. You will fit your Markov process to the data in two steps: the packet rate, and the packet size distribution. To capture the packet rate, you will generate a packet every msec with probability p. To estimate p, find the average number of packets per msec in the ethernet data. For the packet size distribution, note that the number of different packets sizes is discrete and bounded by 64 and 1518 bytes. Simply make a histogram of packet sizes and normalize it so that it forms a discrete distribution. Finally, generate your own one hour trace similar to the ethernet data. In each msec generate a packet with probability p, and for each generated packet choose a packet size from the empirical packet size distribution. Repeat the previous problem with this data and compare the ethernet and Markov results.
  3. This problem considers a so-called leaky bucket model. You will estimate the leaky bucket size (in bytes) needed for different sending rates for the above data models. To compute the leaky bucket size for a given rate, you will simulate an inverse leaky bucket. In the inverse leaky bucket, you dump the data directly into a “bucket” and then leak them out at the sending rate. The maximum level the bucket is filled to indicates the maximum bucket size needed in order to send all the data through a leaky bucket regulator. For each of the data types in the previous problem, plot the leaky bucket size for rates between 10^4 Bps and 1.25× 106 Bps. Note that 1.25× 106 Bps=10Mbps. (Hint: read about leaky buckets on page 551 of the text).