RUNNING AND ACCELATING CLOUD APPLICATIONS ON FIELD PROGRAMABLE GRATE ARRAYS

RandikaPathirana1 0 views 25 slides Oct 06, 2025
Slide 1
Slide 1 of 25
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25

About This Presentation

FPGA


Slide Content

G. P. R. T. Pathirana (239342C) RUNNING AND ACCELERATING CLOUD APPLICATIONS ON FIELD-PROGRAMMABLE GATE ARRAYS (FPGA) SERVER 1

G. P. R. T. Pathirana (239342C) Dept. of Computer Science & Engineering, Faculty of Engineering, University of Moratuwa , Sri Lanka RUNNING AND ACCELERATING CLOUD APPLICATIONS ON FIELD-PROGRAMMABLE GATE ARRAYS (FPGA) SERVER Postgraduate Diploma Supervisor Dr. Chathuranga Hettiarachchi 2 Modelling the thermal behavior of a lithium-ion battery using Sri Lankan graphite

CONTENT 3

Cloud Computing Overview Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server Cloud computing enables on-demand access to computing resources over the internet. Key Technologies ๐Ÿ”น Virtualization - Separates physical hardware from software via a hypervisor . ๐Ÿ”น Distributed Computing - Allows multiple systems to work together for scalability . Significance & Industry Impact ๐Ÿ”น Used in AI, machine learning, IoT, finance, and healthcare . ๐Ÿ”น Supports big data analytics, remote access, and real-time applications . 4 M. Armbrust et al., doi : 10.1145/1721654.1721672., M. A. Vouk , doi : 10.2498/cit.1001391., R. Periasamy , doi : 10.1109/CCEM.2012.6354621., B. Gan and S. Jin, doi : 10.26855/acc.2024.07.004., V. Betz, J. Rose, and A. Marquardt, doi : 10.1007/978-1-4615-5145-4.

Performance Challenges in Cloud Computing 5 Mitigation Strategies ๐Ÿ”น Content Delivery Networks (CDNs) & Edge Computing reduce latency. ๐Ÿ”น Resource Optimization & Auto-scaling improve efficiency. ๐Ÿ”น Advanced Monitoring & Performance Analytics for early issue detection. Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server What are FPGAs? Field-Programmable Gate Arrays (FPGAs) are reconfigurable silicon devices that can be programmed for specific applications. Some key benefits of FPGAs include ๐Ÿ”น Reconfigurability ๐Ÿ”น Parallel Processing ๐Ÿ”น Power Efficiency ๐Ÿ”น High performance Figure 1: Challenges in Cloud Computing Figure 2: Overview of the FPGA Architecture B. Gan and S. Jin, doi : 10.26855/acc.2024.07.004., V. Betz, J. Rose, and A. Marquardt, doi : 10.1007/978-1-4615-5145-4.

Challenges in FPGA Adoption Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server 6 ๐Ÿ”น Programming Complexity โ€“ Requires HDL (Verilog, VHDL) , limiting accessibility. ๐Ÿ”น Security Risks โ€“ Bitstream vulnerabilities & side-channel attacks . ๐Ÿ”น Resource Utilization Issues โ€“ Multi-tenant execution in cloud platforms is underdeveloped . FPGA Programming Technologies ๐Ÿ”น SRAM-Based FPGAs โ€“ High speed & reprogrammable, but volatile. ๐Ÿ”น Flash-Based FPGAs โ€“ Non-volatile, but limited reconfigurations. ๐Ÿ”น Anti-Fuse FPGAs โ€“ Permanent configuration, low power, but non-reprogrammable. Cloud Integration of FPGAs ๐Ÿ”น Used in AWS EC2 F1, Microsoft Azure Catapult, Alibaba Cloud FPGA ECS . ๐Ÿ”น Applied in AI, cryptography, real-time video processing, & HPC applications . Figure 1: Static Memory Cell Figure 2: FPGA Software Flow R. Periasamy , doi : 10.1109/CCEM.2012.6354621., V. Betz, J. Rose, and A. Marquardt, doi : 10.1007/978-1-4615-5145-4., S. M. S. Trimberger , doi : 10.1109/MSSC.2018.2822862., Brown S. and Rose J., โ€œFPGA and CPLD Architectures: A Tutorial,โ€ 1996., I. Kuon and J. Rose, doi : 10.1109/TCAD.2006.884574.

