adaptive routing of qos constrained media streams over
play

Adaptive Routing of QoS-Constrained Media Streams over Scalable - PowerPoint PPT Presentation

Adaptive Routing of QoS-Constrained Media Streams over Scalable Overlay Topologies Gerald Fry and Richard West Boston University Boston, MA 02215 {gfry,richwest}@cs.bu.edu Computer Science Introduction Computer Science Internet growth


  1. Adaptive Routing of QoS-Constrained Media Streams over Scalable Overlay Topologies Gerald Fry and Richard West Boston University Boston, MA 02215 {gfry,richwest}@cs.bu.edu Computer Science

  2. Introduction Computer Science � Internet growth has stimulated development of real- time distributed applications � e.g., streaming media delivery, interactive distance learning, webcasting (e.g., SHOUTcast) � Peer-to-peer (P2P) systems now popular � Efficiently locate & retrieve data (e.g., mp3s) � e.g., Gnutella, Freenet, Kazaa, Chord, CAN, Pastry � To date, limited work on scalable delivery & processing of QoS-constrained data streams

  3. Objectives Computer Science � Scalable overlay networks � Devise a logical network that can support many thousands of hosts � Minimize the average (logical) hop count between nodes � Efficient delivery of data streams � Route arbitrary messages (eg., video data packets) along the overlay topology � Reduce routing latency by considering physical proximity � How can logical positions of hosts be adapted to reduce lateness with respect to deadlines?

  4. Contributions Computer Science � Focus on scalable delivery of real-time media streams � Analysis of k-ary n-cube graphs as structures for overlay topologies � Comparison of overlay routing algorithms � Dynamic host relocation in logical space based on QoS constraints � Applications: live video broadcasts, resource intensive sensor streams, data intensive scientific applications

  5. Introduction (4) Computer Science � Overview of this talk � Definition and properties of k-ary n-cube graphs � Optimization through M-region analysis � Overlay routing policies � Adaptive node relocation based on per- subscriber QoS constraints � Concluding remarks and future work

  6. Definition of k-ary n-cube Graphs Computer Science � A k-ary n-cube graph is defined by two parameters: � n = # dimensions � k = radix (or base) in each dimension � Each node is associated with an identifier consisting of n base-k digits � Two nodes are connected by a single edge iff: � their identifiers have n-1 identical digits, and � the ith digits in both identifiers differ by exactly 1 (modulo k)

  7. Properties of k-ary n-cube Graphs Computer Science � M = k n nodes in the graph � If k = 2, degree of each node is n � If k > 2, degree of each node is 2n � Worst-case hop count between nodes: � n  k/2  � Average case path length: � A(k,n) = n  (k 2 /4)  1/k � Optimal dimensionality: � n = ln M � Minimizes A(k,n) for given k and n

  8. Overlay Routing Example Computer Science � Overlay is modeled as an undirected k-ary n-cube graph � An edge in the overlay corresponds to a uni-cast path in the physical network Physical view Logical view [011] [111] A B 10 B C 1 2 8 18 C D 7 9 14 4 16 5 R1 R2 [010] A D 8 6 21 [101] F G E F 10 3 10 12 19 18 G H E H 16 [000] [100]

  9. Average Hop Count Computer Science � H(k,n): sum of the distances from any one node to every other node in a k-ary n-cube graph � Proof by induction on dimensionality, n � Base case: H(k,1) =  (k 2 /4)  � H(k,n) = H(k,n-1)k + k n-1  (k 2 /4)  � Thus, H(k,n) = k n (n  (k 2 /4)  1/k) � Avg. hop count between pairs of nodes � Given by A(k,n) = H(k,n) / k n = n  (k 2 /4)  1/k

  10. Worst-case Hop Count Computer Science � Each k-ary n-cube node is represented by a string of n digits in base k � Given two node identifiers: � A = a 1 ,a 2 ,…,a n ; B = b 1 ,b 2 ,…,b n � Distance between corresponding nodes is given by the sum of each a i – b i (modulo k) � Maximum distance in one dimension =  k/2  � Thus, the maximum path length for n dimensions = n  k/2 

  11. Logical versus Physical Hosts Computer Science � Mapping between physical and logical hosts is not necessarily one-to-one � M logical hosts � m physical hosts � For routing, we must have m <= M � Destination identifier would be ambiguous otherwise � If m < M, some logical nodes are unassigned

  12. M-region Analysis Computer Science � Hosts joining / leaving system change value of m � Initial system is bootstrapped with overlay that optimizes A(k,n) � Let M-region be range of values for m for which A(k,n) is minimized

  13. Calculating M-regions Computer Science Calculate_M-Region(int m) { i = 1; k = j = 2; while (M[i,j] < m) i++; // Start with a hypercube n = i; maxM = M[i,j]; Try to find the minA = A[i,j]; largest M such that: incj = 1; while (i > 0) { m <= M & A(k,n) is j += incj; i--; minimized if ((A[i,j] <= minA) && (M[i,j] > maxM)) { incj = 1; maxM = M[i,j]; minA = A[i,j]; n = i; k = j; } else incj = 0; } return k, n; }

  14. M-regions Computer Science 14 13 e.g., m=6500 12 k=3, n=8, M=6561 11 Value of k and n 10 9 8 k 7 n 6 5 4 3 2 1 0 9 7 1 3 2 1 1 3 9 7 3 9 7 2 4 9 2 6 8 8 4 4 4 2 3 4 8 6 2 9 0 1 4 3 2 1 5 6 7 4 2 6 9 9 7 1 2 8 5 7 3 9 1 5 7 1 5 1 4 M

  15. � Overlay Routing Computer Science � Three routing policies are investigated � Ordered Dimensional Routing (ODR) � Random Ordering of Dimensions (Random) � Proximity-based Greedy Routing (Greedy) Forward message to neighbor along logical edge with lowest cost that reduces hop-distance to destination � Experimental analysis done via simulation � 5050 routers in physical topology (transit-stub) � 65536 hosts

  16. 16D Hypercube versus 16-ary 4-cube Computer Science 100 2x16 ODR 90 2x16 Random Cumulative % of Subscribers 2x16 Greedy 80 16x4 ODR 16x4 Random 16x4 Greedy 70 60 Greedy routing up to 40% better 50 40 30 20 10 0 1 2 4 8 16 32 64 128 256 512 Delay Penalty (relative to unicast)

  17. Adaptive Node Assignment Computer Science � Initially, hosts are assigned random node IDs � Publisher hosts announce availability of channels � Super-nodes make info available to peers � Hosts subscribing to published channels specify QoS constraints (e.g., latency bounds) � Subscribers may be relocated in logical space � to improve QoS � by considering “physical proximities” of publishers & subscribers

  18. Adaptive Node Assignment (2) Computer Science Subscribe (Subscriber S, Publisher P, Depth d) { if (d == D) return; find a neighbor i of P such that i.cost(P) is maximal for all neighbors if (S.cost(P) < i.cost(P)) swap logical positions of i and S; else Subscribe (S, i, d+1); } • Swap S with node i up to D logical hops from P

  19. Simulation Results Computer Science � Randomly generated physical topology with 5050 routers � M=65536 and topology is a 16D hypercube � Randomly chosen publisher plus some number of subscribers with QoS (latency) constraints � Adaptive algorithm used with D=1 � Greedy routing performed with & without adaptive node assignment

  20. Success Ratio vs Group Size Computer Science 0.73 Adaptive Non-adaptive 0.72 0.71 Success Ratio 0.7 0.69 0.68 0.67 0.66 0.65 Can potentially 4 8 6 4 8 6 2 2 8 6 3 2 4 9 9 1 3 7 5 0 0 0 1 5 6 2 5 1 2 4 8 1 3 6 be improved Group Size � Success if routing latency <= QoS constraint, c � Success ratio = (# successes) / (# subscribers) � Adaptive node assignment shows up to 5% improvement

  21. Lateness versus Group Size Computer Science 3.5 Adaptive Average Normalized Lateness Non-adaptive 3 2.5 2 1.5 1 0.5 0 512 1024 2048 4096 8192 16384 32768 65535 Group Size � Normalized lateness = 0, if S.cost(P) <= c � Normalized lateness = (S.cost(P)-c)/c, otherwise � Adaptive method can yield >20% latency reduction

  22. Adaptive Node ID Assignment Computer Science � Initial results look encouraging � Improved performance likely if adaptation considers nodes at greater depth,D, from publishers � Expts only considered D=1 � Adaptive node assignment attempts to minimize maximum delay between publishers and subscribers

  23. Link Stress Computer Science � Previously, aimed to reduce routing latencies � Important to consider physical link stress: � Avg times a message is forwarded over a given link, to multicast info from publisher(s) to all subscribers

  24. Link Stress Simulation Results Computer Science � 16D hypercube overlay on random physical network � Randomly chosen publisher plus varying groups of subscribers � Multicast trees computed from union of routing paths between publisher and each subscriber � Measure average physical link stress: (# times message is forwarded over a link) (# unique links required to route msg to all subscribers)

  25. Lateness versus Group Size Computer Science Average Normalized Lateness 2.4 2.3 2.2 2.1 2 1.9 1.8 1.7 1.6 1.5 512 1024 2048 4096 8192 16384 32768 Group Size � Variations in lateness (for pairs of columns) due in part to random locations of subscribers relative to publisher

  26. Link Stress versus Group Size Computer Science 40 35 30 Average Link Stress 25 20 15 10 5 0 512 1024 2048 4096 8192 16384 32768 Group Size � Greedy routing performs worse as group size increases � Appears to be due to greater intersection of physical links for multicast tree (i.e. fewer physical links)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend