700 likes | 705 Views
Learn about the challenges of middleboxes in computer networking and how NFV can help in consolidating and outsourcing their functionality. Explore the benefits, enablers, use cases, challenges, and real-world implementations of NFV.
E N D
15-744: Computer Networking L-12 Middleboxes and NFV
Middleboxes and NFV • Overview of NFV • Challenge of middleboxes • Middlebox consolidation • Outsourcing middlebox functionality • Readings: • ETSI Network Functions Virtualization White Paper • Design and Implementation of a Consolidated Middlebox Architecture • Optional reading • Making Middleboxes Someone Else’s Problem
Middleboxes and NFV • Overview of NFV • Challenge of middleboxes • Middlebox consolidation • Outsourcing middlebox functionality • Readings: • ETSI Network Functions Virtualization White Paper • Design and Implementation of a Consolidated Middlebox Architecture • Optional reading • Making Middleboxes Someone Else’s Problem
Vision • Why cant networking get same benefits as IT and cloud world? • Commodity hardware? • Virtualization? • Consolidation
Benefits • Reduced Capex • Reduced time to market • Elastic scaling • Targeted services • “Openness” (vendor neutrality..) • Streamlining operations
Key Enablers • Cloud + Virtualization • Commodity/high volume servers
SDN vs NFV • Complementary • SDN is all about “control” plane • NFV can happen w/o SDN • Natural allies • SDN enables orchestration, routing • NFV can be the “substrate” over which SDN runs
New use cases • Virtualized services for enterprises • Virtual CDNs • Virtualized mobile core networks • Cloud bursting • Integrate production/testing
What are the grand challenges? • High performance virtual appliances? • Isolation/coexistence • Management solutions • Fault tolerance • Vendor independence/multi-vendor
What’s missing? • What functions yield most benefits? • Can it really replace hardware acceleration? • Is virtualization necessary? • What novel services can be developed? • How much benefit is “enough” to motivate adoption?
Some references on NFV/SDN in real world • AT&T Domain 2.0 Vision White Paper • ONS 2014 Keynote: John Donovan, Senior EVP, AT&T https://www.youtube.com/watch?v=tLshR-BkIas • Verizon-Carrier Adoption of Software-defined Networking, Stuart Elby, VP, Verizon https://www.youtube.com/watch?v=WVczl03edi4
Middleboxes and NFV • Overview of NFV • Challenge of middleboxes • Middlebox consolidation • Outsourcing middlebox functionality • Readings: • ETSI Network Functions Virtualization White Paper • Design and Implementation of a Consolidated Middlebox Architecture • Optional reading • Making Middleboxes Someone Else’s Problem
Network “101” vs. Reality Traditional view: “Dumb” network Reality: Lots of in-network processing Appliances or Middleboxes:IDS, Firewall, Proxies, Load balancers….
Need for Network Evolution New applications Policy constraints Evolving threats Performance, Security, Compliance New devices
Middleboxes Galore! Data from a large enterprise Survey across 57 network operators APLOMB (SIGCOMM’13)
Middlebox management is hard! Critical for security, performance, compliance But expensive, complex and difficult to manage
Middleboxes and NFV • Overview of middleboxes and NFV • Middlebox consolidation • Outsourcing middlebox functionality • Readings: • Design and Implementation of a Consolidated Middlebox Architecture • ETSI Network Functions Virtualization White Paper • Optional reading • Making Middleboxes Someone Else’s Problem
Can NFV/SDN help middlebox management? Web Firewall IDS Proxy Centralized Controller OpenFlow Proxy IDS … Necessity and an Opportunity: Incorporate functions markets views as important
Key “pain points” Narrow interfaces Management Management Management Specialized boxes Increases capital expenses & sprawl Increases operating expenses Limits extensibility and flexibility “Point” solutions!
Outline • Motivation • High-level idea: Consolidation • System design • Implementation and Evaluation
Key idea: Consolidation Two levels corresponding to two sources of inefficiency 2. Consolidate Management Network-wide Controller 1. Consolidate Platform
Consolidation at Platform-Level Today: Independent, specialized boxes AppFilter Proxy Firewall IDS/IPS Decouple Hardware and Software Commodity hardware: e.g., PacketShader, RouteBricks, ServerSwitch, SwitchBlade Consolidation reduces capital expenses and sprawl
Consolidation reduces CapEx Multiplexing benefit = Max_of_TotalUtilization / Sum_of_MaxUtilizations
Consolidation Enables Extensibility VPN Web Mail IDS Proxy Firewall Protocol Parsers Session Management Contribution of reusable modules: 30 – 80 %
Management consolidation enables flexible resource allocation Today: All processing at logical “ingress” Process (P) Process (0.4 P) Process (0.3 P) Process (0.3 P) N3 N1 P: N1 N3 Overload! N2 Network-wide distribution reduces load imbalance
Outline • Motivation • High-level idea: Consolidation • CoMb: System design • Implementation and Evaluation
CoMb System Overview Logically centralized e.g., NOX, 4D Network-wide Controller General-purpose hardware: e.g., PacketShader, RouteBricks, ServerSwitch, Middleboxes: complex, heterogeneous, new opportunities
CoMb Management Layer Goal: Balance load across network. Leveragemultiplexing, reuse, distribution Resource Requirements Policy Constraints Routing, Traffic Network-wide Controller Processing responsibilities
Capturing Reuse with HyperApps HyperApp: find the union of apps to run HTTP: 1+2 unit of CPU 1+3 units of mem UDP: IDS IDS Proxy HTTP: IDS & Proxy NFS: Proxy common 3 4 HTTP UDP HTTP NFS Memory CPU 2 3 3 1 1 1 Memory CPU Memory CPU 4 1 Memory CPU Footprint on resource Need per-packet policy dependencies! Policy dependency are implicit
Modeling Processing Coverage HTTP: Run IDS Proxy IDS Proxy 0.4 IDS Proxy 0.3 IDS Proxy 0.3 HTTP N1 N3 N3 N1 N2 What fraction of traffic of class HTTP from N1 to N3 should each node process?
Network-wide Optimization Minimize Maximum Load, Subject to Processing coverage for each class of traffic Fraction of processed traffic adds up to 1 No explicit Dependency Policy Load on each node sum over HyperApp responsibilities per-path
Network-wide Optimization A simple, tractable linear program Very close (< 0.1%) to theoretical optimal
CoMb System Overview Logically centralized e.g., NOX, 4D General-purpose hardware: e.g., PacketShader, RouteBricks, ServerSwitch, Network-wide Controller Existing work: simple, homogeneous routing-like workload Middleboxes: complex, heterogeneous, new opportunities
CoMb Platform Applications Challenges: Performance Parallelize Isolation IDS Proxy … Core1 … Core4 Challenges: Lightweight Parallelize Policy Enforcer Policy Shim (Pshim) IDS Proxy NIC Challenges: No contention Fast classification Classification: HTTP Traffic
Parallelizing Application Instances M1 M2 M3 M2 ✔ App-per-core HyperApp-per-core M2 M3 M1 Core1 Core2 Core3 Core2 Core1 PShim PShim PShim PShim + Keeps structures core-local + Better for reuse - But incurs context-switch • Inter-core communication • More work for PShim • + No in-core context switch HyperApp-per-core is better or comparable Contention does not seem to matter!
CoMb Platform Design M1 M1 M2 M4 M4 M3 Core-local processing Workload balancing Core 1 Core 2 Core 3 M1 M5 Hyper App1 Hyper App2 Hyper App4 Hyper App3 Hyper App3 PShim PShim PShim PShim PShim Q1 Q2 Q4 Q5 Q3 NIC hardware Parallel, core-local Contention-free network I/O
Outline • Motivation • High-level idea: Consolidation • System design: Making Consolidation Practical • Implementation and Evaluation
Consolidation is Practical • Low overhead for existing applications • Controller takes < 1.6s for 52-node topology
Benefits: Reduction in Maximum Load MaxLoadToday /MaxLoadConsolidated Consolidation reduces maximum load by 2.5-25X
Benefits: Reduction in Provisioning Cost ProvisioningToday /ProvisioningConsolidated Consolidation reduces provisioning cost 1.8-2.5X
Discussion • Changes traditional vendor business • Already happening (e.g., “virtual appliances”) • Benefits imply someone will do it! • May already have extensible stacks internally! • Isolation • Current: rely on process-level isolation • Get reuse-despite-isolation?
Conclusions • Network evolution occurs via middleboxes • Today: Narrow “point” solutions • High CapEx, OpEx, and device sprawl • Inflexible, difficult to extend • Our proposal: Consolidated architecture • Reduces CapEx, OpEx, and device sprawl • Extensible, general-purpose • More opportunities • Isolation • APIs (H/W—Apps, Management—Apps, App Stack)
Middleboxes and NFV • Overview of NFV • Challenge of middleboxes • Middlebox consolidation • Outsourcing middlebox functionality • Readings: • ETSI Network Functions Virtualization White Paper • Design and Implementation of a Consolidated Middlebox Architecture • Optional reading • Making Middleboxes Someone Else’s Problem
Typical Enterprise Networks Internet
Typical Enterprise Networks Internet
Recap of middleboxes pain points • High Capital and Operating Expenses • Time Consuming and Error-Prone • Physical and Overload Failures