588 section 4 neil spring april 27, 1999. schedule notes project 2 description fair queueing (demers...

21
588 Section 4 Neil Spring April 27, 1999

Post on 19-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

588 Section 4

Neil Spring

April 27, 1999

Page 2: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Schedule

• Notes

• Project 2 description

• Fair Queueing (Demers et.al.)

Page 3: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Notes

• Graded Homework Assignment 1 soon– first seven problems have been graded.

• Homework 2 due date– was May 3, now…

• Programming Assignment 1 “solution” available as part of PA2

Page 4: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Project 2, Routing & Congestion

• Routing: – topology discovery, (make table)– routing packets (lookup in table)– failure management (change table)

• no partitioning

• Congestion control– adaptive window sizing – Drop packets or ?– Loss rate won’t be as bad this time.

Page 5: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Fair Queueing

• What’s the problem?

Page 6: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Fair Queueing

• What’s the problem?– Fair bandwidth allocation?

• What’s wrong with FCFS?

Page 7: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Fair Queueing

• What’s the problem?– Fair bandwidth allocation?

• What’s wrong with FCFS?– FTP vs. Telnet– Mean users break end-to-end congestion

control

Page 8: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Nagel’s algorithms

• Silly Window Syndrome– Allow only one unacknowledged small packet

into the network.

• Packetwise fair queueing– Compared to Bitwise Round-robin (BR)

described in this paper.

Page 9: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

FTP vs. Telnet

• FTP shoves a lot of packets into the network.

• Why?

Page 10: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

FTP vs. Telnet

• FTP shoves a lot of packets into the network.

• Why?– It gets a bigger share of the bandwidth– It makes sure it gets what bandwidth is

available

• What are the consequences of full queues?

Page 11: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

FTP vs. Telnet

• FTP shoves a lot of packets into the network.

• Why?– It gets a bigger share of the bandwidth– It makes sure it gets what bandwidth is available

• What are the consequences of full queues?– Packets get dropped– Packets get delayed

Page 12: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

What is fairness

• Plenty of rhetorical questions:

• Equal allocation?– By source? Destination? Connection?

• Some sources really need bandwidth.– NFS service

• What about users with many processes?

• Sources with many outgoing connections?

Page 13: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Experimental Setup

• Simulation of FCFS & FQ using three flow control algorithms:

• Generic flow control– 2rtt, fixed window size

• Jacobson & Karels’ (JK)– timeouts signals congestion: modify cwnd

• DECbit– header bit when passing congested gateways

Page 14: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Measurements

• Throughput– fairness evident– more telnet packets are good

• Average Roundtrip– delay

• Retransmissions– suggest variability in delay, since timeouts fire

• Dropped Packets– imply congestion was not resolved.

Page 15: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Results: Underloaded Gateway

• Experimental setup looks like a modem link (56Kbit)

• fairness

• low delay

• DECbit already had decent delay properties– has strange Roundtrip times for FTP in FQbit

Page 16: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Results: Overloaded Gateway

• Small buffer size

• Notice: several ways to achieve fairness

• FQ affects telnet delay

• FQ doesn’t reduce the number of retransmits/drops

Page 17: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Results: Ill-behaved source

• Mean source fills the queue

• FQ charges for dropped packets

• Effective at shutting it down.

• Roundtrip for good apps preserved

Page 18: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Results: Mixed Protocols

• Explain the 12 for one Generic source?

• Motivation for sources to implement JK.

Page 19: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Results: Multi-hop networks

• Key is the fourth column

• DECbit doesn’t work as well

• Why roundtrip time is the same across all routes is mysterious…

Page 20: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Results: Complex networks

• Column 4 & 8

• Senders aided by timely acks.

Page 21: 588 Section 4 Neil Spring April 27, 1999. Schedule Notes Project 2 description Fair Queueing (Demers et.al.)

Summary

• what’s wrong with fair queueing?