Fine-Grained Isolation for Scalable, Dynamic, Multi-tenant Edge Clouds
Yuxin Ren, Guyue Liu, Vlad Nitu, Wenyuan Shao, Riley Kennedy, Gabriel Parmer, Timothy Wood, Alain Tchana Presented by: Vlad Nitu
Fine-Grained Isolation for Scalable, Dynamic, Multi-tenant Edge - - PowerPoint PPT Presentation
Fine-Grained Isolation for Scalable, Dynamic, Multi-tenant Edge Clouds Yuxin Ren, Guyue Liu, Vlad Nitu, Wenyuan Shao, Riley Kennedy, Gabriel Parmer, Timothy Wood, Alain Tchana Presented by: Vlad Nitu Edge Cloud 40 million IoT devices in
Yuxin Ren, Guyue Liu, Vlad Nitu, Wenyuan Shao, Riley Kennedy, Gabriel Parmer, Timothy Wood, Alain Tchana Presented by: Vlad Nitu
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
2
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
3
Firewall
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
4
Memcached IDS Inference Firewall TLS Termination
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
5
Memcached IDS Inference Firewall TLS Termination
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
6
Memcached IDS Inference Firewall TLS Termination
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
7
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
8
Isolation Scalability Startup time High performance networking
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
Isolation Scalability Startup time High performance networking
9
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
Isolation Scalability Startup time High performance networking
10
→ Based on Composite microkernel OS, designed for Real-Time guarantees → High speed data movement (10Gbps+) without sacrificing isolation → Startup 170X faster than fork+exec and 84,000X faster than containers! → Scales to 1000s of services per host = 1 service per user!
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
Manages lifecycle and scheduling Defines FWP data flow Capability-based access control
Lightweight process abstraction Minimal memory footprint Recycle FWP for fast startup
FWP FWP
Mediates FWP communication Securely copies data Efficiently manages buffers
FWP FWP MMA FWP FWP
11
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
small set of kernel resources
incoming client or group of clients
12
Firewall
FWP
Https Proxy
FWP
In ring Out ring
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
sharing
with the FWP scheduler
13
Https Proxy
FWP
Firewall
FWP
Https Proxy
FWP
MMA
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
14
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
15
(1) (2) (3) (4) (5) (6) (7)
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
16
0.001 0.01 0.1 1 10 100 1000
Docker start Fire cracker fork +exec EOS create EOS activate
Start Time (ms) 521 126 1.058 0.048 0.0062
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
0.001 0.01 0.1 1 10 100 1000
Docker start Fire cracker fork +exec EOS create EOS activate
Start Time (ms) 521 126 1.058 0.048 0.0062
17
20x
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
0.001 0.01 0.1 1 10 100 1000
Docker start Fire cracker fork +exec EOS create EOS activate
Start Time (ms) 521 126 1.058 0.048 0.0062
18
170x
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
0.001 0.01 0.1 1 10 100 1000
Docker start Fire cracker fork +exec EOS create EOS activate
Start Time (ms) 521 126 1.058 0.048 0.0062
19
~105
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
2 4 6 8 10 1 2 3 4 5 6 Throughput(Gbps) Chain Length
ONVM-64 EOS-64 ONVM-1024 EOS-1024
20
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
21
5 10 15 20 25 30 400 800 1200 1600 2000 Latency (100us) #Clients
ONVM-chain ONVM-single EOS-chain EOS-single
ONVM-chain ONVM-single EOS-chain EOS-single
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
22
5 10 15 20 25 30 400 800 1200 1600 2000 Latency (100us) #Clients
ONVM-chain ONVM-single EOS-chain EOS-single
ONVM-chain ONVM-single EOS-chain EOS-single
25x
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
23
5 10 15 20 25 30 400 800 1200 1600 2000 Latency (100us) #Clients
ONVM-chain ONVM-single EOS-chain EOS-single
ONVM-chain ONVM-single EOS-chain EOS-single
2x
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
24
20 40 60 80 200 400 600 800 1000 Throughput (10K reqs/sec) #Instances EOS throughput Linux throughput
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
25
EdgeOS: Fine-Grained Isolation for Scalable, Dynamic, Multi-Tenant Edge Clouds – USENIX ATC 2020
26