7 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server ๐Ÿ”น Programming Complexity Requires HDL (VHDL, Verilog) , making it difficult for cloud developers. HLS tools lack full compatibility with AI frameworks ( TensorFlow, PyTorch ). ๐Ÿ”น Resource Management Limitations No standardized multi-tenant execution or dynamic workload allocation . Underutilization of FPGA resources affects cost efficiency. ๐Ÿ”น Security Risks Bitstream vulnerabilities & side-channel attacks expose FPGA configurations. No standardized security framework for cloud-based FPGA deployments. ๐Ÿ”น Lack of Benchmarking Standards Existing evaluations focus only on hardware metrics (power, logic utilization). No application-level benchmarking for AI & big data workloads.

Evaluate FPGA performance in cloud computing by benchmarking latency, throughput, power consumption, and resource utilization compared to CPUs and GPUs . Identify challenges in usability, security, and resource management by assessing HLS tools, multi-tenant execution, and workload distribution strategies . Establishing best practices for FPGA integration by proposing cloud-based configurations, deployment strategies, and benchmarking methods for performance, scalability, and security 8 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server

Introduction to FPGA Acceleration in Cloud Computing 9 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server ๐Ÿ”ธ Why FPGAs in Cloud Computing? ๐Ÿ”น Reconfigurable hardware for workload-specific optimization. ๐Ÿ”น Better performance & efficiency than CPUs & GPUs. ๐Ÿ”น Growing adoption in AI inference, big data analytics, cryptography, and HPC. ๐Ÿ”ธ Key Drivers of FPGA Adoption ๐Ÿ”น High-performance computing (HPC) with low power consumption. ๐Ÿ”น On-demand acceleration via FPGA-as-a-Service ( FaaS ) in AWS, Azure, Alibaba Cloud . ๐Ÿ”น Ideal for AI, real-time analytics, and video processing. J. A. Galaviz-Aguilar, C. Vargas-Rosales, F. Falcone, and C. Aguilar-Avelar, doi : 10.3390/s25020584., X. Wang, Y. Niu, F. Liu, and Z. Xu, doi : 10.1109/TCC.2020.2992548, M. Vaithianathan , S. Udkar , M. Patil, and S. F. Ng, doi : 10.56472/25838628/IJACT-V1I1P107., https://www.vmaccel.com/posts/the-fpga-cloud-advantage

Cloud-Based FPGA Services ( FaaS ) 10 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server ๐Ÿ”ธ FPGA-as-a-Service ( FaaS ) Offerings ๐Ÿ”น AWS EC2 F1 - Used in AI inference, genomics, finance modeling . ๐Ÿ”น Microsoft Azure Catapult - Optimized for search, AI, and networking acceleration . ๐Ÿ”น Alibaba Cloud FPGA ECS - Supports video processing, encryption, AI workloads . ๐Ÿ”ธ How FaaS Enhances Cloud Computing ๐Ÿ”น No need for physical FPGA hardware . ๐Ÿ”น Scalable & cost-effective for businesses. ๐Ÿ”น On-demand acceleration for compute-intensive applications. M. Shepovalov and V. Akella, doi : 10.1016/j.vlsi.2019.09.007.

Comparative Analysis โ€“ FPGAs vs. CPUs vs. GPUs vs. ASICs 11 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server ๐Ÿ”ธ Key Takeaways ๐Ÿ”น FPGAs balance performance & power efficiency better than CPUs/GPUs. ๐Ÿ”น ASICs offer maximum efficiency but lack flexibility. ๐Ÿ”น FPGA reconfigurability makes it ideal for evolving cloud workloads. Table 1: Performance comparison of CPUs, GPUs, FPGAs, & TPUs in AlexNet inference processing Davide C., โ€œComparing hls4ml and Vitis AI for CNN Synthesis and Evaluation on FPGA: A Comprehensive Study,โ€ 2022. Table 2: Performance comparison for deep learning inference at the edge

