SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Downloaden Sie, um offline zu lesen
Christoforos Kachris, Elias Koromilas, Ioannis Stamelos, Dimitrios Soudris
kachris@microlab.ntua.gr
ICCS-National Technical University of Athens
ARC 2018, Santorini
Seamless FPGA deployment over Spark in cloud
computing: A use case on machine learning
hardware acceleration
www.vineyard-h2020.eu
Network traffic in the data centers
2
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
Power consumption in the data centers
3
• Currently Data
Centers consume
huge amounts of
energy
• Servers consume
around 30% of the
total power budget of
the IT infrastructure
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
Diverse Data Center Demands
4
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
FPGAs at the spotlight
5
April 2015
Submission of VINEYARD proposal
2015
2016
2017
December 2016
Overall, Intel now has five different AI
platforms; FPGAs, the Xeon Phi, the
Nervana NNP, the Myriad X, and its
traditional Core processor. The Core
processor still performs most AI tasks.
www.vineyard-h2020.eu
FPGAs in the news
Christoforos Kachris, ICCS, Greece 6
www.vineyard-h2020.eu
FPGAs in Data Center
• Intel: “Two orders of magnitude faster than GPU by 2020”
($16.7 billion bet)
Broadwel Xeon with Arria 10
• Microsoft Bing with Altera Stratix V
• IBM SupperVessel with Power8 + Xilinx
• Xilinx SDAccel on Nimbix Cloud
• Google has released TPU only for Tensorflow – ISCA 2017
7
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
Machine learning market size
• The machine learning market
size is expected to grow from
USD 1.41 Billion in 2017 to
USD 8.81 Billion by 2022, at a
Compound Annual Growth
Rate (CAGR) of 44.1%.
https://www.marketsandmarkets.com/PressReleas
es/machine-learning.asp
Christoforos Kachris, ICCS, Greece 8
www.vineyard-h2020.eu
Machine learning as a service
Christoforos Kachris, ICCS, Greece 9
www.vineyard-h2020.eu
Apache Spark
The largest open source project in
data processing.
• Structured Data
• Streaming Analytics
• Machine Learning
• Graph Computation
Provides an interface for
programming entire clusters with
implicit data parallelism and fault-
tolerance.
10
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
Contributions
• The FPGA driver API is packed in a shared object library and
can be used in a transparent way hiding all the low level
details.
• We implemented top level APIs in Python for standalone and
Apache Spark integrated use, that are easy to be used and are
also easily maintained since the middle layer, our shared
library remains the same for all of the above.
Christoforos Kachris, ICCS, Greece 11
www.vineyard-h2020.eu
System stack
• Application Layer: This layer
hosts users’ applications. The
applications can run natively
using Python.
• Vineyard Layer: This layer hosts
the whole functionality of our
framework. The key element of
this layer is the implemented
shared library
• SDSoC-HLS API and FPGA
layerhared library
Christoforos Kachris, ICCS, Greece 12
www.vineyard-h2020.eu
Flow for data movement - RDDS
• Flow of the original
and optimized
method for the
DMA transfers to
the accelerator
Christoforos Kachris, ICCS, Greece 13
www.vineyard-h2020.eu
Use case: K-means clustering
Christoforos Kachris, ICCS, Greece 14
www.vineyard-h2020.eu
Evaluation platforms
Christoforos Kachris, ICCS, Greece 15
www.vineyard-h2020.eu
Pynq: Python Productivity for Zynq
• An open-source project from Xilinx that
makes it easy to design embedded
systems with Zynq MPSoCs.
• The APSoC is programmed using
Python.
• The code is developed and tested
directly on the PYNQ-Z1 board.
• The programmable logic circuits are
imported as hardware libraries and
programmed through their APIs in
essentially the same way as the
software libraries.
16
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
Spark integration on Heterogeneous MPSoC
17
K-means clustering
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
Spynq: Spark on Pynq integration
18
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
Speedup
Christoforos Kachris, ICCS, Greece 19
www.vineyard-h2020.eu
Energy consumption
• Intel Xeon vs Pynq
cluster
• ARM vs Pynq cluster
Christoforos Kachris, ICCS, Greece 20
www.vineyard-h2020.eu
Available on github
21
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
Cluster of Zynq (Pynq devices) running Spark
22
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
SW on Intel Xeon
23
Accel on FPGA MPSoC
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu
VINEYARD Framework
24
• Accelerators stored
in an AppStore
• Cloud users request
accelerators based
on applications
requirements
• Decouple Hardware
– Software
designers
Cloud computing Applications
VINEYARD Cloud Resource Manager
3rd party IP
developersLibrary of Hardware
accelerators as IP
Blocks
Heterogeneous Data Center
DFE
Processors Dataflow Proc.+FPGA
IP Accelerator’s
App store
Cloud tenants
Acc
Acc
Acc
Acc
DFE
DFE
DFE
Accelerator Controller
Accelerator Virtualization
Scheduler
Accelerator API
Performance
Energy
Christoforos Kachris, ICCS, Greece
www.vineyard-h2020.eu 25
www.vineyard-h2020.eu
Consortium
26
Platform Evaluator
Data Centre Vendor
System Vendor (Dataflow Eng.)
System Software
Programming framework &
Hardware accelerators
Data Centre
Software developers
Data Centre End User
www.vineyard-h2020.eu
VINEYARD appears in Xilinx’s website
27
www.vineyard-h2020.eu
Ecosystem on FPGAs in the cloud
Christoforos Kachris, ICCS, Greece 28
www.vineyard-h2020.eu
Main goals
VINEYARD AIMS TO
• Build an integrated platform for energy-efficient data
centres based on novel programmable hardware
accelerators
• Develop a high-level programming framework and big
data infrastructure for allowing end-users to seamlessly
utilize these accelerators in heterogeneous computing
systems by employing typical data-centre programming
frameworks (i.e. Spark.).
• VINEYARD also foster the establishment of an
ecosystem that will empower open innovation based on
hardware accelerators as data-centre plugins for
marketplace, thereby facilitating innovative enterprises
(large industries, SMEs, and creative start-ups) to
develop novel solutions using VINEYARDS’s leading
edge developments.
29
Christoforos Kachris, ICCS, Greece
• Speedup your application seamlessly
• An integrated framework for the utilization of hardware
accelerators in HPC and data center seamlessly
Contact detais: kachris@microlab.ntua.gr

