Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet
description
Transcript of Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet
![Page 1: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/1.jpg)
Dynamic-CBT and ChIPS - Router Support for Improved
Multimedia Performance on the Internet
Jae Chung and Mark Claypool
Department of Computer Science
WPI
In Proceedings of ACM Multimedia
November 2000
![Page 2: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/2.jpg)
The Internet and Multimedia
• Internet routers are best effort– No timing constraints
– Packet loss, which indicates congestion
• TCP– Completely reliable delivery through retransmission
– Respond to loss as congestion
• But … TCP often unsuitable for interactive multimedia– Full reliability not needed
– Window-based rate fluctuations
![Page 3: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/3.jpg)
Multimedia Using TCP
![Page 4: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/4.jpg)
Multimedia Using UDP
![Page 5: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/5.jpg)
Multimedia on the Internet
• Multimedia often uses UDP– Avoid delay and jitter from retransmission
– Rate-based
– Unresponsive!
• Router queue management goals– Congestion Control
– Fairness
– Reduce Jitter
![Page 6: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/6.jpg)
Current Router Queue Management
Drop Tail (FIFO)Drop Tail (FIFO)
Resource ReservationResource Reservation
...... CBQCBQ Floyd, Jacobson
93 Floyd, Jacobson
95 Lin, Morris
97
Bursty loss
Unfairness (tcp, other)
No QoS support
REDRED FREDFRED
Active Queue MgmtActive Queue Mgmt
......
![Page 7: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/7.jpg)
Class-Based Threshold (CBT) AQM Support for Multimedia - Jeffay, 99
Drop Tail (FIFO)Drop Tail (FIFO)
Resource ReservationResource Reservation
...... CBQCBQ REDRED FREDFRED
Class-Based Threshold (CBT)
Class-Based Threshold (CBT)
Active Queue MgmtActive Queue Mgmt
......
![Page 8: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/8.jpg)
Outline
• Introduction • CBT and D-CBT
– Design
– Evaluation
• ChIPS– Design
– Evaluation
• Conclusion
![Page 9: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/9.jpg)
CBT Concepts
• CBQ + RED: Class-based isolation on RED
• Use Class Thresholds and Avg. # of enqueued packets on a single FIFO Queue
• Three classes: TCP, MM UDP (flow controlled) and Unresponsive UDP
TCP
MMUDP
UDP
RED
![Page 10: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/10.jpg)
CBT Design
![Page 11: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/11.jpg)
CBT - Pros and Cons
• Pros: RED + Class-Based Isolation– Early Congestion Notification
– Protect TCP, and protect (distinguish) MM UDP
– Different flows coexist with predefined fairness.
– Dividing bandwidth assigned is up to the class.
• Cons: CBQ function w/o admission control– Might not work well for certain traffic mixes
– Arguable that it’s not fair (as in the case of CBQ)
![Page 12: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/12.jpg)
Dynamic-CBT
Drop Tail (FIFO)Drop Tail (FIFO)
Resource ReservationResource Reservation
...... CBQCBQ REDRED FREDFRED
Class-Based Threshold (CBT)
Class-Based Threshold (CBT) Dynamic-CBTDynamic-CBT
Active Queue MgmtActive Queue Mgmt
......
![Page 13: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/13.jpg)
ChIPSChIPS
Dynamic-CBT and ChIPS
Drop Tail (FIFO)Drop Tail (FIFO)
Resource ReservationResource Reservation
...... CBQCBQ REDRED FREDFRED
Class-Based Threshold (CBT)
Class-Based Threshold (CBT) Dynamic-CBTDynamic-CBT
Active Queue MgmtActive Queue Mgmt
......
![Page 14: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/14.jpg)
D-CBT Design
Responsive MM
EnableThrsh
![Page 15: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/15.jpg)
Flow Counting in D-CBT
• For every incoming packet, insert or update <dest-addr, flow-id, local-time> info and update count– Sorted Linked List - O(n)– Hash Table - O(1)
• Every ms, delete old info and update count– Sorted Linked List - O(n)– Hash Table - O(n)
• (How are flows counted in FRED?)
![Page 16: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/16.jpg)
Evaluation in NS
• Developed responsive multimedia application (for tagged UDP class)– AIMD Media Scaling (5 discrete rates)
– “MPEG-1 like” transmission rates
– [CC00a], MM-Flow
• Implemented and validated CBT
• Implemented D-CBT and measured congestion time fairness– RED vs. CBT vs. D-CBT
![Page 17: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/17.jpg)
Validation of CBT on NS
0 20 60 110 160 180
6 ProShare - Unresponsive MM (210Kbps each)
240 FTP-TCP
1 UDP blast (10Mbps, 1KB)
• RED Settings:qsize = 60 pktsmax-th = 30 pkts min-th = 15 pktsqweight = 0.002max-pro = 0.1
• CBT Settings:mm-th = 10 pkts
udp-th = 2 pkts
(Second)
![Page 18: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/18.jpg)
X axis: Seconds, Y axis: Kbyte/Sec
PJS99 Experimental Results
NS Simulated Results
Aggregate TCP Throughput under RED
(Our setup is ok, so now can check our CBT test)
![Page 19: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/19.jpg)
Aggregate TCP Throughput under CBT
X axis: Seconds, Y axis: Kbyte/Sec
PJS99 Experimental Results
NS Simulated Results
![Page 20: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/20.jpg)
Simulation (RED, CBT, D-CBT)
0 10 20 30
25 FTP-TCP
30 FTP-TCP
2 CBR-UDP(5Mbps each)
10 MM-UDP
s1
n1
s2
s66
s67
n2
r2
r2
r66
r67
25Mbps, 20ms
25Mbps, 5ms25Mbps, 5ms
n1-n2: q_size = 60
RED: max_th = 15 min_th = 5 qweight = 0.002 max_prb = 0.1
CBT: mmu_th = 2.9 udp_th = 0.6Second
![Page 21: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/21.jpg)
Jain’s Fairness Index ( f ) - Jain, 91
• Examples:– 1 flow– 2 flows, 5 Kbps each– 2 flows, 9 Kbps and 1Kbps
f (x0, x1, x2,…, xn) =( xi )2i=0
n
i=0n xi
2n
0 f 1 (Greatest Fairness)
![Page 22: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/22.jpg)
RED: Class Average Per-Flow Throughput
537293 161
851 720 601
45034681
0
500
1000
1500
2000
2500
3000
3500
4000
4500
5000
0 ~ 10 Sec 10 ~ 20 Sec 20 ~ 30 Sec
Kbp
s
TCP
TAG_UDP
UTAG_UDP
Fairness: RED
![Page 23: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/23.jpg)
Fairness: CBT
CBT: Class Average Per-Flow Throughput
587 613
305
760 739657624
318
0
100
200
300
400
500
600
700
800
900
1000
0 ~ 10 Sec 10 ~ 20 Sec 20 ~ 30 Sec
Kbp
s
TCP
TAG_UDP
UTAG_UDP
![Page 24: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/24.jpg)
Fairness: D-CBT
D-CBT: Class Average Per-Flow Throughput
622659
356
653 660
378
637
313
0
100
200
300
400
500
600
700
800
900
1000
0 ~ 10 Sec 10 ~ 20 Sec 20 ~ 30 Sec
Kbp
s
TCP
TAG_UDP
UTAG_UDP
![Page 25: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/25.jpg)
Outline
• Introduction • CBT and D-CBT
– Design – Evaluation
• ChIPS – Design
– Evaluation
• Conclusion
![Page 26: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/26.jpg)
Cut-In Packet Scheduling (ChIPS) Design
![Page 27: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/27.jpg)
ChIPS Evaluation - Jitter
Frame Sequence Number
MM Frame Delay
Sec
ond
D-CBT-FIFO MM1 DelayD-CBT-ChIPS MM1 Delay
![Page 28: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/28.jpg)
ChIPS Evaluation - Fairness
TCP Packets Delivered
TCP Packet Drop Rate
TCP Throughput
D-CBT 66,648 pkts 4.46 % 17,773 Kbps
D-CBT w/ ChIPS
66,386 pkts 4.44 % 17,703 Kbps
D-CBT: Class Average Per-Flow Throughput
622659
356
653 660
378
637
313
0
100
200
300
400
500
600
700
800
900
1000
0 ~ 10 Sec 10 ~ 20 Sec 20 ~ 30 Sec
Kbp
s
TCP
TAG_UDP
UTAG_UDP
D-CBT with ChIPS: Class Average Per-Flow Throughput
608666
355
673 664
384
563
297
0
100
200
300
400
500
600
700
800
900
1000
0 ~ 10 Sec 10 ~ 20 Sec 20 ~ 30 Sec
Kbp
s
TCP
TAG_UDP
UTAG_UDP
![Page 29: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/29.jpg)
Conclusion
Fair toTCP
Fair toMixed(Fixed)
Fair toMixed
(Variable)
ImproveMM Jitter
D-CBTChIPS X X X X
RED X
CBT X X
D-CBTFIFO X X X
![Page 30: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/30.jpg)
Future Work
• Active Flow Counting (Overhead)
– For every incoming packet, update flow infoHash Table - O(1)
– Every ms, delete old flowsHash Table - O(n)
• Measure Overhead– Processing Time and Memory Usage
![Page 31: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/31.jpg)
Future Work
• How many different classes are needed?– Example
1 class is RED
1 class per flow is FRED
– Overhead per class
• Effects of D-CBT and ChIPS on Perceptual Quality
![Page 32: Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet](https://reader035.fdocuments.net/reader035/viewer/2022070419/56815a76550346895dc7dfe6/html5/thumbnails/32.jpg)
Evaluation of Science?
• Category of Paper
• Science Evaluation (1-10)?
• Space devoted to Experiments?