High-Level Synthesis (HLS) & FPGA Programming in Cloud 12 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server ๐Ÿ”ธ Evolution from HDL to HLS ๐Ÿ”น Traditional FPGA development required VHDL/Verilog (low-level programming). ๐Ÿ”น HLS tools (e.g., Vitis AI, Intel OpenCL, hls4ml ) enable C, C++, Python-based FPGA design ๐Ÿ”น Simplifies FPGA programming for cloud application developers . ๐Ÿ”ธ Security Challenges in FPGA-Based Cloud Computing ๐Ÿ”น Bitstream Vulnerabilities โ€“ Risk of reverse engineering & tampering . ๐Ÿ”น Side-Channel Attacks โ€“ Power/electromagnetic leakage can expose data. ๐Ÿ”น Hardware Trojans โ€“ Malicious FPGA modifications affecting security. ๐Ÿ”ธ Mitigation Strategies ๐Ÿ”น Bitstream encryption & authentication protocols. ๐Ÿ”น Trusted Execution Environments (TEEs) for secure FPGA workloads. Y. Lu, C. Gao, R. Saha, S. Saha, K. D. McDonald-Maier, and X. Zhai, doi : 10.1007/978-3-031-21867-5_5., C. Du and Y. Yamaguchi, doi : 10.3390/electronics9081275., R. Skhiri , V. Fresse , J.-P. Jamont , and B. Suffran , doi : 10.1109/CIVEMSA.2017.7995321.

FPGA Acceleration in AI & Video Processing 13 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server ๐Ÿ”ธ FPGA-Based AI Acceleration ๐Ÿ”น AI inference on FPGAs is more power-efficient than GPUs . ๐Ÿ”น CNN & NLP models perform faster inference with lower power consumption . ๐Ÿ”น Case Studies - YOLOv3 for real-time object detection (70% power reduction vs.GPU ). - Transformer-based NLP on FPGA (50% energy savings vs. GPU). ๐Ÿ”ธ FPGA Acceleration for Video Analytics ๐Ÿ”น Real-time AI video inference with ultra-low latency. ๐Ÿ”น FPGA pipelining for high-speed video processing. ๐Ÿ”น Use cases - Smart surveillance, industrial automation, autonomous vehicles. Y. Lu, C. Gao, R. Saha, S. Saha, K. D. McDonald-Maier, and X. Zhai, doi : 10.1007/978-3-031-21867-5_5., J. Wang and S. Gu, doi : 10.1109/ICIST52614.2021.9440554., Davide C., โ€œComparing hls4ml and Vitis AI for CNN Synthesis and Evaluation on FPGA: A Comprehensive Study,โ€, C. Du and Y. Yamaguchi, doi : 10.3390/electronics9081275. Figure 1 : FPGA vs. GPU Comparison for AI Workloads

FPGA Virtualization & Dynamic Workload Allocation 14 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server ๐Ÿ”ธ Challenges in FPGA Virtualization for Cloud Computing ๐Ÿ”น Multi-Tenant FPGA Reconfiguration โ€“ Requires hardware partitioning for multiple workloads. ๐Ÿ”น Resource Contention โ€“ Shared FPGA resources must be allocated efficiently. ๐Ÿ”น Latency Overhead โ€“ Dynamic reconfiguration introduces scheduling delays . ๐Ÿ”ธ Solutions for Efficient FPGA Virtualization ๐Ÿ”น Partial Reconfiguration (PR) โ€“ FPGA logic can be updated without full reset . ๐Ÿ”น Overlay Architectures โ€“ Predefined templates allow fast reprogramming . ๐Ÿ”น Time-Slicing & Scheduling โ€“ Fair resource allocation for multiple users. ๐Ÿ”ธ Cloud Case Studies ๐Ÿ”น Microsoft Azure Catapult โ€“ FPGA acceleration for Bing search & AI. ๐Ÿ”น AWS F1 Instances โ€“ FPGA-as-a-Service for deep learning & encryption. ๐Ÿ”น Alibaba Cloud FPGA ECS โ€“ Multi-tenant FPGA execution in AI & big data. Y. Lu, C. Gao, R. Saha, S. Saha, K. D. McDonald-Maier, and X. Zhai, doi : 10.1007/978-3-031-21867-5_5., J. Wang and S. Gu, doi : 10.1109/ICIST52614.2021.9440554., Davide C., โ€œComparing hls4ml and Vitis AI for CNN Synthesis and Evaluation on FPGA: A Comprehensive Study,โ€, C. Du and Y. Yamaguchi, doi : 10.3390/electronics9081275.

15 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server

16 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server Application Selection for FPGA Acceleration ๐Ÿ”ธ Objective ๐Ÿ”น Identify real-world cloud computing workloads that benefit from FPGA acceleration compared to CPUs/GPUs ๐Ÿ”ธ Selected Applications ๐Ÿ”น AI Model Inference - Accelerating deep learning tasks such as image recognition and NLP ๐Ÿ”น Real-Time Video Processing - Enhancing video streaming, encoding/decoding, and object detection ๐Ÿ”น Data Encryption & Cryptographic Processing - Improving security with FPGA - based encryption algorithms (AES, RSA). ๐Ÿ”ธ These applications demand low latency, high throughput, and energy efficiency, making them ideal for FPGA acceleration in cloud environments

