OpenRadio A programmable wireless dataplane Manu Bansal Stanford University Joint work with Jeff Mehlman, Sachin Katti, Phil Levis HotSDN ‘12, August 13,

Slides:



Advertisements
Similar presentations
Texas Instruments Delivers End-to-End WiMAX Infrastructure Solution Embargo Date: February 27,
Advertisements

Final Year Project Presentation FYP 08 Arsalan Tariq Mir Saad Najeeb Syed Ammar Faheem.
© Chinese University, CSE Dept. Software Engineering / Software Engineering Topic 1: Software Engineering: A Preview Your Name: ____________________.
Making Cellular Networks Scalable and Flexible Li Erran Li Bell Labs, Alcatel-Lucent Joint work with collaborators at university of Michigan, Princeton,
Software Defined Networking COMS , Fall 2013 Instructor: Li Erran Li SDNFall2013/
Digital Signal Processing and Field Programmable Gate Arrays By: Peter Holko.
Overview.  UMTS (Universal Mobile Telecommunication System) the third generation mobile communication systems.
Mahapatra-Texas A&M-Fall'001 cosynthesis Introduction to cosynthesis Rabi Mahapatra CPSC498.
1 SODA: A Low-power Architecture For Software Radio Yuan Lin 1, Hyunseok Lee 1, Mark Woh 1, Yoav Harel 1, Scott Mahlke 1, Trevor.
11 1 The Next Generation Challenge for Software Defined Radio Mark Woh 1, Sangwon Seo 1, Hyunseok Lee 1, Yuan Lin 1, Scott Mahlke 1, Trevor Mudge 1, Chaitali.
® The Bluetooth Architecture APIs, L2CAP, Link Management, Baseband, and the Radio.
Architectural Design Establishing the overall structure of a software system Objectives To introduce architectural design and to discuss its importance.
SoftRAN : Software Defined RAN
OpenRadio: Taking Control of Wireless Sachin Katti Assistant Professor EE&CS, Stanford University.
The Origin of the VM/370 Time-sharing system Presented by Niranjan Soundararajan.
Fabrizio Granelli FP7 PACE Project Workshop on "Path Computation Element and beyond: innovating control and management functions.
GallagherP188/MAPLD20041 Accelerating DSP Algorithms Using FPGAs Sean Gallagher DSP Specialist Xilinx Inc.
Viterbi Decoder Project Alon weinberg, Dan Elran Supervisors: Emilia Burlak, Elisha Ulmer.
- 1 - A Powerful Dual-mode IP core for a/b Wireless LANs.
Enabling Innovation Inside the Network Jennifer Rexford Princeton University
Composing Software Defined Networks Jennifer Rexford Princeton University With Joshua Reich, Chris Monsanto, Nate Foster, and.
Development in hardware – Why? Option: array of custom processing nodes Step 1: analyze the application and extract the component tasks Step 2: design.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
Bilal Saqib. Courtesy: Northrop Grumman Corporation.
Software-Defined Networks Jennifer Rexford Princeton University.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
RICE UNIVERSITY Implementing the Viterbi algorithm on programmable processors Sridhar Rajagopal Elec 696
Network Coding Testbed Jeremy Bergan, Ben Green, Alex Lee.
The GNU in RADIO Shravan Rayanchu. SDR Getting the code close to the antenna –Software defines the waveform –Replace analog signal processing with Digital.
Design and Implementation of a Multi-Channel Multi-Interface Network Chandrakanth Chereddi Pradeep Kyasanur Nitin H. Vaidya University of Illinois at Urbana-Champaign.
ASIP Architecture for Future Wireless Systems: Flexibility and Customization Joseph Cavallaro and Predrag Radosavljevic Rice University Center for Multimedia.
Developing a SDR Testbed Alex Dolan Mohammad Khan Ahmet Unsal Project Advisor Dr. Aditya Ramamoorthy.
The Case of Software Defined Radio with MSRA (work-in-progress) Yongguang Zhang with Kun Tan, Fan Yang, Jiansong Zhang, Haitao Wu, Chunyi Peng, Songwu.
Ger man Aerospace Center Gothenburg, April, 2007 High Spectral Efficient and Flexible Next Generation Mobile Communications Simon Plass, Stephan.
COST289 14th MCM Towards Cognitive Communications 13 April Towards Cognitive Communications A COST Action Proposal Mehmet Safak.
TI DSPS FEST 1999 Implementation of Channel Estimation and Multiuser Detection Algorithms for W-CDMA on Digital Signal Processors Sridhar Rajagopal Gang.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
RICE UNIVERSITY “Joint” architecture & algorithm designs for baseband signal processing Sridhar Rajagopal and Joseph R. Cavallaro Rice Center for Multimedia.
PADS Power Aware Distributed Systems Architecture Approaches USC Information Sciences Institute Brian Schott, Bob Parker UCLA Mani Srivastava Rockwell.
Field Programmable Port Extender (FPX) 1 Modular Design Techniques for the FPX.
Doc.: IEEE /0909r0 Submission July 2012 Jong S. Baek, AlereonSlide 1 Analysis, simulation and resultant data from a 6-9GHz OFDM MAC/PHY Date:
Philips Research r0-WNG 1 / 23 IEEE session Hawaii November 2002 Alexei Gorokhov, Paul Mattheijssen, Manel Collados, Bertrand Vandewiele,
System-level power analysis and estimation September 20, 2006 Chong-Min Kyung.
Silberschatz, Galvin and Gagne  Operating System Concepts UNIT II Operating System Services.
RICE UNIVERSITY DSPs for future wireless systems Sridhar Rajagopal.
Implementing algorithms for advanced communication systems -- My bag of tricks Sridhar Rajagopal Electrical and Computer Engineering This work is supported.
June, 1999©Vanu, Inc. Vanu Bose Vanu, Inc. Programming the Physical Layer in Wireless Networks.
SR: 599 report Channel Estimation for W-CDMA on DSPs Sridhar Rajagopal ECE Dept., Rice University Elec 599.
Why PHY Really Matters Hari Balakrishnan MIT CSAIL August 2007 Joint work with Kyle Jamieson and Ramki Gummadi.
1 Architecture and Behavioral Model for Future Cognitive Heterogeneous Networks Advisor: Wei-Yeh Chen Student: Long-Chong Hung G. Chen, Y. Zhang, M. Song,
CSE331: Introduction to Networks and Security Lecture 2 Fall 2002.
1 Wireless Networks Lecture 21 WCDMA (Part I) Dr. Ghalib A. Shah.
Introduction to OFDM and Cyclic prefix
Communication Protocol Engineering Lab. A Survey Of Converging Solutions For Heterogeneous Mobile IEEE Wireless Communication Magazine December 2014 Minho.
1 Modeling Considerations for the Hardware-Software Co-design of Flexible Modern Wireless Transceivers Benjamin Drozdenko, Matthew Zimmermann, Tuan Dao,
RT-OPEX: Flexible Scheduling for Cloud-RAN Processing
Baseband Platforms - Architecture
NFV Compute Acceleration APIs and Evaluation
University of Maryland College Park
High-Level Hardware-Software Co-design of an 802
Dynamo: A Runtime Codesign Environment
Embedded Systems Design
Texas Instruments TDA2x and Vision SDK
Parallel Algorithm Design
Hierarchical Architecture
Introduction to cosynthesis Rabi Mahapatra CSCE617
Software Defined Networking (SDN)
Enabling Innovation Inside the Network
Outline Chapter 2 (cont) OS Design OS structure
Control-Data Plane Separation
Presentation transcript:

OpenRadio A programmable wireless dataplane Manu Bansal Stanford University Joint work with Jeff Mehlman, Sachin Katti, Phil Levis HotSDN ‘12, August 13, 2012, Helsinki, Finland

Opening up the radio What? Flexible radio stack Deployable performance Convenient programming Why? Evolving protocols Diverse applications Network growth and Diverse scenarios How? Decouple functionality and HW Judicious split of protocols High-level abstractions 2

MOTIVATION 3

Evolving standards Major 3GPP LTE releases every 18 months Continuous minor updates Old standards don’t die – Multi-mode basestation radios Can we deploy once and keep updating? Decoupled protocol definition Programmable dataplane substrate 4

Application diversity Can do better than one-size-fits-all radio stack – Eg. Unequal error protection (UEP) for video LTE specifies several traffic classes – How do I implement them? – Future traffic classes? How about a programmable infrastructure? 5

Network growth & scenario diversity Reducing cell-sizes to meet capacity demands – Smaller macro-cells  less users per cell – Picocells (open), femtocells (closed) just thrown in – Interference dominates, mobility is harder How can we make basestations coexist? – Dynamic scenario-specific adaptation – Decoupled control plane, programmable dataplane ` ` 6

Design goals and challenges Programmable wireless dataplane – Customize remotely after deployment – At least 20MHz OFDM-complexity performance More than 100 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 – Built using off-the-shelf components 7

PROGRAMMING ABSTRACTIONS 8

Wireless programming OFDM 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, 54mbps and UEP 9

Modular declarative interface Modular library of blocks OFDM Demod A Demap (BPSK) B Demap (64QAM) C Deinterleave (WiFi) D Deinterleave (UEP) E Decode (1/2) F Decode (3/4) G Descramble H CRC Check I Hdr Parse J A B D F H I J A C D G H I J A C E G H I J F H J 6M54M UEP A B D F H I J 6M A B D F H I J C G 6M, 54M Declaring Rules: Branching logic Data flow Control flow Composing Actions: DAGs of blocks 10

DESIGN PRINCIPLES 11

Design principle I Judicious scoping of flexibility Provide coarse-grained blocks – FFT block, Viterbi decoder block Configurable parameters – FFT length, Trellis structure Just enough flexibility Higher level of abstraction High performance through hardware acceleration – Viterbi co-processor – FFT co-processor Off-the-shelf hardware – Heterogeneous multicore DSPs – TI, CEVA, Freescale etc. AlgorithmWiFiLTE3GDVB-T FIR / IIR√√√√ Correlation√√√√ Spreading√ FFT√√√ Channel Estimation √√√√ QAM Mapping√√√√ Interleaving√√√√ Convolution Coding √√√√ Turbo Coding√√ Randomi- zation √√√√ CRC√√√ 12

