What is Supervessel, and how to build your own accelerated OpenStack cloud with OpenPOWER

Yong Hua Lin, Fei K Chen, IBM China Research Laboratory H. Peter Hofstee, IBM Austin Research Laboratory & TU Delft

© 2016 OpenPOWER Foundation SuperVessel: The OpenPOWER Cloud for Developers and Ecosystem www.ptopenlab.com

OpenPOWER

• Open CPU • Big data service technology • Accelerator service • Machine learning & deep Open + High performance => learning Accelerate Innovation SPARK OpenStack • Cloud Data Service • Open Big • Open Cloud • IoT application Data Technology Technology SuperVessel Cloud development platform • POWER open source migration service • Science computation Docker, KVM • Open platform virtualization technology POWER/OpenPower Heterogeneous Computation: GPU,FPGA High performance I/O:CAPI,RDMA

2 © 2016 OpenPOWER Foundation Growth of SuperVessel in 2015/2016

Beijing Site Community Region (Nov. 2014) Collaboration with OpenPOWER Partners US Site (Nov.2015) Beijing Site Enterprise Region (Nov. 2015) • Zoomnet • Neu Cloud Oriental • Chuanghe Hangzhou Site (Aug. 2015) • Nvidia • Xilinx • Semptian • Redflag Linux • RedHadoop • Transwarp • iSoft

• ~ 80 POWER/OpenPOWER servers, ~ 50 GPUs, ~ 15 FPGAs • ~ 3000 instances daily active, and ~75% are containers

>15 partners/companies >50 universities >30 countries

• Global first public cloud provide virtualized FPGA service, normally running for 18 months at two data centers. • Support more than 10,000 user times of FPGA service. • Support more than 200 FPGA accelerator developers. • Support IBM OpenPower Dev Challenge, IBM-Xilinx Heterogeneous Computing Competition and other global events.

3 © 2016 OpenPOWER Foundation OpenPOWER Developer Challenge (supported by Supervessel)

• Supervessel is the cloud platform to support all teams/developers • Supervessel provided the leading technologies on GPU and FPGA (e.g. AccDNN), to let developers easily make innovation on heterogeneous computation cloud.

URL to participate challenge: http://openpower.devpost.com/https://www.youtube.com/watch?v=C08bfOHt3kw

4 © 2016 OpenPOWER Foundation IBM and XueTangX announced the collaboration on MOOC cloud

• On Sep.16 2016, IBM and xuetangX.com jointly announced the collaboration on online education. • XuetangX (www.xuetangx.com) is a leading MOOC platform in China, founded by Tsinghua University. Today, XuetangX has more than 1 million subscribers

5

5 © 2016 OpenPOWER Foundation Acceleration Service in SuperVessel Cloud

Accelerator developers : Application developers : Easily develop and deploy accelerator Easily use accelerator for application on cloud

Accelerator Development Accelerator Deployment

• Upload accelerator • Create VM environment with • Create accelerator FPGA acceleration

• FPGA virtualization with POWER KVM HEAT orchestrator • CAPI virtualization with Docker • GPU virtualization with Docker Compute Network Storage FPGA/GPU • RDMA-based remote FPGA&GPU acceleration

POWER8/PowerKVM/Docker • OpenStack-based accelerator service management

Acceleration Hardware

FPGA FPGA Nvidia GPU RDMA Card

6 © 2016 OpenPOWER Foundation FPGA Accelerated Applications FPGA card with accelerator inside

FPGA

AFU

IBM Supplied PSL

● Parallelism IBM CAPI ● Optimized hard pipeline PCIe CAPP E n E g n E i g n E n i g n E e n i g n E 1 e n i g n E 2 e n i g n E 3 e n i g n E 4 e n i g n 5 e n i g 6 e n i E 7 e n n 8 e g 9 i n e 5 0

Memory (Coherent)

POWER8 Core

OS

App

FPGA POWER8 Processor

7 © 2016 OpenPOWER Foundation FPGA Virtualization Stack

KVM-based Compute Node

Virtual Utilities Guest Process Machine Virtual HW Docker-basedMach inComputee Node Bitfile Modules APIs Library Openstack Applications Openstack Guest Agent Agent Virtual Guest Guest Control APIs FPGA OS Module Driver Utilities Driver Utilities Driver

Library APIs Images Library APIs Images

Hypervisor Host Control Module Host Driver Kernel Control Module / Driver …… Hardware DRAM Service Logic FPGA Hardware C A P I FPGA

Openstack-based Cloud Compute Tenant Node FPGA CPU Memory Service Logic High Bandwidth I /O Control Node Registers C D Job Queue A Compute Node Reconfig Job Scheduler Scheduler B Controller Tenant DMA Engine FPGA chip Context Controller Eth Switch DRAM Security Controller A

