Networking Acronym Smorgasbord: , DVMRP, CBT, WFQ

Similar documents
CS 268: IP Multicast Routing

Multicast EECS 122: Lecture 16

Announcements. EECS 122: Introduction to Computer Networks Multicast and Overlay Networks. Motivational Example: Streaming Media

CS4700/CS5700 Fundamentals of Computer Networks

Quality of Service (QoS)

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: FIFO. Link Scheduling: Strict Priority

Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Distance Vector Link State. Shared tree.

CSE 123A Computer Networks

Contents. Overview Multicast = Send to a group of hosts. Overview. Overview. Implementation Issues. Motivation: ISPs charge by bandwidth

EE122: Multicast. Kevin Lai October 7, 2002

EE122: Multicast. Internet Radio. Multicast Service Model 1. Motivation

Quality of Service (QoS)

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: Strict Priority. Link Scheduling: FIFO

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF

CS 356: Computer Network Architectures. Lecture 24: IP Multicast and QoS [PD] Chapter 4.2, 6.5. Xiaowei Yang

Multicast Communications

Why multicast? The concept of multicast Multicast groups Multicast addressing Multicast routing protocols MBONE Multicast applications Conclusions

Bandwidth measurement & Multicast

Broadcast and Multicast Routing

ETSF10 Internet Protocols Routing on the Internet

Multicast and Quality of Service. Internet Technologies and Applications

Fair Queueing. Presented by Brighten Godfrey. Slides thanks to Ion Stoica (UC Berkeley) with slight adaptation by Brighten Godfrey

Page 1. This Week. CS 269: Lecture 11 Multicast A Tale of Two Failures. Multicast and QoS: the lost decade. Irony. History. Lectures.

Broadcast Routing. Multicast. Flooding. In-network duplication. deliver packets from source to all other nodes source duplication is inefficient:

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

Bandwidth measurement & Multicast

CSCE 463/612 Networks and Distributed Processing Spring 2018

Multicast Technology White Paper

Lecture 24: Scheduling and QoS

Multicast Communications. Tarik Čičić, 4. March. 2016

Computer Networks. Routing

Advanced Networking. Multicast

How did IP Multicast get so complicated?

IPv6 and Multicast. Outline. IPv6 Multicast. S Computer Networks - Spring 2005

Network Layer Enhancements

MULTICAST AND IGMPv3. Announcements. Today s Lecture. Multicast (No Sharing) Unicast. I. HW5 will be online today CIDR, subnets, routing

Internet is Based on Packet Switching. EECS 122: Introduction to Computer Networks Semester Wrap-Up. Design Principles. Recap: Course Goals

ETSF10 Internet Protocols Routing on the Internet

Lecture 9: Bridging & Switching"

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day?

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

ECE 158A: Lecture 13. Fall 2015

Lecture 6: Multicast

Question. Reliable Transport: The Prequel. Don t parse my words too carefully. Don t be intimidated. Decisions and Their Principles.

Lecture 19: Multicast. CSE 123: Computer Networks Stefan Savage

Mohammad Hossein Manshaei 1393

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

Network Performance: Queuing

Fairness, Queue Management, and QoS

Router Design: Table Lookups and Packet Scheduling EECS 122: Lecture 13

