Module - 2 Part - 1 Problems
Module - 2 Part - 1 Problems
• Bandwidth or throughput
– The bandwidth of a network is given by the
number of bits that can be transmitted over the
network in a certain period of time.
• Latency
– Latency = Propagation + Transmit +
Queue + Process
– Propagation = Distance/Speed of Light
– Transmit = Size/Bandwidth
Problem
• Consider two hosts, A and B, connected by a single link of
rate R bps. Suppose that the two hosts are separated by m
meters, and suppose the propagation speed along the link is s
meters/sec. Host A is to send a packet of size L bits to Host B.
• a. Ignoring processing and queuing delay, obtain an
expression for the end-to-end delay.
• b. Suppose s=2.5*10^8 meters/sec, L=120 bits, and
R=56kbps. Find the distance m so that the propagation delay
equals transmission delay.
Circuit switching problem
• Find the total delay in sending x bits of user data over a k-hop
path in a circuit switched networks. Consider lossless circuit
switching networks, the circuit setup time is s seconds, the
propagation delay is d second per hop, each packet contains p
data bits, and the bit rate of the line on each hop is b bps.
• Over the circuit-switched network, the total delay is due to
three parts: the setup time s, the total propagation delay kd,
and the transmission time x/b. So,
• Circuit switching
• Packet switching
Problem
(a) What are “loss-intolerant” applications? Give an example of a loss-
intolerant Internet application.
• Applications that don’t tolerate loss of data. Example; Email, File transfer,
Web.
(b) What are “delay intolerant” applications? Give an example of a delay-
intolerant Internet application.
• Applications that don’t tolerate delay in data delivery. Example; Internet
telephony, video conferencing, etc.
(c) Based on your comparative analysis in Question 1, does the Internet
adequately support loss-intolerant applications? And delay-intolerant
applications? Explain. (2pts)
• The Internet was designed to support loss-intolerant applications but was
not designed to support delay-intolerant applications properly.
• This is because, the Internet, as a packet switching network, cannot
provide delay bound guarantees.
Problem
• Question 3 (6 points) Consider an Internet application running on two
Internet hosts, Host1 and Host2, which are communicating using a path
through router R. Assume that the average service time at R is 10 ms,
packets are 2,000 bits long, and the propagation delay between Host1 and
Host2 is 150ms.
• (a) Based on the latency expression we covered in class, how is service
time defined?
• Write the mathematical expression for it explaining its terms.
The service delay is the sum of the delays for processing and queueing.
• Processing: checking bit errors, determining output link
• Queueing: waiting for output link availability
• Total delay = processing + queue + transmission + propagation
• Service time = processing + queue
Problem
• (b) If the application running on Host1 and Host2 cannot
tolerate latencies over 200ms, what is the minimum capacity
of the link connecting the two hosts? Show your work.