etsf10 part 2 lect 1 - lunds tekniska högskola · etsf10 part 2 lect 1 performance, udp, tcp,...

22
ETSF10 Part 2 Lect 1 Performance, UDP, TCP, Congestion Control (TCP), QoS Performance, UDP, TCP, Congestion Control (TCP), QoS Jens A Andersson Electrical and Information Electrical and Information Technology

Upload: others

Post on 07-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Figure 23.12 Queues in UDP

23.22