multi commodity flow with in network processing
play

Multi-Commodity Flow with In-Network Processing Moses Charikar - PowerPoint PPT Presentation

Routing and Steering Network Design Multi-Commodity Flow with In-Network Processing Moses Charikar Yonatan Naamad Jennifer Rexford X. Kelvin Zou Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with


  1. Routing and Steering Network Design Multi-Commodity Flow with In-Network Processing Moses Charikar Yonatan Naamad Jennifer Rexford X. Kelvin Zou Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  2. Routing and Steering Network Design Outline 1 Routing and Steering 2 Network Design Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  3. Routing and Steering Network Design In-Network Processing Computer Networks are now dual-purpose. 1 Route traffic 2 Perform services Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  4. Routing and Steering Network Design In-Network Processing Computer Networks are now dual-purpose. 1 Route traffic 2 Perform services Firewalls Load balancers Video transcoders Traffic encryption/compression Etc. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  5. Routing and Steering Network Design In-Network Processing Computer Networks are now dual-purpose. 1 Route traffic 2 Perform services Firewalls Load balancers Video transcoders Traffic encryption/compression Etc. Novel uses require novel algorithms. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  6. Routing and Steering Network Design Middlebox Processing Historically, middleboxes were single purpose. Network Function Virtualization (NFV) allows for greater flexibility. Question: how do we best utilize this newfound flexibility? Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  7. Routing and Steering Network Design Our Model Given 1 A graph G modeling our network. 2 Edge capacities B e on links. 3 Processing capacities C v on vertices. 4 A collection of flow demand ( s i , t i ) pairs. Find A way to route and process as much flow as possible. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  8. Routing and Steering Network Design Our Model Given 1 A graph G modeling our network. 2 Edge capacities B e on links. 3 Processing capacities C v on vertices. 4 A collection of flow demand ( s i , t i ) pairs. Find A way to route and process as much flow as possible. Assumption: one unit of flow requires one unit of processing. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  9. Routing and Steering Network Design Routing vs. Steering Our problem has two components: Routing routes traffic between endpoints. Equivalent to Maximum Multicommodity Flow Steering steers traffic to processing nodes. Equivalent to Multi-source/sink Maximum flow We attempt to solve the joint routing and steering problem. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  10. Routing and Steering Network Design An (exponential) LP Problem admits an obvious walk-based LP D Maximize � � p i ,π i =1 π ∈ P p v Subject to p i ,π = � ∀ i ∈ 1 .. D , π ∈ P i ,π v ∈ π D � � p i ,π ≤ B e ∀ e ∈ E i =1 π ∋ e D p v � � i ,π ≤ C v ∀ v ∈ V i =1 π ∈ P p v ∀ p v i ,π ≥ 0 i ,π Problem: program size may be exponential. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  11. Routing and Steering Network Design Equivalent LP We can also write an edge-based LP Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  12. Routing and Steering Network Design Equivalent LP We can also write an edge-based LP Too big to fit on this slide. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  13. Routing and Steering Network Design Equivalent LP We can also write an edge-based LP Too big to fit on this slide. Key ideas: 1 Each flow demand gets two sets of variables: f i and w i . w i = unprocessed flow being routed f i = total flow being routed 2 w i absorbed at middleboxes, f i absorbed at terminals 3 w i is bounded by f i 4 Other constraints are standard extensions of the multicommodity flow LP. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  14. Routing and Steering Network Design Proof of Equivalence (outline) Equivalence of the two LPs is nontrivial OPT may use edges more than once. Care is required! 5 5 2 2 2 5 5 5 5 s 0 0 T 5 5 Proof outline: Cancel redundant w i and f i flows as much as possible. Argue that cycles must have some e where w i ( e ) drops. Peel off this edge and proceed Conclusion: O ( | V | · | E | · | D | ) algorithm for converting between the two LPs. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  15. Routing and Steering Network Design Multiplicative Weights Edge-based LP can get unwieldy. (1 − ǫ ) MW-based approximation in ˜ O ( dm 2 /ǫ 2 ) time. Similar to the Garg-K¨ onemann algorithm with a more elaborate update step. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  16. Routing and Steering Network Design Experiments Ran experiments on Abilene network traces Baseline: route flow first, worry about processing later Two sets of processing power distributions: All nodes get equal processing capacity A random subset of n / 2 nodes get processing capcity. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  17. Routing and Steering Network Design Experiments (absolute) Results 4000 Naive (All) LP (All) Naive (Half) LP (Half) 3000 Average Routed Flow (Mbps) 2000 1000 0 0 200 400 600 800 1000 Per-node Processing Capacity (Mbps) Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  18. Routing and Steering Network Design Experiments (ratio) Results 1 All Process Half Process 0.9 Naive-to-OPT Routing Ratio 0.8 0.7 0.6 0.5 0 200 400 600 800 1000 Per-node Processing Capacity (Mbps) Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  19. Routing and Steering Network Design Outline 1 Routing and Steering 2 Network Design Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  20. Routing and Steering Network Design Network Design We now know how to utilize middleboxes. How do we optimally place them in the first place? Middleboxes are indivisible → combinatorial problem. Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  21. Routing and Steering Network Design Network Design Given 1 An edge-capacitated graph G . 2 The set of flow demands 3 For each middlebox v , proposals and costs of installing various amounts of processing capacity Find 1 The optimal purchase plan of middlebox processing power in G . Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  22. Routing and Steering Network Design Four Key Problems Directed Undirected Budgeted Maximization Minimization Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  23. Routing and Steering Network Design Four Key Problems Directed Undirected Budgeted Maximization NP-Hard NP-Hard Minimization NP-Hard NP-Hard Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  24. Routing and Steering Network Design Four Key Problems Directed Undirected O (1) ( † ) Approximation O (log n ) Maximization Hardness O (1) O (1) O (log n ) ( ∗ ) O (log n ) ( ∗ ) Approximation Minimization Hardness O (log n ) O (log n ) Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

  25. Routing and Steering Network Design End Questions? Moses Charikar, Yonatan Naamad, Jennifer Rexford, X. Kelvin Zou Multi-Commodity Flow with In-Network Processing

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