4.2 Multicast IP supports multicast to support one-to-many (radio, news, IP multicast was originally a many-to-many (any source MC or

Multicast. Midterm. EECS 122: Lecture 16. University of California Berkeley. Exam was not meant to be easy

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Ethernet. EE 122: Intro to Communication Networks. Fall 2007 (WF 4-5:30 in Cory 277) Vern Paxson TAs: Lisa Fowler, Daniel Killebrew & Jorge Ortiz

ETSF10 Internet Protocols Routing on the Internet

Transport and TCP. EE122 Fall 2011 Scott Shenker

DATA COMMUNICATOIN NETWORKING

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Thinking Architecturally (80 Minutes Inside Scott s Head)

Integrated Services - Overview

Overview. Lecture 22 Queue Management and Quality of Service (QoS) Queuing Disciplines. Typical Internet Queuing. FIFO + Drop tail Problems

Advanced Topics in Routing

IP Multicast. Overview. Casts. Tarik Čičić University of Oslo December 2001

IP Multicast Technology Overview

CSE 123: Computer Networks Alex C. Snoeren. HW 2 due Thursday 10/21!

Network Support for Multimedia

DD2490 p IP Multicast routing. Multicast routing. Olof Hagsand KTH CSC

EE 122: Ethernet and

CSCI Spring Final Exam Solution

Local Area Networks (LANs): Packets, Frames and Technologies Gail Hopkins. Part 3: Packet Switching and. Network Technologies.

Page 1. Quality of Service. CS 268: Lecture 13. QoS: DiffServ and IntServ. Three Relevant Factors. Providing Better Service.

IP Multicast Technology Overview

Missing Pieces of the Puzzle

Announcements. Network Performance: Queuing. Goals of Today s Lecture. Window Scaling. Window Scaling, con t. Window Scaling, con t

CSCD 433/533 Advanced Networks Spring Lecture 22 Quality of Service

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Announcements. IP Forwarding & Transport Protocols. Goals of Today s Lecture. Are 32-bit Addresses Enough? Summary of IP Addressing.

Lecture 3: Packet Forwarding

CSE 473 Introduction to Computer Networks. Final Exam. Your Name: 12/17/2014 PLEASE WRITE LEGIBLY NO POINTS FOR ILLEGIBLE ANSWERS

Basics (cont.) Characteristics of data communication technologies OSI-Model

Networked Systems (SAMPLE QUESTIONS), COMPGZ01, May 2016

Hands-On IP Multicasting for Multimedia Distribution Networks

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast

Internetworking Part 1

Topic: Multicast routing

Mohamed Khedr.

Real-Time Protocol (RTP)

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

CSE 123b Communications Software

21: IP Multicast. Classic example: British and Indian communities in the US want to watch cricket. Americans worldwide want to watch baseball.

ITEC310 Computer Networks II

Exercises to Communication Systems

EE 122: Introduction To Communication Networks. Some Questions & Answers

IPv6 PIM. Based on the forwarding mechanism, IPv6 PIM falls into two modes:

Reminder: Datalink Functions Computer Networking. Datalink Architectures

Congestion Control In the Network

IP Addressing & Forwarding

Transcription:

Networking Acronym Smorgasbord: 802.11, DVMRP, CBT, WFQ EE122 Fall 2011 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and UC Berkeley 1

Announcements Congratulations: You all got 100% on HW4 Worksheet will provide practice This is last week of sections See posting about additional office hours next week Next week will have office hours during class times Will work through problems on work sheet Be there or be square. Wednesday s Review: will figure something out. 2

Today s Lecture: Dim Sum of Design Wireless review Multicast Packet Scheduling Peer-to-peer 3

Wireless Review 4

History MACA proposal: basis for RTS/CTS in lecture Contention is at receiver, but CS detects sender! Replace carrier sense with RTS/CTS MACAW paper: extended and altered approach Implications of data ACKing Introducing DS in exchange: RTS-CTS-DS-Data-ACK o Shut up when hear DS or CTS Other clever but unused extensions for fairness, etc. 802.11: uses carrier sense and RTS/CTS RTS/CTS often turned off, just use carrier sense When RTS/CTS turned on, shut up when hear either RTS/CTS augments carrier sense 5

What Will Be on the Final? General awareness of wireless (lecture) Reasoning about a given protocol If we used the following algorithm, what would happen? You are not expected to know which algorithm to use; we will tell you explicitly. 6

Multicast 7

Motivating Example: Internet Radio Internet concert More than 100,000 simultaneous online listeners Could we do this with parallel unicast streams? Bandwidth usage If each stream was 1Mbps, concert requires > 100Gbps Coordination Hard to keep track of each listener as they come and go Multicast addresses both problems. 8

Unicast approach does not scale Broadcast Center Backbone ISP 9

Instead build data replication trees Copy data at routers At most one copy of a data packet per link Broadcast Center Backbone ISP LANs implement link layer multicast by broadcasting Routers keep track of groups in real-time Routers compute trees and forward packets along them 10

Multicast Service Model R 0 S [G, data] Net R 1... R n Receivers join multicast group identified by a multicast address G Sender(s) send data to address G Network routes data to each of the receivers Note: multicast is both a delivery and a rendezvous mechanism Senders don t know list of receivers For many purposes, the latter is more important than the former 11

Multicast and Layering Multicast can be implemented at different layers link layer o e.g. Ethernet multicast network layer o e.g. IP multicast application layer o e.g. End system multicast Each layer has advantages and disadvantages Link: easy to implement, limited scope IP: global scope, efficient, but hard to deploy Application: less efficient, easier to deploy [not covered] 12

Multicast Implementation Issues How is join implemented? How is send implemented? How much state is kept and who keeps it? 13

Link Layer Multicast Join group at multicast address G NIC normally only listens for packets sent to unicast address A and broadcast address B After being instructed to join group G, NIC also listens for packets sent to multicast address G Send to group G Packet is flooded on all LAN segments, like broadcast Scalability: State: Only host NICs keep state about who has joined Bandwidth: Requires broadcast on all LAN segments Limitation: just over single LAN 14

Network Layer (IP) Multicast Performs inter-network multicast routing Relies on link layer multicast for intra-network routing Portion of IP address space reserved for multicast 2 28 addresses for entire Internet Open group membership Anyone can join (sends IGMP message) o Internet Group Management Protocol Privacy preserved at application layer (encryption) Anyone can send to group Even nonmembers 15

How Would YOU Design this? 5 Minutes. 16

IP Multicast Routing Intra-domain (know the basics here) Source Specific Tree: Distance Vector Multicast Routing Protocol (DVRMP) Shared Tree: Core Based Tree (CBT) Inter-domain [not covered] Protocol Independent Multicast Single Source Multicast 17

Distance Vector Multicast Routing Protocol Elegant extension to DV routing Using reverse paths! Use shortest path DV routes to determine if link is on the source-rooted spanning tree See whiteboard.. Three steps in developing DVRMP Reverse Path Flooding Reverse Path Broadcasting Truncated Reverse Path Broadcasting (pruning) 18

Reverse Path Flooding (RPF) If incoming link is shortest path to source Send on all links except incoming Otherwise, drop s:3 s:2 s:3 s:1 s:2 Issues: (fixed with RPB) s r Some links (LANs) may receive multiple copies Every link receives each multicast packet 19

Other Problems Flooding can cause a given packet to be sent multiple times over the same link S x y a z duplicate packet b Solution: Reverse Path Broadcasting 20

Reverse Path Broadcasting (RPB) Choose single parent for each link along reverse shortest path to source Only parent forwards to child link Identifying parent links Distance Lower address as tiebreaker Parent of z on reverse path forward only to child link child link of x for S a b x S 5 6 y z 21

Even after fixing this, not done This is still a broadcast algorithm the traffic goes everywhere Need to Prune the tree when there are subtrees with no group members Networks know they have members based on IGMP messages Add the notion of leaf nodes in tree They start the pruning process 22

Pruning Details Prune (Source,Group) at leaf if no members Send Non-Membership Report (NMR) up tree If all children of router R send NMR, prune (S,G) Propagate prune for (S,G) to parent R On timeout: Prune dropped Flow is reinstated Down stream routers re-prune Note: a soft-state approach 23

Distance Vector Multicast Scaling State requirements: O(Sources Groups) active state How to get better scaling? Hierarchical Multicast Core-based Trees 24

Core-Based Trees (CBT) Pick rendevouz point for the group (called core) Build tree from all members to that core Shared tree More scalable: Reduces routing table state from O(S x G) to O(G) 25

Use Shared Tree for Delivery Group members: M1, M2, M3 M1 sends data root M1 M2 M3 control (join) messages data 26

Barriers to Multicast Hard to change IP Multicast means changes to IP Details of multicast were very hard to get right Not always consistent with ISP economic model Charging done at edge, but single packet from edge can explode into millions of packets within network 27

Packet Scheduling 28

Scheduling Decide when and what packet to send on output link Classifier partitions incoming traffic into flows In some designs, each flow has their own FIFO queue flow 1 1 Classifier flow 2 Scheduler 2 flow n Buffer management 29

Packet Scheduling: FIFO What if scheduler uses one first-in first-out queue? Simple to implement But everyone gets the same service Example: two kinds of traffic Video conferencing needs low bandwidth and low delay o E.g., 1 Mbps and 100 msec delay E-mail not sensitive to delay, but need bandwidth Cannot admit much e-mail traffic Since it will interfere with the video conference traffic 30

Packet Scheduling: Strict Priority Strict priority Multiple levels of priority Always transmit high-priority traffic, when present.. and force the lower priority traffic to wait Isolation for the high-priority traffic Almost like it has a dedicated link Except for the (small) delay for packet transmission o High-priority packet arrives during transmission of low-priority o Router completes sending the low-priority traffic first 31

Scheduling: Weighted Fairness Limitations of strict priority Lower priority queues may starve for long periods even if the high-priority traffic can afford to wait Traffic still competes inside each priority queue Weighted fair scheduling Assign each queue a fraction of the link bandwidth Rotate across the queues on a small time scale Send extra traffic from one queue if others are idle 50% red, 25% blue, 25% green 32

Max-Min Fairness Given a set of bandwidth demands r i and a total bandwidth C, the max-min bandwidth allocations are: a i = min(f, r i ) where f is the unique value such that Sum(a i ) = C Property: If you don t get full demand, no one gets more than you 33

Computing Max-Min Fairness Denote C link capacity N number of flows r i arrival rate Max-min fair rate computation: 1. compute C/N (= the remaining fair share) 2. if there are flows i such that r i C/N then update C and N C = C r i s.t r i ; N = N k (for k such flows) i C / N and go to 1 3. if not, f = C/N; terminate 34

Example C = 10; r 1 = 8, r 2 = 6, r 3 = 2; N = 3 C/3 = 3.33 Can service all of r 3 Remove r 3 from the accounting: C = C r 3 = 8; N = 2 C/2 = 4 Can t service all of r 1 or r 2 So hold them to the remaining fair share: f = 4 8 6 2 10 4 4 2 f = 4: min(8, 4) = 4 min(6, 4) = 4 min(2, 4) = 2 35

Fair Queuing (FQ) Conceptually, computes when each bit in the queue should be transmitted to attain max-min fairness (a fluid flow system approach) Then serve packets in the order of the transmission time of their last bits Allocates bandwidth in a max-min fairly 36

Example Flow 1 (arrival traffic) 1 2 3 4 5 6 time Flow 2 (arrival traffic) 1 2 3 4 5 time Service in fluid flow system 1 2 1 2 3 3 4 4 5 6 5 time Packet system 1 2 1 3 2 3 4 4 5 5 6 time 37

Fair Queuing (FQ) Provides isolation: Misbehaving flow can t impair others Could change congestion control paradigm o But not used. Doesn t solve congestion by itself: Still need to deal with individual queues filling up Generalized to Weighted Fair Queuing (WFQ) Can give preferences to classes of flows Used for quality of service (QoS) o Allocations to aggregates 38