B r C ye A B C D la r Enhanced OpenStack D b e y u a S l User Sublayer : Shared FPGA resource e b c u i S rv e rm Service Sublayer : Job Queue , Switch, S o tf la Platform Sublayer : DRAM, PCIe, ICAP, P

8 © 2016 OpenPOWER Foundation Complicated FPGA Development Matrix

Project Management Local Github Opencore …

Program Language VHDL C/C++ Verilog OpenCL

Compile Environment Compiler Compiler Compiler

FPGA Target Board

Operation Server

9 © 2016 OpenPOWER Foundation Requirement for Fast Development Cycle

Code Target Board Code HW & Runtime Accelerated App./solution Management Selection Development Setup Publish

VHDL/Verilog

High Level Language Environment setup become bottleneck e.g. OpenCL

FPGA DevOps on SuperVessel + SDAccel cloud

FPGA Accelerator Development Cycle

10 © 2016 OpenPOWER Foundation Accelerator DevOps Architecture

UI Source Code Manager Compile and Optimize Operation Environment

Infrastructure • Hybrid resource scheduling in cloud. Source SDAccel App SDAccel • Low latency data synchronization Code Compiler Data Runtime between object storage and different Docker Docker VM. Object Storage POWER8 • Job queue design over heterogeneous FPGA cloud environment. • Unoriginal cloud design of third-party tool chain. Compute Node • Run-time status detection on Compute Node transparent VM. FPGA OpenStack FPGAFPGA Control Node

FPGA Scheduler Job Queue

SuperVessel Cloud

11 © 2016 OpenPOWER Foundation Acceleration-Enabled Spark

https://devpost.com/software/scaling-up-and-out-a-bioinformatics-algorithm T. Voicu, e.a.

12 © 2016 OpenPOWER Foundation Notices and Disclaimers

Copyright © 2016 by International Business Machines Corporation (IBM). No part of this document may be reproduced or transmitted in any form without written permission from IBM.

U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM.

Information in these presentations (including information relating to products that have not yet been announced by IBM) has been reviewed for accuracy as of the date of initial publication and could include unintentional technical or typographical errors. IBM shall have no responsibility to update this information. THIS DOCUMENT IS DISTRIBUTED "AS IS" WITHOUT ANY WARRANTY, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL IBM BE LIABLE FOR ANY DAMAGE ARISING FROM THE USE OF THIS INFORMATION, INCLUDING BUT NOT LIMITED TO, LOSS OF DATA, BUSINESS INTERRUPTION, LOSS OF PROFIT OR LOSS OF OPPORTUNITY. IBM products and services are warranted according to the terms and conditions of the agreements under which they are provided.

IBM products are manufactured from new parts or new and used parts. In some cases, a product may not be new and may have been previously installed. Regardless, our warranty terms apply.”

Any statements regarding IBM's future direction, intent or product plans are subject to change or withdrawal without notice.

Performance data contained herein was generally obtained in a controlled, isolated environments. Customer examples are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual performance, cost, savings or other results in other operating environments may vary.

References in this document to IBM products, programs, or services does not imply that IBM intends to make such products, programs or services available in all countries in which IBM operates or does business.

Workshops, sessions and associated materials may have been prepared by independent session speakers, and do not necessarily reflect the views of IBM. All materials and discussions are provided for informational purposes only, and are neither intended to, nor shall constitute legal or other guidance or advice to any individual participant or their specific situation.

It is the customer’s responsibility to insure its own compliance with legal requirements and to obtain advice of competent legal counsel as to the identification and interpretation of any relevant laws and regulatory requirements that may affect the customer’s business and any actions the customer may need to take to comply with such laws. IBM does not provide legal advice or represent or warrant that its services or products will ensure that the customer is in compliance with any law

13 © 2016 OpenPOWER Foundation Notices and Disclaimers Con’t.

Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products in connection with this publication and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. IBM does not warrant the quality of any third-party products, or the ability of any such third-party products to interoperate with IBM’s products. IBM EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

The provision of the information contained h erein is not intended to, and does not, grant any right or license under any IBM patents, copyrights, trademarks or other intellectual property right.

IBM, the IBM logo, .com, Aspera®, Bluemix, Blueworks Live, CICS, Clearcase, Cognos®, DOORS®, Emptoris®, Enterprise Document Management System™, FASP®, FileNet®, Global Business Services ®, Global Technology Services ®, IBM ExperienceOne™, IBM SmartCloud®, IBM Social Business®, Information on Demand, ILOG, Maximo®, MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower, PureAnalytics™, PureApplication®, pureCluster™, PureCoverage®, PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®, PureSystems®, QRadar®, Rational®, Rhapsody®, Smarter Commerce®, SoDA, SPSS, Sterling Commerce®, StoredIQ, Tealeaf®, Tivoli®, Trusteer®, Unica®, urban{code}®, , WebSphere®, Worklight®, X-Force® and System z® Z/OS, are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at: www.ibm.com/legal/copytrade.shtml.

14 © 2016 OpenPOWER Foundation