OpenRadio: Taking Control of Wireless

38
OpenRadio: Taking Contro of Wireless chin Katti sistant Professor &CS, Stanford University

description

OpenRadio: Taking Control of Wireless. Sachin Katti Assistant Professor EE&CS, Stanford University. Three Dissatisfied Parties. Applications. Carriers. Users. Frustrated Users. LTE. Femtocell. 3G. WiFi. - PowerPoint PPT Presentation

Transcript of OpenRadio: Taking Control of Wireless

Page 1: OpenRadio:  Taking Control of Wireless

OpenRadio: Taking Control of Wireless

Sachin KattiAssistant ProfessorEE&CS, Stanford University

Page 2: OpenRadio:  Taking Control of Wireless

Three Dissatisfied Parties

Users

Applications

Carriers

Page 3: OpenRadio:  Taking Control of Wireless

Frustrated Users

Page 4: OpenRadio:  Taking Control of Wireless

4

Paradoxically, surrounded by wireless APs (WiFi, 3G, 4G, picocells, femtocells, whitespace ….)

Femtocell 3GLTE

WiFi

Page 5: OpenRadio:  Taking Control of Wireless

5

Why cant I seamlessly connect me to the best AP available?

Femtocell 3G WiFiLTE

Page 6: OpenRadio:  Taking Control of Wireless

6

Why cant I seamlessly connect to multiple APs if I want more speed?

Femtocell 3G WiFiLTE

Page 7: OpenRadio:  Taking Control of Wireless

Applications’ Perspective

Page 8: OpenRadio:  Taking Control of Wireless

8

Femtocell 3G

LTE

WiFi

User experience with rich cloud services over mobile wireless is poor

Page 9: OpenRadio:  Taking Control of Wireless

9

Femtocell 3G

LTE

WiFi

To cope, resort to reverse engineering•Probe for bandwidth/latency•Resort to hacks (e.g. multiple TCP connections, …)

Page 10: OpenRadio:  Taking Control of Wireless

10

Femtocell 3G

LTE

WiFi

Why cant applications directly ask the network its current state, or directly request the connectivity they need?

Page 11: OpenRadio:  Taking Control of Wireless

11

Femtocell 3G

LTE

WiFi

More generally, why isn't the network a partners for apps rather than an opaque bit pipe?

• Network knows user location, connectivity, billing ….

• Well positioned to host & enhance applications

Page 12: OpenRadio:  Taking Control of Wireless

Carrier’s Perspective

Page 13: OpenRadio:  Taking Control of Wireless

Carrier’s DilemmaExponential Traffic

GrowthLimited Capacity Gains

Exponential growth + Limited spectrum/capacity gains Poor wireless connectivity

Page 14: OpenRadio:  Taking Control of Wireless

Cooper’s Law

Capacity Improvements come from increasing cell density

Page 15: OpenRadio:  Taking Control of Wireless

Capacity Dense/Chaotic Deployments

Dense Higher SNR/user Higher Capacity • Femtocells, dense WiFi

deployments etc

Page 16: OpenRadio:  Taking Control of Wireless

Dense & Chaotic Hard to Manage• Limited spectrum + Dense Intercell

Interference

• Many, chaotic cells Variable Load & Backhaul

• Operators need to dynamically manage how their traffic is routed, scheduled and encoded on a per packet level to manage inter-cell interference & variable load in a chaotic infrastructure Hard to build at scale

Page 17: OpenRadio:  Taking Control of Wireless

Everyone is Dissatisfied!Underlying Cause: Lack of controlInfrastructure does not scalably expose state– Hard or infeasible to find available APs, their speeds,

user locations, fine-grained network/load information etc

Infrastructure does not provide granular control– Hard or infeasible to granularly control traffic E2E

across all layers and network infrastructure

Page 18: OpenRadio:  Taking Control of Wireless

What does it take to…..

18

Open the wireless infrastructure to provide users, applications and carriers control over their traffic across all layers end to end across the entire infrastructure?

Page 19: OpenRadio:  Taking Control of Wireless

