Bob Knowledge Plane -- Scaling of the WHY App Bob Braden, ISI 24 Sept 03.

Slides:



Advertisements
Similar presentations
CSCI-1680 Network Layer: Intra-domain Routing Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Advertisements

COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
MANETs Routing Dr. Raad S. Al-Qassas Department of Computer Science PSUT
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
1 TDC TDC 365 Network Interconnections Technologies Lecture #4 Notes Spring, 2009.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #4 Mobile Ad-Hoc Networks AODV Routing.
Internet Networking Spring 2006 Tutorial 12 Web Caching Protocols ICP, CARP.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
Chapter 4 IP Multicast Professor Rick Han University of Colorado at Boulder
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #13 Web Caching Protocols ICP, CARP.
TCP/IP Lecture Extra. TCP/IP Developed by DARPA (Defense Advanced Research Projects) TCP is a connection-oriented transport protocol that sends data as.
1 IP Multicasting. 2 IP Multicasting: Motivation Problem: Want to deliver a packet from a source to multiple receivers Applications: –Streaming of Continuous.
User-level Internet Path Diagnosis R. Mahajan, N. Spring, D. Wetherall and T. Anderson.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 06/04/2007.
04/05/20011 ecs298k: Routing in General... lecture #2 Dr. S. Felix Wu Computer Science Department University of California, Davis
Lab 4 Dynamic Routing CS144 Review Session 5 October 30, 2009 Samir Selman.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
29-Aug-154/598N: Computer Networks Switching and Forwarding Outline –Store-and-Forward Switches.
More on the IP Internet Protocol. Internet Layer Process Transport layer process passes EACH TCP segment to the internet layer process for delivery Transport.
1 Internet Protocol: Forwarding IP Datagrams Chapter 7.
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #3 Mobile Ad-Hoc Networks AODV Routing.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
Carlos Rodrigo Aponte OLSRv2 High Level Overview.
SOS: Security Overlay Service Angelos D. Keromytis, Vishal Misra, Daniel Rubenstein- Columbia University ACM SIGCOMM 2002 CONFERENCE, PITTSBURGH PA, AUG.
Interest NACK Junxiao Shi, Introduction Interest NACK, aka "negative acknowledgement", is sent from upstream to downstream to inform that.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
The Network Layer Introduction  functionality and service models Theory  link state and distance vector algorithms  broadcast algorithms  hierarchical.
1 Ad Hoc On-Demand Distance Vector Routing (AODV) Dr. R. B. Patel.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
Error and Control An IP datagram travels from node to node on the way to its destination Each router operates autonomously Failures or problems may occur.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
Spring 2006CS 3321 Multicast Outline Link-state Multicast Distance-vector Multicast Protocol Independent Multicast.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
Describe basic routing concepts. Routers Interconnect Networks Router is responsible for forwarding packets from network to network, from the original.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Ad Hoc On-Demand Distance Vector Routing (AODV) ietf
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
Improving Fault Tolerance in AODV Matthew J. Miller Jungmin So.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
CIS679: RSVP r Review of Last Lecture r RSVP. Review of Last Lecture r Scheduling: m Decide the order of packet transmission r Resource configuration.
Lecture 7. Building Forwarding Tables There are several methods Static Method Dynamic Methods Centralized Distributed Distance Vector Link State.
CHAPTER 6: STATIC ROUTING Static Routing 2 nd semester
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
1 Group Communications: Reverse Path Multicast Dr. Rocky K. C. Chang 19 March, 2002.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Static Routing CCNA Routing and Switching Semester 2 Chapter 6
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
NAT – Network Address Translation
IP: Addressing, ARP, Routing
ICMP ICMP – Internet Control Message Protocol
Chapter 6 Delivery & Forwarding of IP Packets
Internet Networking recitation #12
Net 323: NETWORK Protocols
Routing: Distance Vector Algorithm
ECE 544 Protocol Design Project 2016
EE 122: Intra-domain routing: Distance Vector
Other Routing Protocols
Example 9 (Continued) 1. The first mask (/26) is applied to the destination address. The result is , which does not match the corresponding network.
Presentation transcript:

Bob Knowledge Plane -- Scaling of the WHY App Bob Braden, ISI 24 Sept 03

Bob Scaling [How] can we make KP services "scalable" (whatever that means)? –Network traffic –Processing –Storage E.g., suppose that every end system uses WHY. –This should be a good example of scaling issues in the KP To diagnose the cause of failure, typically need information that is available only in neighborhood of failure => wide-area problem.

Bob IP Path Diagnosis Consider a subset of the WHY problem: diagnosis of an IP data path: –Can S send IP datagram to D, and if not, why not? For the "cause", simply tell which node or link is broken. –Thus, ask for information currently provided by traceroute.

Bob A Simple, Analogous Scaling Problem Let’s think about a connectivity testing tool that runs in the data/control-plane (not the KP): IPdiagnose. –Operates like traceroute, hop/hop along data path. –Returns path vector: list of router hops to failure point. Want to make IPdiagnose scalable, in case all the users trigger it. Purpose: –Insight into more general KP scaling –Insight into DDC's model

