optimizing throughput with network coding
play

Optimizing Throughput with Network Coding Zongpeng Li, Baochun Li - PowerPoint PPT Presentation

Optimizing Throughput with Network Coding Zongpeng Li, Baochun Li Department of Electrical and Computer Engineering University of T oronto DIMACS W orking Group on Network Coding Rutgers University January 28, 2005 URL: google Baochun


  1. Optimizing Throughput with Network Coding Zongpeng Li, Baochun Li Department of Electrical and Computer Engineering University of T oronto DIMACS W orking Group on Network Coding Rutgers University January 28, 2005 URL: google “ Baochun ”

  2. Outline From practice to theory The problem of optimizing throughput A matrix of problems Does network coding really help? From theory to practice

  3. The problem of optimizing throughput ( from practice to theory )

  4. Maximizing throughput Given an existing network topology and capacities, how to maximize throughput between the source and the receivers? Past work from systems research: Digital Fountain ( SIGCOMM 98 and 02 ) : uses fountain codes to improve throughput SplitStream ( SOSP 03 ) : uses multiple multicast trees BitT orrent: responsible for a fair amount of Internet tra ffi c ( rumor: 30 %)

  5. Network Flows The problem of maximizing throughput naturally corresponds to the problem of fi nding maximum fl ow rates in a capacitied network: Single unicast session: unicommodity fl ows Multiple unicast sessions: multicommodity fl ows But a node in a realistic network can do more than simply forwarding data Replicating data for multiple downstream nodes: multicas � Encoding and decoding data: network coding

  6. topology con- respect link replicable encodable finement cap. info. flow yes yes yes yes fluid flow yes yes no no

  7. Given a source and a group of receivers, what is the maximum throughput one can achieve in a network topology with known link capacities? S S a a a b a b a+b a b a a a+b a+b R R 2 R R 2 1 1

  8. Ahlswede et al. and Koetter et al. : for a multicast communication session in a directed network, if a rate x can be achieved to each receiver independently, it can also be achieved for the entire session. S S a b a b T 2 T 1 S a+b a b a+b a+b T 2 T 1 T 2 T 1

  9. Directed vs. Undirected Networks − → − → • f ( AB ) + f ( BA ) ≤ Cap ( AB ). Bidirectional links: A more general, and “ harder ” model than directed networks Results in directed settings no longer hold: m m 0 0 1 1 m m m m 1 2 2 1 0.5 0.5 partition

  10. Fractional vs. integral routing Fractional routing: link capacities can be shared fractionally, and fl ows can be split and merged in arbitrarily fi ne scales Integral routing: all link capacities and fl ow rates have integer values

  11. S S ace12 bdf23 ab bc acde abdf ade12 adf23 bcef bc ab bcf13 bce13 ac ac R R 2 R 1 R 2 1 (b) Arbitrary fractional routing, (a) Half-integer routing, optimal throughput = 1.875. optimal throughput = 1.5.

  12. Steiner tree packing Steiner tree packing: decompose the network into weighted steiner trees, such that the total tree weight is maximized, and the capacity constraints are not violated. m 1 m 1 abcdi befgh a+b a i d c b a+b a a a a a b d a+b bdefh e f c g h a d m 0 i m 0 afghi b m 2 m 2 m 3 m 3 cefgh a a c e b g b i (a) steiner tree packing and (b) multicast with network coding. multicast without coding. The achievable optimal throughput is 1 . 8 without coding, and 2 with coding.

  13. Steiner tree packing For fractional routing, Steiner tree packing is NP - complete, with the best polynomial time approximation ratio of ~ 1.55 ( Robins et al., SODA 2000 ) . Even worse for integral routing: 26 ( Lau, FOCS 2004, unknown before this paper ) In practice, it can not be used to maximize throughput

  14. The coding advantage: the ratio of achievable throughput with network coding and that without coding ( steiner tree packing )

  15. W e have proved that [ CISS 2004 ] , in fractional or half - integral routing: The coding advantage of a single unicas � session and of a single broadcast session is one. The coding advantage of a single multicas � session is upper bounded by 2. W e have conjectured that [ Allerton 2004 ] : The coding advantage of multiple unicas � sessions ( allowing inter - session coding ) is also one.

  16. Steiner Strength Partition of the network: there exists at least one source or receiver node in each component of the partition. s min p ∈ P | E c | / ( | p | − 1) Steiner strength: P: set of all partitions re | E c | : total inter - component link capacity m 2 m 1 m 0 cefgh m 3

  17. Maximum throughput Maximum throughput: maximum information fl ow rate from a source to a group of receivers concurrently, with fractional routing W e have proved that [ CISS 2004 ] : achievable throughput with steiner tree packing maximum throughput steiner ) ≤ ) ≤ strength Both steiner tree packing and steiner strength is NP - hard Maximum throughput [ INFOCOM e ∈ P 2005 ]

  18. How to design an e ffi cient algorithm to compute the maximum throughput?

  19. Conceptual Flows The power of network coding resides in its ability to resolve competition for link capacities Rather than considering a multicast fl ow, we consider unicast fl ows from source to each of the receivers Conceptual Flows: network fl ows that co - exist in the network without contending for link capacities

  20. Conceptual Flows vs. Commodity Flows 200 Achievable throughput (Kbps) Conceptual flows 150 Commodity flows 100 50 0 2 5 10 15 20 Number of nodes in the multicast group (|M|)

  21. Orientation of a network Orientation of an undirected network is a strategy of replacing each undirected link with two directed arcs, without violating the capacity constraint: that C ( e ) C ( a 2 ) , ∀ e ∈ E . C ( a 1 ) = + a 1 orientation e u v u v a 2

  22. The cFlow LP Maximize: f ∗ Subject to: Orientation constraints: � ≤ C ( a ) ∀ a ∈ D 0 C ( a 1 ) + C ( a 2 ) C ( e ) ∀ e ∈ E = Independent network flow constraints for each conceptual flow:  f i ( a ) ≤ ∀ i ∈ [ 1 ..k ] , ∀ a ∈ D 0   f i ( a ) ≤ C ( a ) ∀ i ∈ [ 1 ..k ] , ∀ a ∈ D    f i f i ∀ i ∈ [ 1 ..k ] , ∀ v ∈ V − { m 0 , m i } i n ( v ) out ( v ) = f i i n ( m 0 ) ∀ i ∈ [ 1 ..k ]  = 0    f i out ( m i ) ∀ i ∈ [ 1 ..k ]  = 0 Equal rate constraints: f i f ∗ i n ( m i ) ∀ i ∈ [ 1 ..k ] =

  23. The Complete Solution Computing the coding strategies: polynomial time algorithm of code assignment [ Sanders e � al., SPAA 2003 ] The complete solution that achieves maximum throughput in undirected networks with a single multicast session can be computed in polynomial time, including both routing and coding strategies.

  24. Let us put it to good use Uniform Bipartite Networks: conjectured to be good candidates to show the power of coding on improving throughput C ( n, k ) : consists of the source and two layers, one with n relay nodes and the other � n � ith with receivers. Each relay node is k connected to the sender, and each receiver is connected to a di ff erent group of k relay nodes. All link capacities are one .

  25. Uniform Bipartite Networks The uniform bipartite network C (4 , 3) .

  26. cFlow LP vs. steiner tre � packing: a comparison χ ( N ) Network | V | | M | | E | χ ( N ) π ( N ) # of trees π ( N ) Fig. 1 7 3 9 2 1.875 1.067 17 C (3 , 2) 7 4 9 2 1.8 1.111 26 C (4 , 3) 9 5 16 3 2.667 1.125 1,113 C (4 , 2) 11 7 16 2 1.778 1.125 1,128 C (5 , 4) 11 6 25 4 3.571 1.12 75,524 C (5 , 2) 16 11 25 2 1.786 1.12 119,104 C (5 , 3) 16 11 35 3 – – 49,956,624

  27. Good and bad news Good news: the polytime cFlow LP is much more computationally feasible; Bad news: the coding advantage with a single multicast session in thousands of randomly chosen network topologies is one. Except for the cases of uniform bipartit � networks.

  28. Does network coding really help? It does not help much with respect to improving the maximum achievable throughput It does help to reduce the complexity of computing routing strategies

  29. Complexity: multicast with fractional routing Problem: computing maximum multicast rate in an undirected network, with fractional routing Without coding: fractional steiner tree packing, NP - complete. With coding: transform into a LP problem, P .

  30. Complexity: multicast with integral routing Problem: computing maximum multicast rate with in an undirected network, with integral routing Without coding: integral steiner tree packing, only polytime approximation known: 26 - approximation [ Lau, FOCS 2004 ] With network coding: 2 - approximation [ CISS 2004 ]

  31. Towards e ffi cient and distributed computation of the cFlow LP Performance of general LP solvers is not good, as the cFlow LP has O ( km ) number of variables and O ( km ) number of constraints, k is the number of receivers, and m is the number of links Experimented with: Interior Point method: can handle m = 1000, and k = 10 Simplex method: scalability much worse

  32. Primal cFlow LP: revisited Maximize χ Subject to: →  χ ≤ f i ( T i S ) (1) ∀ i     →  → → →  f i ( uv ) ≤ c ( uv ) uv � = (2) ∀ i, ∀ T i S  → → v ∈ N ( u ) f i ( uv ) = � v ∈ N ( u ) f i ( vu ) (3) ∀ i, ∀ u �     → →  c ( uv ) + c ( vu ) ≤ C ( uv ) ∀ uv � = T i S (4)   → → → c ( uv ) , f i ( uv ) , χ ≥ 0 , ∀ i, ∀ uv

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