OpenRadio: Taking Control of WirelessWireless network architecture that provides unified software interfaces to:1.Query wireless networks about availability, quality, location, spectrum, interference …

2.Control granularly how individual user or application traffic is handled by the network across the entire stack

Page 20: OpenRadio:  Taking Control of Wireless

OpenRadio: Control InterfaceMatch/Action interface for the entire stack

Match: Identify and tag flows of individual users and/or applications

Action: Control how packets are routed, what speeds & priorities they get, and how they are scheduled/encoded at the AP

Page 21: OpenRadio:  Taking Control of Wireless

Wireless Network OS

OpenRadio: Architecture

Global Network View

Control Program

Control Program

X X Open interface to heterogeneouswireless infrastructure

3GWiFi AP

LTE

If pkt = x: forward to LTE AP

If pkt = y: forward to LTE AP and allocate speed 1Mbps

If pkt = x: schedule low priority

If pkt = y: schedule high priority and allocate 40% airtime

Page 22: OpenRadio:  Taking Control of Wireless

Wireless Network OS

E.g: Seamless Connectivity to the best APs

Global Network View

X X

3GWiFi AP

LTE

Connectivity/Mobility

Control Program

Control program to automatically route user traffic to the best available AP

Page 23: OpenRadio:  Taking Control of Wireless

Wireless Network OS

E.g: Dynamic High Speed Pipe for Video

Global Network View

Netflix/CDN

X X

3GWiFI AP

LTE

Connectivity/Mobility

Applications stitch a high speed pipe from available APs for HD video streams

Page 24: OpenRadio:  Taking Control of Wireless

Wireless Network OSGlobal Network View

CDN

X X

3GWiFI AP

LTE

Connectivity

Complex network services as pieces of software running on the network OS

Load Mgmt

Internet of Things ……

Page 25: OpenRadio:  Taking Control of Wireless

OpenRadio: Design• Data Plane: Access, backhaul & core

network– Can we build a programmable data plane

using merchant silicon?

• Control Plane: Modular software abstractions for building complex network applications–What are the right abstractions for wireless?

Page 26: OpenRadio:  Taking Control of Wireless

OpenRadio: Radio Access Dataplane

Page 27: OpenRadio:  Taking Control of Wireless

OpenRadio: Access DataplaneOpenRadio APs built with merchant DSP & ARM silicon – Single platform capable

of LTE, 3G, WiMax, WiFi

– OpenFlow for Layer 3– Inexpensive ($300-500)

Control CPU

ForwardingDataplane

Baseband &Layer 2 DSP

RF RF RF

Exposes a match/action interface to program how a flow is forwarded, scheduled & encoded

Page 28: OpenRadio:  Taking Control of Wireless

Design goals and ChallengesProgrammable wireless dataplane using off-the-shelf components– At least 40MHz OFDM-complexity performance• More than 200 GLOPS computation• Strict processing deadlines, eg. 25us ACK in WiFi

–Modularity to provide ease of programmability• Only modify affected components, reuse the rest• Hide hardware details and stitching of modules

28

Page 29: OpenRadio:  Taking Control of Wireless

Wireless BasebandsOFDM Demod

Demap(BPSK)

Deinterleave

Viterbi Decode

Descramble

CRC Check

Hdr Parse

WiFi 6mbps

Deinterleave

OFDM Demod

Demap(BPSK)

Demap(64QAM

)

WiFi 6, 54mbps

Descramble

CRC Check

Hdr Parse

Decode(1/2)

Decode(3/4)

Descramble

OFDM Demod

Demap(BPSK)

Demap(64QAM

)

Deinterleave (UEP)

Hdr Parse

CRC Check

Descramble

Hdr Parse

Deinterleave

(WiFi)Decode

(1/2)Decode

(3/4)

WiFi 6, 18mbps and UEP 29

Page 30: OpenRadio:  Taking Control of Wireless

Modular declarative interface Inserting RULESComposing ACTIONS

BlocksOFDM Demod

ADemap(BPSK)

BDemap(64QAM

)

CDeinterleav

