Design Principles: Hard vs Soft State

Slides:



Advertisements
Similar presentations
Spring 2000CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
Advertisements

More on protocol implementation Version walks Timers and their problems.
MANETs Routing Dr. Raad S. Al-Qassas Department of Computer Science PSUT
Copyright: RSVP The ReSerVation Protocol by Sujay koduri.
1 LINK STATE PROTOCOLS (contents) Disadvantages of the distance vector protocols Link state protocols Why is a link state protocol better?
MPLS H/W update Brief description of the lab What it is? Why do we need it? Mechanisms and Protocols.
E-ODMRP: Enhanced ODMRP with Motion Adaptive Refresh Soon Y. Oh, Joon-Sang Park, Mario Gerla Computer Science Dept. UCLA.
A General approach to MPLS Path Protection using Segments Ashish Gupta Ashish Gupta.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
RFC 2453 RIP 2 (Routing Information Protocol) Daher Kaiss.
Multicast Communication
A General approach to MPLS Path Protection using Segments Ashish Gupta Ashish Gupta.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
CIS 725 Wireless networks. Low bandwidth High error rates.
CSC 336 Data Communications and Networking Lecture 8d: Congestion Control : RSVP Dr. Cheer-Sun Yang Spring 2001.
1 3-Oct-15 Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
Overcast: Reliable Multicasting with an Overlay Network CS294 Paul Burstein 9/15/2003.
Resource Reservation Protocol (RSVP) (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot December.
1 CMPT 471 Networking II IGMP (IPv4) and MLD (IPv6) © Janice Regan,
1 Flow Identification Assume you want to guarantee some type of quality of service (minimum bandwidth, maximum end-to-end delay) to a user Before you do.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 21 – Case Studies for Multimedia Network Support (Layer 3) Klara Nahrstedt Spring 2009.
1 Mao W07 Midterm Review EECS 489 Computer Networks Z. Morley Mao Monday Feb 19, 2007 Acknowledgement: Some.
1 1-Dec-15 S Ward Abingdon and Witney College Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
On the Robustness of Soft- State Protocols John Lui, CUHK Vishal Misra, Columbia U. Dan Rubenstein, Columbia U.
Refresh Interval Independent facility FRR draft-chandra-mpls-enhanced-frr-bypass-00 Chandra Ramachandran Yakov Rekhter.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
EE 122: Integrated Services Ion Stoica November 13, 2002.
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.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Analysis on Two Methods in Ingress Local Protection.
9. Principles of Reliable Data Transport – Part 1
Packet Switching Networks & Frame Relay
Internet Networking recitation #9
Topics discussed in this section:
Inter domain signaling protocol
Introduction to Networks
Multicast Outline Multicast Introduction and Motivation DVRMP.
RSVP: A New Resource ReSerVation Protocol
Network Layer Goals: Overview:
RSVP and Integrated Services in the Internet: A Tutorial
EE 122: Lecture 16/17 (Integrated Services)
RSVP: A New Resource ReSerVation Protocol
Switching and Forwarding Bridges and Extended LANs
IP Multicast Fast Reroute follow-up on draft-dimitri-rtgwg-mfrr-framework-00 RTG Working Group IETF 75 meeting Stockholm (Sweden) July 2009.
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Transport Layer Unit 5.
Taxonomy of network applications
Congestion Control (from Chapter 05)
Switching Techniques.
Staged Refresh Timers for RSVP
Internet Networking recitation #10
Congestion Control (from Chapter 05)
Distributed Systems CS
Congestion Control (from Chapter 05)
COS 461: Computer Networks
Advanced Computer Networks
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Routing and the Network Layer (ref: Interconnections by Perlman
Congestion Control (from Chapter 05)
University of Houston Quality of Service Datacom II Lecture 3
Congestion Control (from Chapter 05)
Distance Vector Routing
Congestion Control (from Chapter 05)
Computer Networks Protocols
Computer Networks Protocols
Design and Implementation of OverLay Multicast Tree Protocol
Distributed Systems CS
Presentation transcript:

Design Principles: Hard vs Soft State Goals: identify, study common architectural components, protocol mechanisms what approaches do we find in network architectures? synthesis: big picture design principles: separation of data, control hard state versus soft state randomization indirection multiplexing network virtualization: overlays design for scale Based on slides by Don Towsley

Maintaining network state state: information stored in network nodes by network protocols updated when network “conditions” change stored in multiple nodes often associated with end-system generated call or session examples: RSVP router maintain lists of upstream sender IDs, downstream receiver reservations ATM switch maintains list of VCs: bandwidth allocation, VCI/VPI input-output mapping TCP: Sequence numbers, timer values, RTT estimates

State: senders, receivers sender: network node that (re)generates signaling (control) msgs to install, keep-alive, remove state from other other nodes receiver: node that creates, maintains, removes state based on signaling msgs received from sender

Hard-state state installed by receiver on receipt of setup msg from sender state removed by receiver on receipt of teardown msg from sender default assumption: state valid unless told otherwise in practice: failsafe-mechanisms (to remove orphaned state) in case of sender failure e.g., receiver-to-sender “heartbeat”: is this state still valid ? examples: Q.2931 (ATM Signaling) ST-II (Internet hard-state signaling) TCP [Q: retranmission of data or ACK if no activity?]

Hard-state signaling reliable signaling state removal by request Sender Install removal Receiver Signaling plane error ack Communication plane reliable signaling state removal by request requires additional error handling e.g., sender failure

Soft-state state installed by receiver on receipt of setup (trigger) msg from sender (typically, an endpoint) sender also sends periodic refresh msg: indicating receiver should continue to maintain state state removed by receiver via timeout, in absence of refresh msg from sender default assumption: state becomes invalid unless refreshed in practice: explicit state removal (teardown) msgs also used examples: RSVP, RTP, IGMP

Soft-state signaling best effort signaling Sender Receiver Install plane Communication plane best effort signaling

Soft-state signaling best effort signaling Sender Receiver Signaling plane Communication plane best effort signaling refresh timer, periodic refresh

Soft-state signaling best effort signaling Sender Receiver Signaling plane Communication plane best effort signaling refresh timer, periodic refresh state time-out timer, state removal only by time-out

Soft-state: claims “Systems built on soft-state are robust” [Raman 99] “Soft-state protocols provide .. greater robustness to changes in the underlying network conditions…” [Sharma 97] “obviates the need for complex error handling software” [Balakrishnan 99] What does this mean?

Soft-state: “easy” handling of changes Periodic refresh: if network “conditions” change, refresh will re-establish state under new conditions example: RSVP/routing interaction: if routes change (nodes fail) RSVP PATH refresh will re-establish state along new path in out L1 L2 L6 in out L3 L7 L4 in out L5 L7 L6 H2 H3 L8 L3 L2 R1 L6 L7 R2 R3 L4 H4 L1 L5 H1 unused by multicast routing What happens if L6 fails? H5

Soft-state: “easy” handling of changes L6 goes down, multicast routing reconfigures but… H1 data no longer reaches H3, H3, H5 (no sender or receiver state for L8) H1 refreshes PATH, establishes new state for L8 in R1, R3 H4 refreshes RESV, propagates upstream to H1, establishes new receiver state for H4 in R1, R3 in out L1 L2 L6 in out L1 L2 L8 in out L3 L8 L4 L7 in out L3 L7 L4 really, L7 state stays in R7 until it times out. H2 H3 L8 L3 L2 x R1 L6 L7 R2 R3 L4 H4 L1 L5 H1 H5

Soft-state: “easy” handling of changes “recovery” performed transparently to end-system by normal refresh procedures no need for network to signal failure/change to end system, or end system to respond to specific error less signaling (volume, types of messages) than hard-state from network to end-system but… more signaling (volume) than hard-state from end-system to network for refreshes

Soft-state: refreshes refresh msgs serve many purposes: trigger: first time state-installation refresh: refresh state known to exist (“I am still here”) <lack of refresh>: remove state (“I am gone”) challenge: all refresh msgs unreliable would like triggers to result in state-installation asap enhancement: add receiver-to-sender refresh_ACK for triggers e.g., see “Staged Refresh Timers for RSVP”

Signaling spectrum periodic refresh SS + reliable trigger/removal ST-II SS + explicit removal IGMPv2/v3 Soft-state Hard-state SS + reliable trigger RSVP new version best effort periodic state installation/refresh state removal by time out RSVP, IGMPv1 reliable signaling explicit state removal requires additional mechanism to remove orphan state Q2931b

How do we model/evaluate? Metrics inconsistency ratio - fraction time participating nodes disagree signaling overhead – average # of messages during session lifetime measures of robustness? convergence time complexity?

Transient Markov model Single hop model sender, receiver single state variable state lifetime, exp(m) updates – Poisson(l) timers – exponentially distributed refresh - 1/T state expiration – 1/X link: delay exp(1/D) ,loss prob. p Transient Markov model S R

Model for SS (Ji03)

Model for SS : signaling state generated at sdr, not installed at rcvr

Model for SS : signaling state generated at sdr, not installed at rcvr : signaling state consistent at sdr/rcvr

Model for SS : signaling state generated at sdr, not installed at rcvr : signaling state consistent at sdr/rcvr : signaling state inconsistent at sdr/rcvr

Model for SS : signaling state generated at sdr, not installed at rcvr : signaling state consistent at sdr/rcvr : signaling state inconsistent at sdr/rcvr : signaling state removed at sender, present at receiver

Model for SS : signaling state generated at sdr, not installed at rcvr : signaling state consistent at sdr/rcvr : signaling state inconsistent at sdr/rcvr : signaling state removed at sender, present at receiver : signaling state removed at sdr/rcvr

Model for SS : signaling state generated at sdr, not installed at rcvr : signaling state consistent at sdr/rcvr : signaling state inconsistent at sdr/rcvr : signaling state removed at sender, present at receiver : signaling state removed at sdr/rcvr

Model for SS : signaling state generated at sdr, not installed at rcvr : signaling state consistent at sdr/rcvr : signaling state inconsistent at sdr/rcvr : signaling state removed at sender, present at receiver : signaling state removed at sdr/rcvr

Performance metrics (SS) inconsistency ratio – δ = 1 – π= signaling overhead = (1+l +1/T) /m

Parameter settings Motivated by Kazaa mean lifetime – 30 min. refresh timer, T=5sec state timer, X = 15 sec update rate – 1/20sec signal loss rate – 2% Motivated by Kazaa

Impact of state lifetime inconsistency, overhead decrease as state life-time increases explicit removal improves consistency with little additional overhead

Soft-state: setting timer values Q: How to set refresh/timeout timers state-timeout interval = n * refresh-interval-timeout what value of n to choose? will determine amount of signaling traffic, responsiveness to change small timers: fast response to changes, more signaling long timers: slow response to changes, less signaling ultimately: consequence of slow/fast response, msg loss probability will dictate appropriate timer values

Impact of state timeout timer T=5s Inconsistency ration of SS+RT is optimal at the point of X=T. This is because of the following. SS+RT employs a notification mechanism in which the signaling receiver informs the sender about state removals and signaling sender recovers from a false removal by sending another trigger message. Since SS+RT is the most sensitive to the process of removing orphaned state and its notification mechanism reduces the penalty of false removal, it works best with a timeout timer value that is just slightly larger than that of the state-refresh timer. X < T : inconsistency high (premature state removal) X > 2T: increasing X  increasing inconsistency for SS, SS+ER, SS+RT (due to orphan state) X = 2T: sweet spot

Hard-state versus soft-state: discussion Q: which is preferable and why? hard state: better if message OH really high potentially greater consistency system wide coupling -> difficult to analyze soft state: robustness, shorter convergence times easily decomposed -> simpler analysis