ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP,...
Transcript of ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP,...
![Page 1: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/1.jpg)
ETSF10 Part 2 Lect 1
Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS
Jens A AnderssonElectrical and InformationElectrical and Information
Technology
![Page 2: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/2.jpg)
Today
• Performance• Process-to-Process DeliveryProcess to Process Delivery
– FlowsUDP• UDP
![Page 3: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/3.jpg)
Performance• BandwidthBandwidth
– In Hz (frequency band)– In bps (capacity)p ( p y)
• Throughput– How much of the link we can actually usey– Includes congestion
• Latency/Delay– Propagation time– Queueing time
• Bandwitdh-Delay Product
![Page 4: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/4.jpg)
Bandwitdh-Delay Product
• How much data fills the link• Important for example in congestionImportant for example in congestion
avoidanceDelay = Round Trip Time (RTT)– Delay = Round Trip Time (RTT)
– Go-Back-N can send more bits per RTT
![Page 5: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/5.jpg)
Figure 3 33 C t f b d idth d l d tFigure 3.33 Concept of bandwidth-delay product
3.5
![Page 6: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/6.jpg)
Figure 3.32 Filling the link with bits
Bandwidth: 5 bps Delay: 5sBandwidth x delay = 25 bits
3.6
![Page 7: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/7.jpg)
Process-to-Process Delivery
• Responsibility of Transport Layer• UDPUDP
– User Datagram ProtocolTCP• TCP – Transmission Control Protocol
li bl i– Reliable connection– Congestion control
![Page 8: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/8.jpg)
Figure 23.8 Position of UDP, TCP, and SCTP in TCP/IP suite
23.8
![Page 9: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/9.jpg)
Figure 23.6 Multiplexing and demultiplexing
23.9
![Page 10: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/10.jpg)
Figure 23.1 Types of data deliveries
23.10
![Page 11: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/11.jpg)
Figure 23.2 Port numbers
23.11
![Page 12: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/12.jpg)
Figure 23.3 IP addresses versus port numbers
23.12
![Page 13: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/13.jpg)
Figure 23.4 IANA ranges
23.13
![Page 14: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/14.jpg)
Table 23.1 Well-known ports used with UDP
23.14
![Page 15: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/15.jpg)
Table 23.2 Well-known ports used by TCP
23.15
![Page 16: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/16.jpg)
Figure 23.5 Socket address
23.16
![Page 17: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/17.jpg)
Figure 23.7 Error control
23.17
![Page 18: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/18.jpg)
Flows
• Flow concept increasingly important– MultimediaMultimedia
• All packets in flow take same path?L3/L4 s itches s itch on flo s• L3/L4 switches switch on flows– Not on individual packets
![Page 19: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/19.jpg)
Flow definition
• Defined by– IP addressesIP addresses– Ports
• Start and end of a flow?• Start and end of a flow?– TCP: Session setup and tear down
UDP S i t i t l– UDP: Session setup is natural.
![Page 20: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/20.jpg)
Figure 23.9 User datagram format
23.20
![Page 21: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/21.jpg)
Figure 23.10 Pseudoheader for checksum calculation
23.21
![Page 22: ETSF10 Part 2 Lect 1 - Lunds tekniska högskola · ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoSPerformance, UDP, TCP, Congestion Control (TCP), QoS Jens](https://reader034.fdocuments.us/reader034/viewer/2022042810/5f9a6c39a9e65476da768ef7/html5/thumbnails/22.jpg)
Figure 23.12 Queues in UDP
23.22