SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Domain Decomposition Methods in Hybrid CPU-GPU Environment A new era in scientific computing National Technical University of Athens M. Papadrakakis, G. Stavroulakis, A.Karatarakis
Hybrid CPU-GPU Implementation The Dual DDM FETI solver has been implemented in hybrid CPU-GPU workstations with the purpose of exploiting all available processing power and CPU memory resources in order to handle even larger problems.  National Technical University of Athens 2
Challenges Due to the fact that the CPU and GPU platforms are heterogeneous and feature different programming paradigms, special considerations had to be made in a number of steps of the FETI algorithm to achieve optimum efficiency.  One of the main issues which has to be dealt with is the difference in performance between the CPU and GPU. In particular, the difference in performance between the CPU and GPU is not the same when calculating dot products, executing matrix-vector multiplications or solving linear systems directly with the Cholesky factorization. A common bottleneck is encountered in data transfers between CPU and GPU. Load Balancing! National Technical University of Athens 3
General processing flow of CUDA programming National Technical University of Athens 4
CUDA device ,[object Object],National Technical University of Athens 5
CUDA Threads ,[object Object]
GPUs generate a large number of threads in order to exploit data parallelism.
All threads generated by a kernel define a grid and are organized in blocks. National Technical University of Athens 6
CUDA Memory CUDA devices have a variety of different memories that need to be utilized by programmers in order to achieve high performance.  National Technical University of Athens 7
Projection step This matrix is global, spanning across the whole domain and not associated with subdomains, a direct solver is generally not appropriate to perform this task. For this reason, a PCG solver with a diagonal preconditioner is applied in parallel at each projection step of the PCPG algorithm. National Technical University of Athens 8
Dot products Dot products are present in several steps of the solving procedure:  Thus, they consume a significant amount of processing time and have to be implemented efficiently. National Technical University of Athens 9
Sparse Matrix – Vector multiplication SpMV are also encountered in several steps, like the projection and preconditioning step. In order to achieve maximum efficiency of this time-consuming operation, an optimized CUDA kernel calculating the result of a SpMV multiplication has to be implemented. National Technical University of Athens 10
Dynamic Load-Balancing Ideally both the CPU and the GPU(s) must be at full load at all times. The heterogeneity of computer components has been addressed in this work by implementing a dynamic load balancing procedure based on task queues National Technical University of Athens 11
Dynamic Load-Balancing National Technical University of Athens 12
Dynamic Load Balancing – Major Subdomain Tasks National Technical University of Athens 13
Numerical Examples National Technical University of Athens 14
Example 1 115,320 dof Number of subdomains:  45 – 300 Intel Core 2 Quad Q6600 2.4GHz 4 physical cores – 4 logical cores8MB L2 cache 3GB RAM NVIDIA GTX285 with 1GB GDDR3 memory National Technical University of Athens 15
DoF for different number of subdomains National Technical University of Athens 16
Load Balancing: Q6600 & GTX 285 National Technical University of Athens 17
Load Balancing: Q6600 & GTX 285 National Technical University of Athens 18
Solution Time National Technical University of Athens 19 *With direct subdomain solver
Example 2 1,058,610 dof Number of subdomains:  125 to 2744  Intel Core i7-950 Processor 3.06GHz 4 physical cores – 8 logical cores8MB cache 6GB RAM NVIDIA GTX285 with 1GB GDDR3 memory NVIDIA GTX580 with 1.5GB GDDR5 memory National Technical University of Athens 20
DoF for different number of subdomains National Technical University of Athens 21
Load Balancing: i7 & GTX 580 National Technical University of Athens 22
Load Balancing: i7 & GTX 580 National Technical University of Athens 23
Solution Time National Technical University of Athens 24 *With direct subdomain solver

Weitere ähnliche Inhalte

Kürzlich hochgeladen

+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@
 

Kürzlich hochgeladen (20)

