+ All Categories
Home > Documents > Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür...

Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür...

Date post: 25-Jun-2020
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
11
ETSF10 Internet Protocols 2011-11-08 Kaan Bür & Jens Andersson 1 Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport Layer Process-to-process delivery §23.1 User Datagram Protocol (UDP) §23.2 Transmission Control Protocol (TCP) §23.3 Network performance §3.6 Congestion control §24.1-4 Quality of Service (QoS) §24.5-6 Real-time interactive audio/video §29.5 2011-11-08 2 Performance Bandwidth Hertz (frequency band) Bits per second (capacity) Throughput Efficiency Always less than capacity Latency (Delay) Transmission, propagation Processing, queueing Jitter real-time data! 2011-11-07 3
Transcript
Page 1: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 1

Transport Layer(Part 2)

ETSF10 – Internet Protocols – 2011Kaan Bür & Jens Andersson

Department of Electrical and Information Technology

Transport Layer

• Process-to-process delivery §23.1

• User Datagram Protocol (UDP) §23.2

• Transmission Control Protocol (TCP) §23.3

• Network performance §3.6

• Congestion control §24.1-4

• Quality of Service (QoS) §24.5-6

• Real-time interactive audio/video §29.5

2011-11-08 2

Performance

• Bandwidth– Hertz (frequency band)– Bits per second (capacity)

• Throughput– Efficiency– Always less than capacity

• Latency (Delay)– Transmission, propagation– Processing, queueing

• Jitterà real-time data!2011-11-07 3

Page 2: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 2

Bandwitdh-delay product

• How much data can fill the link• Important for congestion avoidance

– Delay = Round Trip Time (RTT)– Burst = 2 * bandwidth * delay

2011-11-07 4

Bandwitdh-delay product

2011-11-07 5

bandwidth: 5 bps, delay: 5sbandwidth x delay = 25 bits

Traffic descriptors

• Effective bandwidth

2011-11-08 6

Page 3: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 3

Traffic profiles

2011-11-08 7

Congestion

• Result of waiting• When load > capacity

– Arrival rate > processing rate– Processing rate > departure rate

2011-11-08 8

Delay and throughput

2011-11-08 9

Page 4: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 4

Congestion control

• Avoiding and eliminating congestion– Open-loop = proactive– Closed-loop = reactive

2011-11-08 10

Closed-loop congestion control (1)

• Backpressure

2011-11-08 11

Closed-loop congestion control (2)

• Choke packet

2011-11-08 12

Page 5: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 5

Congestion Control in TCP

• Congestion window– size = min(rwnd, cwnd)

• Slow start (state)– Exponential increase

• Congestion avoidance (state)– Additive increase

• Congestion detection (event - to act upon)– Multiplicative decrease

2011-11-08 13

Slow start: Exponential increase

2011-11-08 14

Congestion avoidance: Additive increase

2011-11-08 15

Page 6: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 6

Reaction to congestion detection

• Detection by time-out– Probably both channels congested– New slow start phase

• Detection by three ACK– Probably sending channel congested only– New congestion avoidance phase

2011-11-08 16

TCP congestion policy: Summary

2011-11-08 17

TCP congestion policy: Example

2011-11-08 18

Page 7: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 7

See you in 15’ :)

• After the break– Quality of Service– Real-time data

2011-11-08 19

Quality of Service (QoS)

• Maintaining an appropriate environment– Meeting applications’ demands– Deals with flow characteristics

2011-11-08 20

How to improve QoS

• Admission control• Resource reservation• Scheduling• Traffic shaping

2011-11-08 21

Page 8: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 8

Scheduling: FIFO queuing

2011-11-08 22

Scheduling: Priority queuing

2011-11-08 23

Scheduling: Weighted fair queuing

2011-11-08 24

Page 9: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 9

Traffic shaping: Leaky bucket

2011-11-08 25

Traffic shaping: Token bucket

2011-11-08 26

Traffic shaping: Two approaches

Leaky bucket Token bucket

2011-11-08 27

Input flow

Output flow after LB

Input flow

Output flow after TB

Page 10: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 10

Real-time interactive audio/video

• Two-way communication in real time– Internet telephony– Voice over IP– Video conferencing

• Sensitive to delay and jitter– TCP not suitable

• Not so sensitive to lost and corrupted packets– TCP not suitable

2011-11-08 28

Real-time data: Time relationship

2011-11-08 29

Real-time data: Jitter

2011-11-08 30

Page 11: Transport Layer (Part 2)...Transport Layer (Part 2) ETSF10 – Internet Protocols – 2011 Kaan Bür & Jens Andersson Department of Electrical and Information Technology Transport

ETSF10 Internet Protocols 2011-11-08

Kaan Bür & Jens Andersson 11

Real-time data: Timestamping

2011-11-08 31

Real-time data: Playback buffer

2011-11-08 32

Real-time data: Sequence numbers

• Why?– Packets can be delivered out of order.– Packets can be dropped on their way.– Time stamps do not detect lost packets.

• Order in the playback buffer

2011-11-08 33


Recommended