Weitere ähnliche Inhalte

Was ist angesagt?

“Vitis and Vitis AI: Application Acceleration from Cloud to Edge,” a Presenta...
“Vitis and Vitis AI: Application Acceleration from Cloud to Edge,” a Presenta...“Vitis and Vitis AI: Application Acceleration from Cloud to Edge,” a Presenta...
“Vitis and Vitis AI: Application Acceleration from Cloud to Edge,” a Presenta...
Edge AI and Vision Alliance
 
Introducing the Vitis Unified Software Platform for Programming FPGAs
Introducing the Vitis Unified Software Platform for Programming FPGAsIntroducing the Vitis Unified Software Platform for Programming FPGAs
Introducing the Vitis Unified Software Platform for Programming FPGAs
inside-BigData.com
 
HPC Midlands Update for HPC-SIG July 2013
HPC Midlands Update for HPC-SIG July 2013HPC Midlands Update for HPC-SIG July 2013
HPC Midlands Update for HPC-SIG July 2013
Martin Hamilton
 
Dublin_sellsheet_final
Dublin_sellsheet_finalDublin_sellsheet_final
Dublin_sellsheet_final
Rich Schaedler
 

Was ist angesagt? (20)

FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...
FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...
FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...
 
“Vitis and Vitis AI: Application Acceleration from Cloud to Edge,” a Presenta...
“Vitis and Vitis AI: Application Acceleration from Cloud to Edge,” a Presenta...“Vitis and Vitis AI: Application Acceleration from Cloud to Edge,” a Presenta...
“Vitis and Vitis AI: Application Acceleration from Cloud to Edge,” a Presenta...
 
HNSciCloud Overview
HNSciCloud OverviewHNSciCloud Overview
HNSciCloud Overview
 
Mana sdn
Mana sdnMana sdn
Mana sdn
 
Big & Open Data: Challenges for Smartcity
Big & Open Data:  Challenges for SmartcityBig & Open Data:  Challenges for Smartcity
Big & Open Data: Challenges for Smartcity
 
EPCC MSc industry projects
EPCC MSc industry projectsEPCC MSc industry projects
EPCC MSc industry projects
 
IBM Cloud & Helix Nebula
IBM Cloud & Helix NebulaIBM Cloud & Helix Nebula
IBM Cloud & Helix Nebula
 
FloraHolland
FloraHolland FloraHolland
FloraHolland
 
HNSciCloud Phase 1 Award
HNSciCloud Phase 1 AwardHNSciCloud Phase 1 Award
HNSciCloud Phase 1 Award
 
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
 