Bob Possible Approaches to IPdiagnose 1.Using vanilla traceroute OH ~  Ne   Path length (number of hops)  Diagnostic frequency (WHY requests per sec per end node) Ne = number of end nodes that issue traceroutes. 2.Record-&-Return-Route (RRR) msg, processed in each router. OH ~  Ne D message S3 2 1 X S,1>D S,1,2,3>D S>D S,1,2>D

Bob Make it Scalable Lower the overhead by decreasing average path length  –Move (prior) results as close to end points as possible/practicable. This reduces the diagnostic traffic in the center of the network. –To achieve this, use: 3. "Aggregation" –If matching request for same D arrives while previous is pending, hold it and satisfy when reply comes back. 4. Demand-driven result caching –Cache results back along the path from S; –Use cached results to satisfy subsequent requests for same destination that come later.

Bob Result Caching Search messages from S gather path vector in forward direction. Return messages visit each node along return path to S and leave IPdiagnose result state there. {2,3>D} {3>D} {>D} State retained in node 1: If a later IPdiagnose S'->D reaches this node, return the path {S’,…,1, 2, 3 > D} SD3 2 1 X S,1>D S,1,2>D S,12,3>D message S'

Bob This is not quite certain… Note: cached path could be unreliable, but it generally works in the absence of policy routing. SD3 2 1 X S,1>D S,1,2>D 2’ D’

Bob More Scalability Suppose have cached state for failed path S -> D. Does this help for another path S' -> D' that shares 1, 2, 3, …? –Suppose that routing in node 3 supplies an address range Dr that contains address D. –Cached results can contain Dr. –If D’ is contained in Dr, then node 1 can use cached state {2,3>Dr} to infer broken path {1,2,3>D’}. SD3 2 1 X {2,3>Dr} {3>Dr} D’ S’ Dr

Bob Flushing the Cache New requests matching cache inhibit timeout. Some percent of matching requests will be forwarded anyway, as probe requests. A node will initiate a reverse message towards all relevant senders to adjust/remove cached state, if: –Routing changes Dr, or –A probe request finds next hop info that differs from cached path.

Bob Relation to DDC Model in KP Dest address D is the (only) variable of the “tuple” composing the request. Forwarding is not offer-based (unless next-hop routing calculation is considered an “offer”) Does not exactly match DDC's “Aggregation” story (?) –First request arrives: Don’t want to delay it to await a matching request, so cache and forward it. Is this an "aggregation"? DDC's model does not have result caching. In KP, must consider complexity caused by regions. –Sparse overlay mesh of TPs

Bob Other Approaches to IPdiagnose 4. Flooding (unconstrained diffusion) –Every diagnostic event (link-down event) is flooded out to edges, where it matches requests. –I am confused about scalability here. Intuitively this seems unscalable, but I don’t see how to justify that. Flooding cost ~ O(#links * #faults) (one per fault per link) Request cost ~ O(  * Ne ) (path length = 1)

Bob More Approaches to IPdiagnose 5. Directed Diffusion –Link state changes are flooded out towards edges in directions of significant fluxes of incoming WHY requests. –In sparse directions, use RRR messages or result- caching within the network, as discussed earlier. –This is reverse of Clark’s proposal – here the requests are creating a gradient to control the diffusion of satisfactions nearer to the users.

Bob (The End)

Bob Demand-Driven Result Caching Creates a depth-first diffusion of IPdiagnose replies, triggered by requests for the same destination that share part of the same path. Note that if path is not in fact broken, then nothing is cached and then scaling of IPdiagnose stinks.

Bob DDC’s Request Satisfaction Model Route a request hop/hop (roughly) paralleling the data path to reach a Request Satisfier (RS) near failure node F. Satisfaction: IP path vector from S to F. Recursive induction step at node K (Assume RS is in each node) : –Request "(IPFAIL, D, (S, N 1,…N n ))" arrives at node N n. –Analysis: “S cannot send datagrams to D, but packets from S to D reach me.. The next-hop node towards D from is N n+1. I will test whether I can get to N n+1 and, if so, pass request "(IPFAIL, D, (S, N 1, … N n+1 ) along to it. If not, I will return path vector (S, N 1, … N n ) back to S."

Bob DDC’s Model … More complex version of model: take into account the region structure of Internet. E.g., RS per region. Request arrives at RSn; induction step of analysis is: “Packets from S to D reach my (entry) edge node E n.” “I have evidence that packets are flowing from En to my appropriate (exit) edge node E’ n. The next-hop RS, in the next AS along the data path towards D, is RS n+1 and the next hop towards D from E’ n is E n+1. I will test whether I can get to E n+1, and if so, pass this request along to RS n+1, else I will return path vector (S, N 1, … E n, … E’ n ) to S.”

Bob Result Caching … general case X ||S|| Any source S  ||S|| uses the broken link to reach any D  ||D|| ||D|| Infer ||D|| from routing, Store information about broken link to ||D|| near every S  ||S|| INTERNET