e(WiFi)

DDeinterleave (UEP)

E

Decode(1/2)

FDecode

(3/4)G

Descramble

HCRC

CheckI

Hdr Parse

J

ABDFHIJ

AC

DG

HIJ

ACEG

HIJ

FH

J6M 54M UEP

A

B

D

F

H

I

J

6M

A

BD

FHIJ

C

G

6M, 54M

Rules: Branching logic

Dataflow

Controlflow

Actions: DAGs of blocks

Page 31: OpenRadio:  Taking Control of Wireless

State machines and deadlines• Rules and actions encode the protocol state

machine– Rules define state transitions– Each state has an associated action

• Deadlines are expressed on state sequences

31deadline

A

C

B

D

G

F

HIJ

Startdecoding

Finishdecoding

Page 32: OpenRadio:  Taking Control of Wireless

Design principle IJudiciously scoping flexibility• Provide just enough

flexibility• Keep blocks coarse

• Higher level of abstraction• High performance through

hardware acceleration– Viterbi co-processor– FFT co-processor

• Off-the-shelf heterogeneous multicore DSPs– TI, CEVA, Freescale etc.

Algorithm WiFi

LTE

3G DVB-T

FIR / IIR √ √ √ √Correlation √ √ √ √Spreading √FFT √ √ √Channel Estimation

√ √ √ √

QAM Mapping

√ √ √ √

Interleaving √ √ √ √Convolution Coding

√ √ √ √

Turbo Coding

√ √

Randomi-zation

√ √ √ √

CRC √ √ √32

Page 33: OpenRadio:  Taking Control of Wireless

Design principle IIProcessing-Decision separation• Logic pulled out to decision plane• Blocks and actions are branch-free– Deterministic execution times– Efficient pipelining, algorithmic

scheduling– Hardware is abstracted out A

B

C D

E

F

60x

33

A

BD

FHIJ

C

G

6M, 54M

Regular compilation OpenRadio schedulingInstructions Atomic processing blocksHeterogeneous functional units

Heterogeneous cores

Known cycle counts Predictable cycle countsArgument data dependency

FIFO queue data dependency

Page 34: OpenRadio:  Taking Control of Wireless

Prototype

• COTS TI KeyStone multicore DSP platform (EVM6618, two chips with 4 cores each at 1.2GHz, configurable hardware accelerators for FFT, Viterbi, Turbo)

• Prototype can process 40MHz, 108Mbps 802.11g on one chip using 3 of 4 cores 34

RF signalI/Q base-bandsamples

Antenna chain(AX)

Radio front end (RFE)Baseband-processor unit (BBU)

(Digital) (Analog)

Layer 0Layer 0 & 1Layer 1 & 2

Page 35: OpenRadio:  Taking Control of Wireless

Software architecture

Bare-metal with drivers

OR Wireless Processing Plane

deterministic signal processing blocks, header parsing, channel resource scheduling, multicore fifo queues, sample I/O blocks

OR Wireless Decision Planeprotocol state machine, flowgraph

composition, block configurations, knowledge plane, RFE control logic OR Runtime

System compute resource

scheduling, deterministic execution ensuring protocol deadlines are met

data in

data out

monitor & control

35

RFEBBU

(Digital) (Analog)

AX

Page 36: OpenRadio:  Taking Control of Wireless

OpenRadio: Current Status• OpenRadio APs with full WiFi/LTE

software on TI C66x DSP silicon• OpenRadio commodity WiFi APs with a

firmware upgrade• Network OS under development

Page 37: OpenRadio:  Taking Control of Wireless

To Conclude…OpenRadio: Taking control of wireless through SDN

Provides programmatic interfaces to monitor and program wireless networks– High performance substrate using merchant

silicon

Complex network services as software apps

Page 38: OpenRadio:  Taking Control of Wireless

Wireless Network OS

Our Vision: Virtualized Wireless Networks

AT&T Verizon

X X Open interface to heterogeneouswireless infrastructure

WiFi AP3G

LTE

Shared physical wireless infrastructure decoupled from network service