17 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server Performance Benchmarking for FPGA Acceleration ๐Ÿ”ธ Objective ๐Ÿ”น Evaluate FPGA acceleration efficiency in cloud computing by measuring key performance metrics ๐Ÿ”ธ Key Performance Metrics ๐Ÿ”น Latency - Execution time for each FPGA-accelerated task. ๐Ÿ”น Throughput - Data processed per second. ๐Ÿ”น Power Consumption - Energy efficiency comparison between FPGA and CPU/GPU. ๐Ÿ”น Resource Utilization - FPGA hardware efficiency in multi-tenant cloud settings. ๐Ÿ”ธ Benchmarking Setup ๐Ÿ”น Deploy applications on AWS EC2 F1 FPGA instances . ๐Ÿ”น Compare results with CPU/GPU workloads using Xilinx Vitis & AWS CloudWatch/ Vitis Analyzer. and measure the FPGA efficiency in multi-tenant environments ๐Ÿ”ธ Application of TOE Framework ๐Ÿ”น Technology Factors - Does FPGA acceleration provide measurable performance improvements? ๐Ÿ”น Organizational Factors - Are cloud providers ready for large-scale FPGA deployment? ๐Ÿ”น Environmental Factors - How do market trends and regulations impact FPGA cloud adoption? ๐Ÿ”ธ Expected Outcome - FPGA acceleration enhances latency, power efficiency, and hardware utilization, making it a scalable cloud solution

18 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server Usability Testing for FPGA Adoption ๐Ÿ”ธ Objective ๐Ÿ”นAssess developer challenges and adoption feasibility of FPGA programming in cloud computing. ๐Ÿ”ธ Participant Groups ๐Ÿ”น Beginners - No prior FPGA experience, assessing ease of learning. ๐Ÿ”น Intermediate Users - Some FPGA programming knowledge, evaluating usability. ๐Ÿ”น Experts - FPGA professionals, testing advanced optimization features. ๐Ÿ”ธ Usability Testing Tasks ๐Ÿ”น Basic Task - Configure an FPGA instance using HLS tools (e.g., Vitis HLS, OpenCL). ๐Ÿ”น Intermediate Task - Deploy an AI model on FPGA for inference. ๐Ÿ”น Advanced Task - Optimize FPGA workload for real-time execution and energy efficiency ๐Ÿ”ธ Application of UTAUT Model ๐Ÿ”น Performance Expectancy - Does FPGA acceleration improve cloud computing workloads? ๐Ÿ”น Effort Expectancy - How difficult is FPGA programming using HLS tools? ๐Ÿ”น Social Influence - How do industry trends impact FPGA adoption? ๐Ÿ”น Facilitating Conditions - Are training resources and support available for FPGA developers? ๐Ÿ”ธ Expected Outcome - Improved FPGA usability and accessibility through HLS tools will enhance developer adoption

19 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server Security Risk Assessment ๐Ÿ”ธ Objective ๐Ÿ”น Identify security vulnerabilities in FPGA cloud deployments and propose mitigation strategies. ๐Ÿ”ธ Key Security Risks Identified ๐Ÿ”น Bitstream Vulnerabilities - Risk of unauthorized modification or reverse engineering. ๐Ÿ”น Side-Channel Attacks - Exploiting power & electromagnetic leakage to extract sensitive data. ๐Ÿ”น Multi-Tenant Execution Risks - Data leakage and Denial-of-Service (DoS) threats in shared FPGA environments ๐Ÿ”ธ Security Enhancements Proposed ๐Ÿ”น Bitstream Authentication & Encryption - Prevent unauthorized FPGA modification ๐Ÿ”น AI-driven Anomaly Detection - Real-time monitoring of FPGA security threats. ๐Ÿ”น Trusted Execution Environments (TEEs) - Secure FPGA workload execution in multi-tenant cloud platforms . ๐Ÿ”ธ Application of TAM Model ๐Ÿ”น Perceived Usefulness - How effective are FPGA security measures? ๐Ÿ”น Perceived Ease of Use - Are security mechanisms manageable for cloud providers? ๐Ÿ”ธ Expected Outcome - Secure multi-tenant FPGA execution, improving trust and adoption in cloud computing.

20 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server Project Timeline (Gantt Chart)

