| CS653: Advanced Computer Networks | |
| Fall 2009 |
Homework #2: Design Principles 1. TCP Timers. Why do you think that backoff timers in TCP are not randomized as in Ethernet? Does TCP's timeout mechanism allow TCP to spread transmissions over longer periods of time (adaptively) as in Ethernet? Explain. 2. Analysis of discrete time CSMA/CD.
In class I presented an informal
derivation of an expression for the system throughput of CSMA/CD in terms of
the offered load. In this problem, you will repeat the argument for a discrete
time system. The fact that the system is discrete time will allow you to make a
less informal argument. Define S and G as in class. Also assume that the arrival process of all
packets is Poisson with rate G. Assume that time is divided into fixed length
intervals of length a ( equal to the end to end propagation delay. Further
assume that the time to transmit a packet is 1 and that 1/a is an integer.
Suppose that k users generate packets in the i-th interval. Then at the start
of the (i+1)-th interval, all k users sense the channel and if it is idle,
start to transmit. If k = 1, then the user transmits over 1/a time intervals.
One additional interval is required for the channel to clear. If k > 1, then
a collision occurs and the users become aware of it at the end of the (i+1)-th
time interval. An additional time interval is needed for the channel to clear.
3. Randomization and indirection: Crowds. Read the paper, M.
Reiter, A. Rubin, "Crowds:
Anonymity for Web Transactions" ACM Transactions on Information and
System Security. You only need to read sections 1, 2 and 4. What are
randomization and indirection used in this protocol? Pick two examples of
randomization and indirection that we studied in class, and compare and
contrast the use of randomization and indirection in Crowds, and in these two
protocols. 4. Leaky buckets. Consider two leaky buckets in series, with parameters (r1,b1) and (r2,b2); traffic arriving to be send into the network arrives to the first leaky bucket. Now consider the output traffic leaving the second leaky bucket. Give the parameters of an equivalent single leaky buket (r3,b3) that provides the same policing as the two leaky buckets in series in terms of the parameters r1, r2 b1, b2 of the two original leaky buckets. | ||