414Lecture3solutions

# 414Lecture3solutions - file How many RTTs does it take to...

This preview shows pages 1–4. Sign up to view the full content.

2010 Michael Rabbat ECSE 414, Lecture 3 3 Review Question Suppose N packets arrive simultaneously to a link No packets are currently in the queue Each packet is of length L bits The link has a transmission rate of R bits per second The link is 150km long (assume 2x10 8 meters/sec prop. speed) What is the average queuing delay for the N packets? 1 2 3 4

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2010 Michael Rabbat ECSE 414, Lecture 3 4 Review Question (Answer) Let d i be the queuing delay experienced by the i th packet in the queue (where i =1 is the first packet and i = N is the last packet in queue) The transmission delay (time to transmit one packet) is L / R secs So, the queuing delay experienced by the first packet is d 1 = 0 the second packet is d 2 = L / R the k th packet is d k = ( k -1) L / R Therefore, the average queuing delay is (Arithmetic series)
2010 Michael Rabbat ECSE 414, Lecture 3 18 Questions You click on a webpage. (a) Suppose the webpage contains 1 very small html

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: file. How many RTTs does it take to obtain the file (assuming negligible transmission time)? (b) The html file indexes 3 very small JPEG objects. How many RTTs does it take to acquire the page and the objects with: (i) Non-persistent HTTP and no parallel TCP connections? (ii) Non-persistent HTTP with parallel TCP connections? (iii) Persistent HTTP with pipelining? 2010 Michael Rabbat ECSE 414, Lecture 3 19 Questions You click on a webpage. (a) Suppose the webpage contains 1 very small html file. How many RTTs does it take to obtain the file (assuming negligible transmission time)? 2 (b) The html file indexes 3 very small JPEG objects. How many RTTs does it take to acquire the page and the objects with: (i) Non-persistent HTTP and no parallel TCP connections? 8 (ii) Non-persistent HTTP with parallel TCP connections? 4 (iii) Persistent HTTP with pipelining? 3...
View Full Document

{[ snackBarMessage ]}

### Page1 / 4

414Lecture3solutions - file How many RTTs does it take to...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online