Presentation is loading. Please wait.

Presentation is loading. Please wait.

Azure Accelerated Networking: SmartNICs in the Public Cloud

Similar presentations


Presentation on theme: "Azure Accelerated Networking: SmartNICs in the Public Cloud"— Presentation transcript:

1 Azure Accelerated Networking: SmartNICs in the Public Cloud
CIS 800 – lecture 3

2 Motivation – Simple Version
They have an existing system called VFP Virtual switch for Hyper-V / Azure Provides core SDN functionality for Azure networking services, including: Address Virtualization for VNET VIP -> DIP Translation for SLB ACLs, Metering, and Security Guards Uses programmable rule/flow tables to perform per- packet actions Programmed by multiple Azure SDN controllers, supports all dataplane policy at line rate with offloads

3 Motivation – Simple Version
Wanted to use Single Root IO Virtualization (SR-IOV) for performance But SR-IOV was a poor fit for what they needed Claims to be for virtualization, but doesn’t allow composition Also relies on hardware vendors for new features

4 Solution – Simple Version
Let’s just do it ourselves! Buy some programmable FPGAs (still cheaper than CPUs) Hire some hardware programmers (probably already have some)

5 What is an FPGA, Really? Field Programmable Gate Array
Chip has large quantities of programmable gates – highly parallel Program specialized circuits that communicate directly Two kinds of parallelism: Thread-level parallelism (stamp out multiple pipelines) Pipeline parallelism (create one long pipeline storing many packets at different stages) FPGA chips are now large SoCs (can run a control plane)

6 Solution – Simple Version
Let’s just do it ourselves! Buy some programmable FPGAs (still cheaper than CPUs) Hire some hardware programmers (probably already have some) Straightforward solution Mirrors trends elsewhere in the datacenter Servers and Switches configurations are custom

7 Motivation – More General
2009: 1Gbps 2012: 10Gbps 2015: 40Gbps 2017: 50Gbps Soon: 100Gbps? NIC Speed, Gbps 60 50 40 30 20 10 The network is getting faster, but CPU (at least single core) is not!

8 Silicon alternatives + + + Registers Control Unit (CU) Arithmetic Logic Unit (ALU) CPUs G/NPUs FPGAs ASICs FLEXIBILITY EFFICIENCY Moore’s law means CPUs won’t keep up with network speed

9 Silicon alternatives + + + Registers Control Unit (CU) Arithmetic Logic Unit (ALU) CPUs G/NPUs FPGAs ASICs FLEXIBILITY EFFICIENCY GPUs are great for bulk processing, but latency is not great

10 Silicon alternatives Slow to change
+ + + Registers Control Unit (CU) Arithmetic Logic Unit (ALU) CPUs G/NPUs FPGAs ASICs FLEXIBILITY EFFICIENCY Slow to change Limited to exactly what the hardware vendor is willing to provide

11 Hardware or Bust SR-IOV is a classic example of an “all or nothing” offload – its latency, jitter, CPU, performance benefits come from skipping the host entirely If even one widely-used action isn’t supported in hardware, have to fall back to software path and most of the benefit is lost even if hardware can do 99% of the work Other examples: RDMA, DPDK, … a common pattern This means we need to consider carefully how we will add new functionality to our hardware as needed over time How do we get the performance of hardware with programmability of software?

12 SmartNIC – Accelerating SDN

13

14

15


Download ppt "Azure Accelerated Networking: SmartNICs in the Public Cloud"

Similar presentations


Ads by Google