Bertha: Tunneling Through the Network API Akshay Narayan Aurojit - - PowerPoint PPT Presentation

bertha tunneling through the network api
SMART_READER_LITE
LIVE PREVIEW

Bertha: Tunneling Through the Network API Akshay Narayan Aurojit - - PowerPoint PPT Presentation

1 Bertha: Tunneling Through the Network API Akshay Narayan Aurojit Panda Mohammad Alizadeh Hari Balakrishnan Arvind Krishnamurthy ScoB Shenker MIT, NYU, UW, UC Berkeley, ICSI Recent Developments 2 New Network Infrastructure 3 New:


slide-1
SLIDE 1

Bertha: Tunneling Through the Network API

Akshay Narayan Aurojit Panda Mohammad Alizadeh Hari Balakrishnan Arvind Krishnamurthy ScoB Shenker

MIT, NYU, UW, UC Berkeley, ICSI 1

slide-2
SLIDE 2

Recent Developments

2

slide-3
SLIDE 3

New Network Infrastructure

3

SmartNICs P4 Switches FPGAs App Routers Middleboxes Network New: ApplicaQon funcQonality in the network New: Network devices with programmable dataplane

slide-4
SLIDE 4

Architectural API

4

SmartNICs P4 Switches FPGAs App Routers Middleboxes Network APIs encode tradiQonal end-to-end semanQcs Sockets DPDK GRPC QUIC

slide-5
SLIDE 5

5

What would an API that encoded applicaQon offload semanQcs look like?

slide-6
SLIDE 6

Want: An Interface

6

Offload Implementation (P4 Sharding Implementation) Platform Configured with Offloads (Configure server for KV-store) Route Traffic through offloads (Configure SDN Control Plane)

Application Developer System Administrator Network Operator

Offload-Aware Implementation (Sharded KV-Store)

Offload Developer

Implementations declares sequence of

  • ffloads

Offload implementation and metadata

Application Offloads Today Proposeded Interface Application Developer Offload Developer

slide-7
SLIDE 7

Server A-M Shard

Offload Deployment

7 N-Z Shard Client P4 Switch SmartNIC Offload deployment scenarios

slide-8
SLIDE 8

Out-of-Band CoordinaQon

8 Server Offload Switch config + SDN policy Offload developer ApplicaQon developer Network operator System administrator

slide-9
SLIDE 9

9

What would an API that encoded applicaQon offload semanQcs look like? Our Answer: Chunnels + Bertha

slide-10
SLIDE 10

Chunnels

10

hBps:/ /upload.wikimedia.org/wikipedia/commons/c/cb/Fresque_25_ans_Eurotunnel.jpg

Best-Effort End-To-End Packets Chunnel(s) Bertha Bertha

hBps:/ /en.wikipedia.org/wiki/File:Front_of_model_of_tunnel_boring_machine_at_Milepost_31.JPG

slide-11
SLIDE 11

Chunnels

11 P4 Switch ApplicaQon

From the applicaQon’s perspecQve, in-machine and in-network offloads are the same

Bertha Chunnel

slide-12
SLIDE 12

Chunnel ProperQes

12 Best-Effort End-To-End Packets

Fallback: FuncQonality implementable by end-host applicaQon sohware

slide-13
SLIDE 13

Chunnel ProperQes

13

ApplicaQon Relevance

Fallback: Portability

slide-14
SLIDE 14

Chunnel ProperQes

14 Fallback: Portability

Composable

ApplicaQon relevance: Safety

Encrypt HTTP/2 TCP

Bertha ConnecQon

slide-15
SLIDE 15

Bertha Roles

15 P4 Switch Kernel, eBPF Bertha NegoQaQon Discovery NegoQaQon: Figure out which Chunnel implementaQons are available (e.g., eBPF, Kernel) Decide which implementaQon to use. Discovery:

Chunnels

init() / teardown() ApplicaQon Network

slide-16
SLIDE 16

NegoQaQon

16 SmartNIC Kernel, eBPF Bertha NegoQaQon Discovery ApplicaQon “I need an encrypQon Chunnel” ConsideraQons: Developer preference Offload availability Network policy “I implement encrypQon”

Encrypt

slide-17
SLIDE 17

17

Cool ImplicaQons

slide-18
SLIDE 18

Research DirecQons

18 Scheduling MulQplexing offloads between connecQons and applicaQons OpQmizaQon AutomaQc reordering/subsQtuQon of parts of the Chunnel specificaQon P4 Switch Kernel, eBPF Bertha NegoQaQon Discovery

Chunnels

init() / teardown() ApplicaQon Network

slide-19
SLIDE 19

Chunnel OpQmizaQon

19

Encrypt HTTP/2 TCP

SmartNIC EncrypQon, TCP Chunnel ImplementaQons To use these offloads, must to traverse PCIe 3x

slide-20
SLIDE 20

Chunnel OpQmizaQon

20 Reordering reduces data movement

HTTP/2 Encrypt TCP

SmartNIC EncrypQon, TCP Chunnel ImplementaQons Similar to opQmizaQons in Weld, TensorFlow, ONNX

slide-21
SLIDE 21

Client Push

21 P4 Switch Server Bertha NetAdvisor Chunnel Client

slide-22
SLIDE 22

End

22 Contact: akshayn@mit.edu P4 Switch Kernel, eBPF Bertha NegoQaQon Discovery

Chunnels

init() / teardown() ApplicaQon Network