+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...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Hybrid CPU/GPU Computing with Domain Decomposition

  • 1. Domain Decomposition Methods in Hybrid CPU-GPU Environment A new era in scientific computing National Technical University of Athens M. Papadrakakis, G. Stavroulakis, A.Karatarakis
  • 2. Hybrid CPU-GPU Implementation The Dual DDM FETI solver has been implemented in hybrid CPU-GPU workstations with the purpose of exploiting all available processing power and CPU memory resources in order to handle even larger problems. National Technical University of Athens 2
  • 3. Challenges Due to the fact that the CPU and GPU platforms are heterogeneous and feature different programming paradigms, special considerations had to be made in a number of steps of the FETI algorithm to achieve optimum efficiency. One of the main issues which has to be dealt with is the difference in performance between the CPU and GPU. In particular, the difference in performance between the CPU and GPU is not the same when calculating dot products, executing matrix-vector multiplications or solving linear systems directly with the Cholesky factorization. A common bottleneck is encountered in data transfers between CPU and GPU. Load Balancing! National Technical University of Athens 3
  • 4. General processing flow of CUDA programming National Technical University of Athens 4
  • 5.
  • 6.
  • 7. GPUs generate a large number of threads in order to exploit data parallelism.
  • 8. All threads generated by a kernel define a grid and are organized in blocks. National Technical University of Athens 6
  • 9. CUDA Memory CUDA devices have a variety of different memories that need to be utilized by programmers in order to achieve high performance. National Technical University of Athens 7
  • 10. Projection step This matrix is global, spanning across the whole domain and not associated with subdomains, a direct solver is generally not appropriate to perform this task. For this reason, a PCG solver with a diagonal preconditioner is applied in parallel at each projection step of the PCPG algorithm. National Technical University of Athens 8
  • 11. Dot products Dot products are present in several steps of the solving procedure: Thus, they consume a significant amount of processing time and have to be implemented efficiently. National Technical University of Athens 9
  • 12. Sparse Matrix – Vector multiplication SpMV are also encountered in several steps, like the projection and preconditioning step. In order to achieve maximum efficiency of this time-consuming operation, an optimized CUDA kernel calculating the result of a SpMV multiplication has to be implemented. National Technical University of Athens 10
  • 13. Dynamic Load-Balancing Ideally both the CPU and the GPU(s) must be at full load at all times. The heterogeneity of computer components has been addressed in this work by implementing a dynamic load balancing procedure based on task queues National Technical University of Athens 11
  • 14. Dynamic Load-Balancing National Technical University of Athens 12
  • 15. Dynamic Load Balancing – Major Subdomain Tasks National Technical University of Athens 13
  • 16. Numerical Examples National Technical University of Athens 14
  • 17. Example 1 115,320 dof Number of subdomains: 45 – 300 Intel Core 2 Quad Q6600 2.4GHz 4 physical cores – 4 logical cores8MB L2 cache 3GB RAM NVIDIA GTX285 with 1GB GDDR3 memory National Technical University of Athens 15
  • 18. DoF for different number of subdomains National Technical University of Athens 16
  • 19. Load Balancing: Q6600 & GTX 285 National Technical University of Athens 17
  • 20. Load Balancing: Q6600 & GTX 285 National Technical University of Athens 18
  • 21. Solution Time National Technical University of Athens 19 *With direct subdomain solver
  • 22. Example 2 1,058,610 dof Number of subdomains: 125 to 2744 Intel Core i7-950 Processor 3.06GHz 4 physical cores – 8 logical cores8MB cache 6GB RAM NVIDIA GTX285 with 1GB GDDR3 memory NVIDIA GTX580 with 1.5GB GDDR5 memory National Technical University of Athens 20
  • 23. DoF for different number of subdomains National Technical University of Athens 21
  • 24. Load Balancing: i7 & GTX 580 National Technical University of Athens 22
  • 25. Load Balancing: i7 & GTX 580 National Technical University of Athens 23
  • 26. Solution Time National Technical University of Athens 24 *With direct subdomain solver
  • 27. Speedup In example 1(~100,000 degrees – small), the hybrid-parallel implementation is 20 times faster than a conventional implementation In example 2 (~1,000,000 degrees) the hybrid-parallel implementation is 40-45 times faster than a conventional implementation! National Technical University of Athens M. Papadrakakis, G. Stavroulakis, A.Karatarakis
  • 28. Further Information http://www.sciencedirect.com/science/article/pii/S0045782511000235 National Technical University of Athens M. Papadrakakis, G. Stavroulakis, A.Karatarakis