{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

MidTerm_Solution

# MidTerm_Solution - 1 a Solution1 InTCPchannel We have RTT 4...

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

1) a) Solution 1: In TCP channel, ܴ ௔௩௘௥௔௚௘ ଴.଻ହ· ௐ ோ்் We have RTT ൌ 400ms, ܴ ௔௩௘௥௔௚௘ ൌ 4ܯܾ݌ݏ Buffer size we need: w ൌ ೌೡ೐ೝೌ೒೐ ·ோ்் ଴.଻ହ ସMୠ୮ୱൈସ଴଴୫ୱ ଴.଻ହ ൎ 2.13Mbit Or Solution 2: In TCP channel, ܴ ௔௩௘௥௔௚௘ ோ்் We have RTT ൌ 400ms, ܴ ௔௩௘௥௔௚௘ ൌ 4ܯܾ݌ݏ Buffer size we need: w ൌ ܴ ௔௩௘௥௔௚௘ · ܴܶܶ ൌ 4Mbps ൈ 400ms ൎ 1.6Mbit (Whether or not to have 0.75 in the expression depends on how you model the TCP channel, here, we consider both are OK) b) The rate at which TCP sends data is a function of the congestion window and the current RTT. When the window size is w bytes and the current round trip time is RTT seconds, then TCP’s transmission rate is roughly RTT . So during the i th RTT, we send W ൈ 500 bytes , as long as W ൈହ଴଴ൈ଼ RTT ൑ 2Mbps We have W ൌ W ୧ିଵ ൅ 10, W ൌ 10, so W

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.

{[ snackBarMessage ]}

### Page1 / 2

MidTerm_Solution - 1 a Solution1 InTCPchannel We have RTT 4...

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

View Full Document
Ask a homework question - tutors are online