CS 4873 Computer Networks, Fall 1997 Assignment 4
Due Thursday, November 13 at the start of class
Print out the postscript file:
/usr/local/courses/cs4873/fall97/cover4.ps and
use it as your cover sheet.
Make sure you show how you got your answer to
each problem.
- Five identical stations share a slotted Aloha channel.
Note that 5 is not a large number.
- Write down an equation giving the relationship between S and G.
- Show that the maximum value of S occurs when G = 1.
- What is the maximum value of S?
- Is this maximum value bigger or
smaller than in the case of an infinite number of users?
- Suppose that the slotted Aloha system in the previous problem
is running at maximum efficiency, G = 1.
What is the probability that a given slot will have:
- no transmissions
- a successful transmission
- a collision
- A pure Aloha system has 1000 identical stations.
Frames are 100 bits each and the data rate of the channel is 4 Mbps.
A measurement of the system shows that the probability that a transmitted
frame will be transmitted successfully is 0.8.
- What is the channel load, G?
- What is the throughput, S?
- What is the average number of attempts needed for a successful
transmission?
- A slotted Aloha system has 1000 identical stations.
Frames are 100 bits each and the data rate of the channel is 4 Mbps.
A measurement of the system shows that 81.24 percent of the slots are empty.
- What is the channel load, G?
- What is the throughput, S?
- What is the average number of attempts needed for a successful
transmission?
- A slotted Aloha system has 1000 identical stations.
Frames are 100 bits each and the data rate of the channel is 4 Mbps.
A measurement of the system shows that 6 percent of the slots are empty.
- What is the channel load, G?
- What is the throughput, S? Compare your answer to 4b.
- What is the average number of attempts needed for a successful
transmission?
- A slotted Aloha system has 1000 identical stations.
Frames are 100 bits each and the data rate of the channel is 4 Mbps.
Each station generates 5 new frames per second.
- What is the channel load, G?
- What is the throughput, S?
- What is the average number of attempts needed for a successful
transmission?
Hint: Be careful on this one. Explain how you got your answers.
- A CSMA/CD system has a 100 meter cable, a fixed frame size of 1000 bits,
runs at 10 Mbps, and has a propagation speed of 200 meters per microsecond.
- How does the propagation speed compare to that of the
speed of light?
- How long is a contention slot?
- How long does it take to send a frame?
- All other things being as described above,
what cable lengths would have the contention slot
smaller than the frame time?
- All other things being as described above, what frame sizes
would have the contention slot smaller than the frame time?
- Suppose that X and Y are events and PX is the probability
that event
X occurs and PY is the probability that event Y occurs.
Let PXY
be the probability of both event X and Y occurring and PX+Y
be the probability that either event X or event Y (or both) occur. You
probably know that
PX+Y = PX + PY - PXY.
Write down the corresponding formula for 3 events. That is give
a formula for PX+Y+Z in terms of PX,
PY, PZ, PXY, PXZ,
PYZ, and PXYZ.
- Consider 10 identical stations contending for a channel using linear
backoff. On the first round they all transmit and collide.
On the second round there are two slots in which the stations can contend.
On round k there are k slots in which the stations can contend.
- What is the probability that a given station will be successful
on round 2?
Show how you got your answer.
- What is the probability that at least one station will
be successful on round 2?
Show how you got your answer.
- Assume that no station was successful on round 2.
What is the probability that a given station will be successful
on round 3?
Show how you got your answer.
- Assume that no station was successful on round 2.
What is the probability that the first slot will have
exactly one station transmitting?
- Assume that no station was successful on round 2.
What is the probability that the first two slots will both have
exactly one station transmitting?
- Assume that no station was successful on round 2.
What is the probability that the first three slots will
have exactly one station transmitting?
- Assume that no station was successful on round 2.
What is the probability that at least one station will be
successful on round 3?
Show how you got your answer.
- What is the probability that the first round in which there is
a successful transmission is round 3?
Show how you got your answer.
- Extra Credit.
Redo all of the parts of the previous problem for binary exponential
backoff. On round k there are 2k-1 slots. Sorry, no
extra credit for just doing parts a) and b) since these are the same
as in problem 9.