Design principle II Decision-processing separation Logic pulled out to decision plane SW Branch free actions in the processing plane SW Deterministic execution times for blocks/actions Algorithmic schedule with pipelining – Analogous to instruction scheduling – Blocks = Instructions, Actions = Loops Meet deadlines reliably (or deduce infeasibility) Abstract away the hardware A B C D E F 60x A B D F H I J C G 6M, 54M 13

PRELIMINARY IMPLEMENTATION 14

Prototype Off-the-shelf TI KeyStone multicore DSP platform (EVM6618, two chips with 4 cores each at 1.2GHz) Configurable hardware accelerators for common, heavy processing blocks (eg. FFT, Viterbi, Turbo) USRP2 for RF conversion, I/Q sample stream Prototype can process 2 x 20MHz, 54Mbps – Room left for implementing variations and optimizations RF signal I/Q base- band samples Antenna chain(AX) Radio front end (RFE) Baseband-processor unit (BBU) (Digital) (Analog) Layer 0 Layer 0 & 1 Layer 1 & 2 15

OpenRadio architecture Controller High Level Interface to control physical infrastructure 16

Related work OpenRadio is not a software radio – Judicious tradeoff between flexibility of pure software and performance of ASICs OpenRadio is not a protocol stack, it is an enabler – Eg. LTE can be implemented conveniently with OpenRadio 17

Conclusion A programmable wireless dataplane – Rich programming interface for wireless radios – Principled design for efficient implementation – Built using off-the-shelf components Unique balance of flexibility, performance and modularity Thanks! Questions? snsg.stanford.edu/openradio 18

BACKUP SLIDES 19

Challenges Can these programming abstractions be implemented efficiently? – more than 100Gflops Can we meet processing deadlines reliably? – as tight as 25us for 2ms computation run 20

Design limitations Design works well for bulk of computation coming from processing plane Heavy decision-planes will cause performance bottlenecks and inefficient hardware use Model assumes processing/decision separation is meaningful, blocks are small Logic-heavy blocks or heavily sequential, indecomposable blocks will not execute well on multi-core platforms 21

More Related work An SDN approach to wireless radios Same goals but different challenges – Heavy computational load – Strict deadlines OpenRadio is not a software radio – Judicious tradeoff between flexibility of pure software and performance of ASICs Design is not tied to a specific hardware – Can implement on an FPGA or a desktop machine – Net performance is a function of hardware capabilities – Heterogeneous multicore platform is one good fit OpenRadio is not a protocol stack, it is an enabler – Eg. LTE can be implemented conveniently with OpenRadio 22

Rule-action programming model Protocols can be tied together using “rules” and “actions” Actions are DAGs of processing plane blocks Rules define the logic to conditionally pick DAGs Rule: if (data packet and wifi_6mbps) Action: BPSK and 1/2 rate Rule: if (data packet and CRC match) Action: Send ACK Rule: if (video packet) Action: UEP decoding 23

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 deadline A C B D G F H I J Start decoding Finish decoding 24

State machines and deadlines State_HeaderDecode (S_HD): Action HeaderDecode Rule: if (data packet) transition to State_DataDecode (S_DD) [Deadline: finishing S_DD by Deadline_DD from now] Rule: if (video_packet) transition to State_VideoDecode (S_VD) [Deadline: finishing S_VD ASAP] 25

Scheduling problem correspondence Deterministic execution times for blocks/actions Efficient pipelining, algorithmic scheduling A B C D E F 60x Regular compilationOpenRadio scheduling InstructionsAtomic processing blocks Heterogeneous functional unitsHeterogeneous cores Known cycle countsPredictable cycle counts Argument data dependencyFIFO queue data dependency 26

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 Plane protocol 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 RFEBBU (Digital) (Analog) AX 27

Anticipated questions What about the UE side? – UE side evolves much faster and incrementally Mostly talked about PHY. Is it just about PHY? – The dataplane refers to both PHY and MAC. In fact, the boundary between PHY and MAC does not exist for the dataplane. They are both made up of processing blocks and decision logic. An example for MAC is the decomposition of channel scheduler – the decision plane involves finding the mapping of data to channel resources, the processing plane operation is to actually map data into its correct resource block. Our ongoing work includes studying concrete cases, design of interfaces best suited to MAC and the balance between processing and decision plane loads. Goal is cellular basestations but you study WiFi? – Yes. WiFi has similar computation requirements being 20MHz OFDM/54Mbps and much more stringent deadlines (25us) than LTE or WiMAX. Though solving WiFi does not imply solving LTE, it is a strong proof of concept. What is the unit of data on which the blocks operate? – Blocks generally have a natural granularity of operation, for example, an OFDM symbol worth of data (FFT works on full symbol as the smallest unit). Smaller data units mean smaller pipeline latencies. You can always increase the data unit size in multiples of the smallest unit, if your latency budget permits. 28