IoT Slam Keynote: Harnessing the Flood of Data with Heterogeneous Computing a...
IoT Slam Keynote: Harnessing the Flood of Data with Heterogeneous Computing a...IoT Slam Keynote: Harnessing the Flood of Data with Heterogeneous Computing a...
IoT Slam Keynote: Harnessing the Flood of Data with Heterogeneous Computing a...
 
Introducing the Vitis Unified Software Platform for Programming FPGAs
Introducing the Vitis Unified Software Platform for Programming FPGAsIntroducing the Vitis Unified Software Platform for Programming FPGAs
Introducing the Vitis Unified Software Platform for Programming FPGAs
 
Open Source Edge Computing Platforms - Overview
Open Source Edge Computing Platforms - OverviewOpen Source Edge Computing Platforms - Overview
Open Source Edge Computing Platforms - Overview
 
SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...
SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...
SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...
 
HPC Midlands Update for HPC-SIG July 2013
HPC Midlands Update for HPC-SIG July 2013HPC Midlands Update for HPC-SIG July 2013
HPC Midlands Update for HPC-SIG July 2013
 
SIG-Special Interest Group in Cloud Computing
SIG-Special Interest Group in Cloud Computing SIG-Special Interest Group in Cloud Computing
SIG-Special Interest Group in Cloud Computing
 
Helix Nebula Phase 1
Helix Nebula Phase 1Helix Nebula Phase 1
Helix Nebula Phase 1
 
Hybrid cloud for science
Hybrid cloud for science Hybrid cloud for science
Hybrid cloud for science
 
Dublin_sellsheet_final
Dublin_sellsheet_finalDublin_sellsheet_final
Dublin_sellsheet_final
 
End-to-End Big Data AI with Analytics Zoo
End-to-End Big Data AI with Analytics ZooEnd-to-End Big Data AI with Analytics Zoo
End-to-End Big Data AI with Analytics Zoo
 

Ähnlich wie Seamless FPGA deployment over Spark in cloud computing: A use case on machine learning hardware acceleration

Are you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the networkAre you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the network
Megan O'Keefe
 

Ähnlich wie Seamless FPGA deployment over Spark in cloud computing: A use case on machine learning hardware acceleration (20)

Supermicro AI Pod that’s Super Simple, Super Scalable, and Super Affordable
Supermicro AI Pod that’s Super Simple, Super Scalable, and Super AffordableSupermicro AI Pod that’s Super Simple, Super Scalable, and Super Affordable
Supermicro AI Pod that’s Super Simple, Super Scalable, and Super Affordable
 
Ovh analytics data compute with apache spark as a service meetup ovh bordeaux
Ovh analytics data compute with apache spark as a service   meetup ovh bordeauxOvh analytics data compute with apache spark as a service   meetup ovh bordeaux
Ovh analytics data compute with apache spark as a service meetup ovh bordeaux
 
OVH Analytics Data Compute - Apache Spark Cluster as a Service
OVH Analytics Data Compute - Apache Spark Cluster as a ServiceOVH Analytics Data Compute - Apache Spark Cluster as a Service
OVH Analytics Data Compute - Apache Spark Cluster as a Service
 
How to scale your PaaS with OVH infrastructure?
How to scale your PaaS with OVH infrastructure?How to scale your PaaS with OVH infrastructure?
How to scale your PaaS with OVH infrastructure?
 
Implementing AI: High Performace Architectures
Implementing AI: High Performace ArchitecturesImplementing AI: High Performace Architectures
Implementing AI: High Performace Architectures
 
FPGA Hardware Accelerator for Machine Learning
FPGA Hardware Accelerator for Machine Learning FPGA Hardware Accelerator for Machine Learning
FPGA Hardware Accelerator for Machine Learning
 
"The Xilinx AI Engine: High Performance with Future-proof Architecture Adapta...
"The Xilinx AI Engine: High Performance with Future-proof Architecture Adapta..."The Xilinx AI Engine: High Performance with Future-proof Architecture Adapta...
"The Xilinx AI Engine: High Performance with Future-proof Architecture Adapta...
 
AI + E-commerce
AI + E-commerceAI + E-commerce
AI + E-commerce
 
Scientific Computing @ Fred Hutch
Scientific Computing @ Fred HutchScientific Computing @ Fred Hutch
Scientific Computing @ Fred Hutch
 
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
 
