1. Trang chủ
  2. » Công Nghệ Thông Tin

Advanced Computer Networks: Lecture 35 - Dr. Amir Qayyum

16 4 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 16
Dung lượng 489,49 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Advanced Computer Networks: Lecture 35. This lecture will cover the following: router-based; congestion control solution; more fairness choices; fair queuing example; weighted fair queuing; service-level agreements (SLAs) for STS-3 (155Mbps);...

Trang 1

  1 1

CS716 Advanced Computer Networks

By Dr. Amir Qayyum

Trang 2

  2

Lecture No. 35

Trang 3

Router­Based Congestion Control Solution

3

Trang 4

  4

Congestion Control

• Basics: problem, terminology, 

approaches, metrics

• Solutions

– Router­based: queuing disciplines – Host­based: TCP congestion control

• Congestion avoidance

– DECbit

– RED gateways

• Quality of service

Trang 5

  5

Router Solutions: Queuing 

Disciplines

• Router defines policies on each outgoing  link

– Allocates buffer space:

Which packets are discarded?

– Allocates bandwidth:

Which packets are transmitted?

– Affects packet latency:

When are packets transmitted?

Trang 6

  6

More Fairness Choices

• First In, First Out (FIFO)

– Fairness for latency

– Minimizes per­packet delay

– Bandwidth not considered (not good for 

congestion)

• Fair queuing

– Fairness for bandwidth

– Provides equal bandwidths (possibly weighted) – Delay not considered

Trang 7

  7

Fair Queuing

• Logical round­robin on bits

– Equal­length packets: round­robin on packets – Variable­length packets ?

• Idea

– Let Si denote  accumulated service  for flow i – Serve the flow with lowest accumulated service – On serving a packet of length P from flow i,  update 

Si = Si + P

Trang 8

  8

15

20

10

Fair Queuing Example

A

B

C

10 10

20

SB

SC

0

0

0

10

0

0

10

20

0

10

20

15

20

20

15

20

20

35

10 15 20 10 15 20 10

35

20

35

35

30

35

Trang 9

  9

Fair Queuing Example

• Compare Si or Si + P ?

15

20

10

A

B

C

10 10

20

SB

SC

0

0

0

10

0

0

10

0

15

20

0

15

20

20

15

20

30

15

20 15 10 20 10 15 10

35

30

15

35

30

35

Another detail: update counter at start or end of transmission ?

Trang 10

  10

Fair Queuing

• Why is the suggested approach not 

quite adequate?

– Flows can “save up”  credit

– No transmission for long time (call it T) – Burst uses all bandwidth for up to time

T x flow’s share of link

Trang 11

  11

Fair Queuing

• How might we fix this problem?

– Don’t allow inactive flows to retain 

service rates below that of any active flow

– i.e. after updating some flow’s Si

• For each flow j with no packets in its  queue

• Set Sj to the minimum Sk for all active  flows k

(or 0 if no flows are active)

Trang 12

  12

20

10

Fair Queuing Example

A

B

C

10

20

SB

SC

0

0

0

10

0

0

10

20

0

15

20

15

20

20

35

10 20 15 20 10

30

30

35

Trang 13

  13

Weighted Fair Queuing

• Extend fair queuing

• Notion of  importance  for each flow

• Implement as weight Wi for flow i

• Update accumulated service with P/Wi

Trang 14

  14

10

15

20

10

Weighted Fair Queuing Example

A (1)

B (2)

C (1)

10 10

20

SB

SC

0

0

0

10

0

0

10

10

0

10

10

15

20

10

15

20

15

15

20 10 10 10 15 20 10

20

20

15

20

20

35

Trang 15

  15

Weighted Fair Queuing

• What makes up a flow for fair queuing in the 

Internet ?

• Too many resources to have separate 

queues/variables for host­to­host flows

• Scale down number of flows

• Typically just based on inputs

• e.g. share outgoing STS­12 between incoming 

ISP’s

Trang 16

  16

10 10 10 10 10

Fair Queuing in the Internet

A

B

C

10 10

SA

SB

SC

SD

0

0

0

0

10

0

0

0

10

10

0

0

10

10

10

10

20

10

10

10

20

20

10

10

10 10

20

20

20

20

D

10 10 10

10 10 10

STS­12

Service­Level 

Agreements 

(SLAs) for

STS­3 

(155Mbps)

STS­4

Ngày đăng: 05/07/2022, 12:18

TỪ KHÓA LIÊN QUAN