21 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server ๐Ÿ”ธ Integrating FPGAs into Cloud Computing ๐Ÿ”น Addresses resource management, performance optimization, and usability challenges. ๐Ÿ”น Overcomes latency, throughput, and power efficiency bottlenecks in traditional cloud computing. ๐Ÿ”ธ Key Focus Areas ๐Ÿ”น FPGA Acceleration โ€“ Enhancing cloud application performance. ๐Ÿ”น Usability Challenges โ€“ Evaluating High-Level Synthesis (HLS) tools for accessibility. ๐Ÿ”น Intelligent Resource Management โ€“ Optimizing FPGA utilization in cloud environments. ๐Ÿ”ธ Expected Contribution ๐Ÿ”น Structured framework for cloud-based FPGA integration. ๐Ÿ”น Best practices for cloud service providers to maximize scalability & efficiency . ๐Ÿ”น Guidelines for optimizing FPGA deployments , improving cloud infrastructure affordability. ๐Ÿ”น This study provides a strategic approach for accelerating cloud applications using FPGAs, ensuring better performance, accessibility, and resource utilization.

22 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server Recommendations ๐Ÿ”ธ Enhancing FPGA Acceleration for Cloud Computing ๐Ÿ”น Refine FPGA frameworks for AI, real-time analytics, and high-throughput cloud services. ๐Ÿ”น Extend benchmarking to new cloud architectures for better performance evaluation. ๐Ÿ”ธ Optimizing Resource Management ๐Ÿ”น Standardized multi-tenant execution for workload balancing & scalability. ๐Ÿ”น Automated workload scheduling to maximize FPGA utilization. ๐Ÿ”ธ Strengthening Security ๐Ÿ”น Advanced encryption & bitstream authentication to mitigate security risks. ๐Ÿ”น AI-driven anomaly detection for proactive threat identification in FPGA cloud infrastructure. ๐Ÿ”ธ Improving Usability & Developer Accessibility ๐Ÿ”น Enhanced FPGA programming tools with interactive tutorials & guided workflows. ๐Ÿ”น Cloud-based training programs to support software engineers transitioning to FPGA development. Implementing these strategies will drive broader FPGA adoption in cloud computing, improving efficiency, security, and usability for next-generation cloud infrastructures.

23 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server M. Armbrust et al. , โ€œA view of cloud computing,โ€ Apr. 01, 2010. doi : 10.1145/1721654.1721672. M. A. Vouk , โ€œCloud computing - Issues, research and implementations,โ€ Journal of Computing and Information Technology , vol. 16, no. 4, pp. 235โ€“246, 2008, doi : 10.2498/cit.1001391. A. S. Tanenbaum and M. van Steen, โ€œDistributed Systems: Principles and Paradigms,โ€ 2006. [Online]. Available: www.minix3.org.This R. Periasamy , โ€œPerformance Optimization in Cloud Computing Environment,โ€ in 2012 IEEE International Conference on Cloud Computing in Emerging Markets (CCEM) , IEEE, Oct. 2012, pp. 1โ€“6. doi : 10.1109/CCEM.2012.6354621. B. Gan and S. Jin, โ€œResearch on Optimization Strategy of Cloud Computing Resources in Big Data Environment,โ€ Advances in Computer and Communication , vol. 5, no. 3, pp. 177โ€“182, Aug. 2024, doi : 10.26855/acc.2024.07.004. R. Zeng, X. Hou, L. Zhang, C. Li, W. Zheng, and M. Guo, โ€œPerformance Optimization for Cloud Computing Systems in the Microservice Era: State-of-the-Art and Research Opportunities.โ€ [Online]. Available: http://my.sjtu.edu.cn/are V. Betz, J. Rose, and A. Marquardt, Architecture and CAD for Deep-Submicron FPGAS . Boston, MA: Springer US, 1999. doi : 10.1007/978-1-4615-5145-4.

Acknowledgement 24 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server ๐Ÿ”น Dr. Chathuranga Hettiarachchi โ€“ For his invaluable guidance, support, and expertise in cloud computing and FPGA servers. ๐Ÿ”น Department of Computer Science, University of Moratuwa โ€“ For providing resources, facilities, and an enriching academic environment . ๐Ÿ”น Thesis Committee Members โ€“ For their constructive feedback and valuable insights that enhanced this research. ๐Ÿ”น My Family โ€“ For their unwavering love, encouragement, and support throughout this academic journey. ๐Ÿ”น Everyone who contributed โ€“ Your support and motivation have been instrumental in the successful completion of this research.

THANK YOU 25 Running and accelerating cloud applications on Field-Programmable Gate Arrays (FPGA) server
Tags