Flexible and Scalable Integration in the Automation Industry/Industrial IoT
Flexible and Scalable Integration in the Automation Industry/Industrial IoTFlexible and Scalable Integration in the Automation Industry/Industrial IoT
Flexible and Scalable Integration in the Automation Industry/Industrial IoT
 
Sundance at the 49th Intelligent Sensing Program
Sundance at the 49th Intelligent Sensing ProgramSundance at the 49th Intelligent Sensing Program
Sundance at the 49th Intelligent Sensing Program
 
Are you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the networkAre you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the network
 
Democratizing Data Science on Kubernetes
Democratizing Data Science on Kubernetes Democratizing Data Science on Kubernetes
Democratizing Data Science on Kubernetes
 
Sgcp14phillips
Sgcp14phillipsSgcp14phillips
Sgcp14phillips
 
Sundance's presentation at B:RAI 2020
Sundance's presentation at B:RAI 2020Sundance's presentation at B:RAI 2020
Sundance's presentation at B:RAI 2020
 
Building Real-time Pipelines with FLaNK_ A Case Study with Transit Data
Building Real-time Pipelines with FLaNK_ A Case Study with Transit DataBuilding Real-time Pipelines with FLaNK_ A Case Study with Transit Data
Building Real-time Pipelines with FLaNK_ A Case Study with Transit Data
 
XDF 2019 Xilinx Accelerated Database and Data Analytics Ecosystem
XDF 2019 Xilinx Accelerated Database and Data Analytics EcosystemXDF 2019 Xilinx Accelerated Database and Data Analytics Ecosystem
XDF 2019 Xilinx Accelerated Database and Data Analytics Ecosystem
 
"The OpenVX Hardware Acceleration API for Embedded Vision Applications and Li...
"The OpenVX Hardware Acceleration API for Embedded Vision Applications and Li..."The OpenVX Hardware Acceleration API for Embedded Vision Applications and Li...
"The OpenVX Hardware Acceleration API for Embedded Vision Applications and Li...
 
