Presentation is loading. Please wait.

Presentation is loading. Please wait.

Transport Layer Services –Reliable Delivery –or Not! Protocols –Internet: TCP, UDP –ISO: TP0 thru TP4.

Similar presentations


Presentation on theme: "Transport Layer Services –Reliable Delivery –or Not! Protocols –Internet: TCP, UDP –ISO: TP0 thru TP4."— Presentation transcript:

1 Transport Layer Services –Reliable Delivery –or Not! Protocols –Internet: TCP, UDP –ISO: TP0 thru TP4

2 Transport Services Framing Link Header Data Network Header Transport Header Session Header (?) Presentation “Header” Application “Header” User Provider {see page 481}

3 Delivery Services First layer that can really provide reliability Reliability means sequencing, error recovery, acknowledgements Not every application needs (wants) reliability

4 Quality of Service New idea from the voice, video folk Not (yet) part of Internet protocols –RSVP in process Unclear which layer guarantees QoS

5 Managing Connections Addressing Identifying duplicate TPDUs Three-way handshakes Flow control Crash recovery (largely ignored)

6 TCP Reliable, sequenced stream of bytes Virtual circuit Buffered transfer Unstructured Full Duplex

7 TCP - How it Works Positive Acknowledgements w/ Retransmission Sliding Windows Pages 531, 532 give the programmer’s state machine info

8 TCP Features A protocol, not a package Ports (Well Known Ports) Out of Band, or URGENT, data Timeouts –RTT Estimation (Karn’s Algorithm) (pg 541) Congestion –Slow-Start Methodolgy Limitations

9 TCP Header 0163124410 HLENRESERVEDCODE BITS DATA... PADDINGOPTIONS (IF ANY) CHECKSUMURGENT POINTER WINDOW ACKNOWLEDGEMENT NUMBER SEQUENCE NUMBER SOURCE PORTDESTINATION PORT

10 TCP Connection Management Three Way Handshake –SYN, SYN/ACK, ACK May be viewed as two Simplex connections Window management –Advertising Zero Window Size –Nagle’s algorithm –Silly Window Syndrome

11 UDP DATA... 01631 SOURCE PORTDESTINATION PORT MESSAGE LENGTHCHECKSUM Your basic datagram No acknowledgements, no reliability Why use it?

12 Transport Layer Performance Timeout Values Inadvertent Synchronized Loads Latency (Bandwidth-delay product) MTU, MSS values Router impact

13 Performance Hints CPU normally is the bottleneck –most time is spent in protocol stacks, not on the wire Per-packet overhead means big packets are much more efficient… But delays to create big packets impact interactive applications Easy to increase bandwidth, impossible (?) to reduce propagation delay

14 Performance Challenges Gigabit networks Satellites


Download ppt "Transport Layer Services –Reliable Delivery –or Not! Protocols –Internet: TCP, UDP –ISO: TP0 thru TP4."

Similar presentations


Ads by Google