1 Communicatienetwerken Oefeningenreeks 1 Hoofdstuk : Transport Laag Woensdag 10 oktober 2007.

Slides:



Advertisements
Similar presentations
EE:450 – Computer Networks
Advertisements

Welcome to Who Wants to be a Millionaire
EE384Y: Packet Switch Architectures
All Rights Reserved, Copyright(C) 2007, Hitachi, Ltd. 1 Transport-layer optimization for thin-client systems Yukio OGAWA Systems Development Laboratory,
Welcome to Who Wants to be a Millionaire
Welcome to Who Wants to be a Millionaire
Transmission & Error control
CS144 Review Session 4 April 25, 2008 Ben Nham
TCP-FCW – transport protocol for real-time transmissions on high-loss networks Sergei Kozlov,
PERFORMANCE One important issue in networking is the performance of the networkhow good is it? We discuss quality of service, an overall measurement.
1 EE 122: Networks Performance & Modeling Ion Stoica TAs: Junda Liu, DK Moon, David Zats (Materials with thanks.
TCP transfers over high latency/bandwidth network & Grid TCP Sylvain Ravot
LOGO Transmission Control Protocol 12 (TCP) Data Flow.
$1 Million $500,000 $250,000 $125,000 $64,000 $32,000 $16,000 $8,000 $4,000 $2,000 $1,000 $500 $300 $200 $100 Welcome.
Probability Review.
Laboratório de Teleprocessamento e Redes1 Unix Network Programming Prof. Nelson Fonseca
Fundamentals of Computer Networks ECE 478/578
Chapter 6 The Transport Layer.
Transport Layer – TCP (Part2) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Computer Networks 2 Lecture 2 TCP – I - Transport Protocols: TCP Segments, Flow control and Connection Setup.
Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 32 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
Chapter 3 outline 3.1 transport-layer services
TCP/IP: the transport layer Skills: none IT concepts: layered protocols, transport layer functions, TCP and UDP protocols, isochronous applications This.
1 Lecture 10: TCP Performance Slides adapted from: Congestion slides for Computer Networks: A Systems Approach (Peterson and Davis) Chapter 3 slides for.
The Transport Layer Chapter 6. The TCP Segment Header TCP Header.
The Transport Layer Chapter 6. Performance Issues Performance Problems in Computer Networks Network Performance Measurement System Design for Better Performance.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
1 TCP latency modeling. 2 Q: How long does it take to receive an object from a Web server after sending a request? r TCP connection establishment r data.
The Transport Layer Chapter 6. The Transport Service Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of.
Reduced TCP Window Size for VoIP in Legacy LAN Environments Nikolaus Färber, Bernd Girod, Balaji Prabhakar.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Problems.
Transport Layer 4 2: Transport Layer 4.
Instructor: Christopher Cole Some slides taken from Kurose & Ross book IT 347: Chapter 1.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
Copyright 2002, S.D. Personick. All Rights Reserved.1 Telecommunications Networking II Topic 20 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
3: Transport Layer3-1 Where we are in chapter 3 Last time: r TCP m Reliable transfer m Flow control m Connection management r principles of congestion.
Transport Layer3-1 Announcements r Collect homework r New homework: m Ch3#3,4,7,10,12,16,18-20,25,26,31,33,37 m Due Wed Sep 24 r Reminder: m Project #1.
CS 164: Slide Set 2: Chapter 1 -- Introduction (continued).
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 7.
Networked Graphics Building Networked Virtual Environments and Networked Games Chapter 3: Overview of the Internet.
Data Link Layer - 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Transport Layer3-1 TCP throughput r What’s the average throughout of TCP as a function of window size and RTT? m Ignore slow start r Let W be the window.
1 Transport Layer Lecture 10 Imran Ahmed University of Management & Technology.
The Transport Layer Chapter 6 12/14/2015www.ishuchita.com1.
ECE 4110 – Internetwork Programming
Data Transfer Case Study: TCP  Go-back N ARQ  32-bit sequence # indicates byte number in stream  transfers a byte stream, not fixed size user blocks.
Data Link Layer Flow and Error Control. Flow Control Flow Control Flow Control Specifies the amount of data can be transmitted by sender before receiving.
CSCI 465 D ata Communications and Networks Lecture 10 Martin van Bommel CSCI 465 Data Communications & Networks 1.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Computer Networks 1000-Transport layer, TCP Gergely Windisch v spring.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
Data rate: 1 Mb/s Payload: 1000 B Header/ACK: 50 B
Window Control Adjust transmission rate by changing Window Size
DMET 602: Networks and Media Lab
The Transport Layer (TCP)
Chapter 6 The Transport Layer.
The Transport Layer Chapter
Precept 2: TCP Congestion Control Review
Performance Questions
Propagation & Transmission delay
Transport Protocols: TCP Segments, Flow control and Connection Setup
Window Management in TCP
The Transport Layer Chapter 6.
Evaluation of Objectivity/AMS on the Wide Area Network
Chapter 15. Satellite Services and the Internet
Presentation transcript:

1 Communicatienetwerken Oefeningenreeks 1 Hoofdstuk : Transport Laag Woensdag 10 oktober 2007

2 VRAAG 1 S 100 kbit/s of 10 Mbit/s km Y X 10 Gbit/s vezel : 2000 km 100 m TP 100 m coax 10 x MSS of 100 x MSS A = FTP client, B = FTP server Upload from A to B of a large file MSS = 10 kbit Receiver buffer : 10 or 100 x MSS 1 acc. Ack. from B to A if 10 or 100 MSS received A B

3 VRAAG 1 : delay ? 64 kbit/s (transmission delay = 125 msec) 10 Gbit/s (transmission delay = 0) 100 m (propagation delay = 0) km (GEO satellite) (propagation delay = 250 msec) Packet of 1 kByte (=8 kbit) over 64 kbit/s ==> transmission delay ==> 8 (kbit) / 64 (kbit/s) = 125 msec propagation delay = delay due to wave (e.g. light) propagation speed ( m/s in air, m/s in fiber) transmission delay = time between first and last bit sent 125 msec first bit last bit use faster access line use shorter route (transatlantic fiber) Speed of light : 3 x 10 8 m/s ==> propagation delay ==> 0.7 x 10 8 (m)/3 x 10 8 m/s = s (  250 msec) See also Chapter 1 (part 1.6)

4 VRAAG 1 : voorbeeld Y X A B 10 Mbit/s vezel : 2000 km 10 Gbit/s 100 m TP 100 m coax 10 x MSS 10 x MSS gives 1 Ack => transfer of 100 kbit How long does it take ? (1) 10 MSS from A to B : A to X : propagation delay = 0, transmission delay = 100 (kb) / 10 (Mb/s) = 0.01 s X to Y : propagation delay = 2 x 10 6 / 2 x 10 8 (m/s) = 0.01 s, trans. delay = 0 Y to B : prop. delay & trans. delay = 0 (short distance, very high bitrate) (2) Ack from B to A : ONLY propagation delay important (because ACK segment is very short) Y to X gives 0.01 s Total : = 0.03 s for 100 kb gives : 100 / 0.03 kb/s = 3.33 Mb/s

5 VRAAG 1 : voorbeeld Y X A B 10 Mbit/s vezel : 2000 km 10 Gbit/s 100 m TP 100 m coax 10 x MSS Acc.Ack s

6 VRAAG 1 : uitkomst andere stukken Link AXLink XYBuffer BBitrate (Mbit/s) 100 kbit/sSatelliet10 x MSS 83 kbit/s 10 Mbit/sSatelliet10 x MSS 0.48 Mbit/s 10 Mbit/sVezel10 x MSS 3.3 Mb/s 100 kbit/sSatelliet100 x MSS 98 kbit/s 10 Mbit/sVezel100 x MSS 8.3 Mbit/s

7 VRAAG 2 one way delay = 25 msec MSS = 1 kB application at sender bitrate = 1000 kByte/s = 1000 MSS/sec Receiver buffer = 4 kB = 4 MSS immediate acknowledgments sender sends every 5 msec one MSS (if allowed) receiver OPTION 1 : immediate processing receiver OPTION 2 : 15 msec processing / kB (but first kB treated immediately, when receiver buffer empty; and : if application process is ready, it will first take a new segment before any action is taken at the TCP layer {e.g. send an ACK} ) no congestion control, no slow start, no TCP set-up -1- Make a detailed timing diagram (show Ack, Seq number, Rec. window, send window) -2- Compare throughput with simplified theoretical limit

8 VRAAG 2 : OPTION 1 5 msec steps b.v.: SW = Send Window SW 0=>1=>0 0=>1=>0 0=>1=>0 0=>1=>0 etc. NO processing time at receiver ! 4 ==> 3 3 ==> 2 2 ==> 1 1 ==> 0 Theory : 4 kB/50 msec = 640 kbit/s Detail : 4 kB/50 msec = 640 kbit/s 50 msec

9 VRAAG 2 : OPTION 2 5 msec steps b.v.: SW = Send Window 4 ==> 3 3 ==> 2 2 ==> 1 1 ==> 0 processing time at receiver :15 msec ! First process and then send ACK for ==> receive window remains 2 One ACK but also rec.window reduced by one ==> no segment can be sent ! One ACK and rec.window NOT reduced ==> segment can be sent ! 0=>1=>0 0=>1=>0 0=>2=>1 1==>0 0=>1=>0 etc. Theory : 4 kB/50 msec = 640 kbit/s Detail (steady state): 3 kB / 50 msec = 480 kbit/s 0=>2=>1 1==>0 0=>1=>0 50 msec

10 VRAAG 3 one way delay = 25 msec MSS = 1 kB application at sender bitrate = 1000 kByte/s = 1000 MSS/sec Receiver buffer = 4 kB = 4 MSS immediate acknowledgments sender sends every 5 msec one MSS (if allowed) receiver immediate processing slow start (congestion control) Make a detailed timing diagram (show Ack, Seq number, Adv. Rec. window, send window and congestion window)

11 VRAAG 3 b.v.: SW = Send Window CW = Congestion Window 1 ==> 0, CW= 1 0=>2=>1, CW= 2 0=>2=>1, CW= 3 1=>3=>2, CW= 4 2==>1, CW= 4 1==>0, CW= 4 etc. 1=>0, CW= 2 0=>1=>0, CW= 5 0=>1=>0, CW= 6 0=>1=>0, CW= 7 0=>1=>0, CW= 8