Bullx HPC eXtreme computing technology
Bullx HPC eXtreme computing technologyBullx HPC eXtreme computing technology
Bullx HPC eXtreme computing technology
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Seamless FPGA deployment over Spark in cloud computing: A use case on machine learning hardware acceleration

  • 1. Christoforos Kachris, Elias Koromilas, Ioannis Stamelos, Dimitrios Soudris kachris@microlab.ntua.gr ICCS-National Technical University of Athens ARC 2018, Santorini Seamless FPGA deployment over Spark in cloud computing: A use case on machine learning hardware acceleration
  • 2. www.vineyard-h2020.eu Network traffic in the data centers 2 Christoforos Kachris, ICCS, Greece
  • 3. www.vineyard-h2020.eu Power consumption in the data centers 3 • Currently Data Centers consume huge amounts of energy • Servers consume around 30% of the total power budget of the IT infrastructure Christoforos Kachris, ICCS, Greece
  • 4. www.vineyard-h2020.eu Diverse Data Center Demands 4 Christoforos Kachris, ICCS, Greece
  • 5. www.vineyard-h2020.eu FPGAs at the spotlight 5 April 2015 Submission of VINEYARD proposal 2015 2016 2017 December 2016 Overall, Intel now has five different AI platforms; FPGAs, the Xeon Phi, the Nervana NNP, the Myriad X, and its traditional Core processor. The Core processor still performs most AI tasks.
  • 6. www.vineyard-h2020.eu FPGAs in the news Christoforos Kachris, ICCS, Greece 6
  • 7. www.vineyard-h2020.eu FPGAs in Data Center • Intel: “Two orders of magnitude faster than GPU by 2020” ($16.7 billion bet) Broadwel Xeon with Arria 10 • Microsoft Bing with Altera Stratix V • IBM SupperVessel with Power8 + Xilinx • Xilinx SDAccel on Nimbix Cloud • Google has released TPU only for Tensorflow – ISCA 2017 7 Christoforos Kachris, ICCS, Greece
  • 8. www.vineyard-h2020.eu Machine learning market size • The machine learning market size is expected to grow from USD 1.41 Billion in 2017 to USD 8.81 Billion by 2022, at a Compound Annual Growth Rate (CAGR) of 44.1%. https://www.marketsandmarkets.com/PressReleas es/machine-learning.asp Christoforos Kachris, ICCS, Greece 8
  • 9. www.vineyard-h2020.eu Machine learning as a service Christoforos Kachris, ICCS, Greece 9
  • 10. www.vineyard-h2020.eu Apache Spark The largest open source project in data processing. • Structured Data • Streaming Analytics • Machine Learning • Graph Computation Provides an interface for programming entire clusters with implicit data parallelism and fault- tolerance. 10 Christoforos Kachris, ICCS, Greece
  • 11. www.vineyard-h2020.eu Contributions • The FPGA driver API is packed in a shared object library and can be used in a transparent way hiding all the low level details. • We implemented top level APIs in Python for standalone and Apache Spark integrated use, that are easy to be used and are also easily maintained since the middle layer, our shared library remains the same for all of the above. Christoforos Kachris, ICCS, Greece 11
  • 12. www.vineyard-h2020.eu System stack • Application Layer: This layer hosts users’ applications. The applications can run natively using Python. • Vineyard Layer: This layer hosts the whole functionality of our framework. The key element of this layer is the implemented shared library • SDSoC-HLS API and FPGA layerhared library Christoforos Kachris, ICCS, Greece 12
  • 13. www.vineyard-h2020.eu Flow for data movement - RDDS • Flow of the original and optimized method for the DMA transfers to the accelerator Christoforos Kachris, ICCS, Greece 13
  • 14. www.vineyard-h2020.eu Use case: K-means clustering Christoforos Kachris, ICCS, Greece 14
  • 16. www.vineyard-h2020.eu Pynq: Python Productivity for Zynq • An open-source project from Xilinx that makes it easy to design embedded systems with Zynq MPSoCs. • The APSoC is programmed using Python. • The code is developed and tested directly on the PYNQ-Z1 board. • The programmable logic circuits are imported as hardware libraries and programmed through their APIs in essentially the same way as the software libraries. 16 Christoforos Kachris, ICCS, Greece
  • 17. www.vineyard-h2020.eu Spark integration on Heterogeneous MPSoC 17 K-means clustering Christoforos Kachris, ICCS, Greece
  • 18. www.vineyard-h2020.eu Spynq: Spark on Pynq integration 18 Christoforos Kachris, ICCS, Greece
  • 20. www.vineyard-h2020.eu Energy consumption • Intel Xeon vs Pynq cluster • ARM vs Pynq cluster Christoforos Kachris, ICCS, Greece 20
  • 22. www.vineyard-h2020.eu Cluster of Zynq (Pynq devices) running Spark 22 Christoforos Kachris, ICCS, Greece
  • 23. www.vineyard-h2020.eu SW on Intel Xeon 23 Accel on FPGA MPSoC Christoforos Kachris, ICCS, Greece
  • 24. www.vineyard-h2020.eu VINEYARD Framework 24 • Accelerators stored in an AppStore • Cloud users request accelerators based on applications requirements • Decouple Hardware – Software designers Cloud computing Applications VINEYARD Cloud Resource Manager 3rd party IP developersLibrary of Hardware accelerators as IP Blocks Heterogeneous Data Center DFE Processors Dataflow Proc.+FPGA IP Accelerator’s App store Cloud tenants Acc Acc Acc Acc DFE DFE DFE Accelerator Controller Accelerator Virtualization Scheduler Accelerator API Performance Energy Christoforos Kachris, ICCS, Greece
  • 26. www.vineyard-h2020.eu Consortium 26 Platform Evaluator Data Centre Vendor System Vendor (Dataflow Eng.) System Software Programming framework & Hardware accelerators Data Centre Software developers Data Centre End User
  • 28. www.vineyard-h2020.eu Ecosystem on FPGAs in the cloud Christoforos Kachris, ICCS, Greece 28
  • 29. www.vineyard-h2020.eu Main goals VINEYARD AIMS TO • Build an integrated platform for energy-efficient data centres based on novel programmable hardware accelerators • Develop a high-level programming framework and big data infrastructure for allowing end-users to seamlessly utilize these accelerators in heterogeneous computing systems by employing typical data-centre programming frameworks (i.e. Spark.). • VINEYARD also foster the establishment of an ecosystem that will empower open innovation based on hardware accelerators as data-centre plugins for marketplace, thereby facilitating innovative enterprises (large industries, SMEs, and creative start-ups) to develop novel solutions using VINEYARDS’s leading edge developments. 29 Christoforos Kachris, ICCS, Greece
  • 30. • Speedup your application seamlessly • An integrated framework for the utilization of hardware accelerators in HPC and data center seamlessly Contact detais: kachris@microlab.ntua.gr