Heterogeneous Cpu+Gpu Computing

Total Page:16

File Type:pdf, Size:1020Kb

Heterogeneous Cpu+Gpu Computing HETEROGENEOUS CPU+GPU COMPUTING Ana Lucia Varbanescu – University of Amsterdam [email protected] Significant contributions by: Stijn Heldens (U Twente), Jie Shen (NUDT, China), Heterogeneous platforms • Systems combining main processors and accelerators • e.g., CPU + GPU, CPU + Intel MIC, AMD APU, ARM SoC • Everywhere from supercomputers to mobile devices Heterogeneous platforms • Host-accelerator hardware model Accelerator FPGAs Accelerator PCIe / Shared memory ... Host MICs Accelerator GPUs Accelerator CPUs Our focus today … • A heterogeneous platform = CPU + GPU • Most solutions work for other/multiple accelerators • An application workload = an application + its input dataset • Workload partitioning = workload distribution among the processing units of a heterogeneous system Few cores Thousands of Cores 5 Generic multi-core CPU 6 Programming models • Pthreads + intrinsics • TBB – Thread building blocks • Threading library • OpenCL • To be discussed … • OpenMP • Traditional parallel library • High-level, pragma-based • Cilk • Simple divide-and-conquer model abstractionincreasesLevel of 7 A GPU Architecture Offloading model Kernel Host code 9 Programming models • CUDA • NVIDIA proprietary • OpenCL • Open standard, functionally portable across multi-cores • OpenACC • High-level, pragma-based • Different libraries, programming models, and DSLs for different domains Level of abstractionincreasesLevel of CPU vs. GPU 10 ALU ALU CPU Control Low latency, high Throughput: ~ALU 500 GFLOPsALU flexibility. Bandwidth: ~ 60 GB/s Excellent for irregular codes with Cache limited parallelism. Heterogeneous computingDo we gain= CPU anything? + GPU work together … GPU High throughput. Throughput: ~ 5.500 GFLOPs Excellent for Bandwidth: ~ 350 GB/s massively parallel workloads. Case studies 450 TG TD TC TMax 400 350 (ms) 300 250 Matrix Multiplication (SGEMM) time Best = (80,20) 200 n = 2048 x 2048 (48MB) 150 Execution 100 50 0 Only-GPU Only-CPU granularity = 10% TG = GPU kernel execution time TG TD TD = Data transfer time TC TC = CPU kernel execution time TMax= max(TG+TD, TC) TMax Case studies 450 TG TD TC TMax 400 TG = GPU kernel execution time 350 TD = Data transfer time (ms) 300 Best = (80,20) T = CPU kernel execution time 250 C time 200 TMax= max(TG+TD, TC) 150 Execution 100 50 Matrix Multiplication (SGEMM) 0 n = 2048 x 2048 (48MB) Only-GPU Only-CPU granularity = 10% 250 TG TD TC TMax 180 TG TD TC TMax 160 200 140 (ms) (ms) 120 Best = (30,70) 150 Best =Only-CPU time 100 time 80 100 60 Execution Execution 40 50 20 0 0 Very few applications are GPU-only. Separable Convolution (SConv) Dot Product (SDOT) n = 6144x6144 (432MB) n = 14913072 (512MB) Possible advantages of heterogeneity • Increase performance • Both devices work in parallel • Decrease data communication • Which is often the bottleneck of the system • Different devices for different roles • Increase flexibility and reliability • Choose one/all *PUs for execution • Fall-back solution when one *PU fails • Increase energy efficiency • Cheaper per flop Main challenges: programming and workload partitioning! Challenge 1: Programming models 15 Programming models (PMs) • Heterogeneous computing = a mix of different processors on the same platform. • Programming • Mix of programming models • One(/several?) for CPUs – OpenMP • One(/several?) for GPUs – CUDA • Single programming model (unified) • OpenCL is a popular choice Low level High level 4.0 OmpSs 16 Heterogeneous Computing PMs High productivity; not Domain and/or all applications are High application specific. easy to implement. level Focus on: productivity and performance OpenACC, OpenMP 4.0 HyGraph, OmpSS, StarPU, … Cashmere, HPL Generic GlassWing Specific TOTEM OpenCL OpenMP+CUDA Domain specific, focus The most common atm. on performance. Useful for performance, Low More difficult to use. more difficult to use in level Quite rare. practice Heterogeneous computing PMs • CUDA + OpenMP/TBB • Typical combination for NVIDIA GPUs • Individual development per *PU • Glue code can be challenging • OpenCL (KHRONOS group) • Functional portability => can be used as a unified model • Performance portability via code specialization • HPL (University of A Coruna, Spain) • Library on top of OpenCL, to automate code specialization Heterogeneous computing PMs • StarPU (INRIA, France) • Special API for coding • Runtime system for scheduling • OmpSS (UPC + BSC, Spain) • C + OpenCL/CUDA kernels • Runtime system for scheduling and communication optimization Heterogeneous computing PMs • Cashmere (VU Amsterdam + NLeSC) • Dedicated to Divide-and-conquer solutions • OpenCL backend. • GlassWing (VU Amsterdam) • Dedicated to MapReduce applications • TOTEM (U. of British Columbia, Canada) • Graph processing • CUDA+Multi-threading • HyGraph (TUDelft, UTwente, UvA, NL) • Graph processing • Based on CUDA+OpenMP Challenge 2: Workload partitioning Workload • DAG (directed acyclic graph) of “kernels” k0 k0 k0 k2 k0 k0 k1 k1 k1 ... ... k3 k4 kn kn k5 I II III IV V SK-One SK-Loop MK-Seq MK-Loop MK-DAG 22 Determining the partition • Static partitioning (SP) vs. Dynamic partitioning (DP) Mul3ple Cores Thousands of Cores Mul3ple Cores Thousands of Cores 23 Static vs. dynamic • Static partitioning • + can be computed before runtime => no overhead • + can detect GPU-only/CPU-only cases • + no unnecessary CPU-GPU data transfers • -- does not work for all applications • Dynamic partitioning • + responds to runtime performance variability • + works for all applications • -- incurs (high) runtime scheduling overhead • -- might introduce (high) CPU-GPU data-transfer overhead • -- might not work for CPU-only/GPU-only cases 24 Determining the partition • Static partitioning (SP) vs. Dynamic partitioning (DP) Mul3ple Cores (near-) Optimal Often sub-ptimal High applicability Low applicabilityThousands of Cores Mul3ple Cores Thousands of Cores 25 Heterogeneous Computing today Limited applicability. Single Not interesting, Low overhead => high kernel given that static & performance run-time based Systems/frameworks: systems exist. Qilin, Insieme, SKMD, Glinda, ... Sporradic attempts Libraries: HPL, … and light runtime Static systems Dynamic Run-time based systems: Glinda 2.0 StarPU OmpSS HyGraph … Low overhead => high High Applicability, Multi-kernel performance high overhead Still limited in applicability. (complex) DAG Mul3ple Cores Thousands of Cores Static partitioning: Glinda Glinda* • Modeling the partitioning • The application workload • The hardware capabilities • The GPU-CPU data transfer • Predict the optimal partitioning • Making the decision in practice • Only-GPU • Only-CPU • CPU+GPU with the optimal partitioning *Jie Shen et al., HPCC’14. “Look before you Leap: Using the Right Hardware. Resources to Accelerate Applications 28 Modeling the partitioning • Define the optimal (static) partitioning • β= the fraction of data points assigned to the GPU (+TD) TG +TD = TC 29 Modeling the workload n−1 the area of the rectangle W = ∑wi ≈ i=0 n: the total problem size GPU par33on CPU par33on w: workload per work-item W =w x n x β W =w x n x (1-β) w G C n 0 1 β 1-β W (total workload size) quan3fies how much work has to be done Modeling the partitioning W: total workload size W W O W = (1-β) * W and W = β * W T = G T = C T = C G G P C P D Q P: processing throughput (W/second) G C O: CPU-GPU data-transfer size Q: CPU-GPU bandwidth (B/second) RGC CPU kernel time vs. WG PG 1 GPU kernel time T +T = T = × G D C W P PG O C C 1+ × Q WG RGD GPU data-transfer time vs. GPU kernel execution time Predicting the optimal partitioning • Solving β from the equation Total workload size W P 1 G = G × HW capability ratios W P PG O β predictor C C 1+ × Data transfer size Q WG • There are three β predictors (by data transfer type) v R R R R GC − × GD β = GC β = GC β = w 1 R v + GC 1+ × R + R 1+ RGC w GD GC No data transfer Partial data transfer Full data transfer 32 Glinda outcome • (Any?) data-parallel application can be transformed to support heterogeneous computing • A decision on the execution of the application • only on the CPU • only on the GPU • CPU+GPU • And the partitioning point Results [1] • Quality (compared to an oracle) • The right HW configuration in 62 out of 72 test cases • Optimal partitioning when CPU+GPU is selected Predicted partitioning ) ms Optimal partitioning (auto-tuning) Execution time( Results [2] • Effectiveness (compared to Only-CPU/Only-GPU) • 1.2x-14.6x speedup • If taking GPU for granted, up to 96% performance will be lost Only- Only- Our config GPU CPU Execution time(ms) Related work Glinda achieves similar or better performance than the other partitioning approaches with less cost More advantages … • Support different types of heterogeneous platforms • Multi-GPUs, identical or non-identical • Support different profiling options suitable for different execution scenarios • Online or offline • Partial of full • Determine not only the optimal partitioning but also the best hardware configuration • Only-GPU / Only-CPU / CPU+GPU with the optimal partitioning • Support both balanced and imbalanced applications Glinda: limitations? • Regular applications only >> NO, we support imbalanced applications, too. • Single kernel only? >> NO, we support two types of multi- kernel applications, too. • Single GPU only? >> NO, we support multiple GPUs/ accelerators on the same node • Single node only? >> YES – for now . What about energy? • The Glinda model can be adapted to optimize for energy • Ongoing work at UvA • Not yet clear whether “optimality” can be so easily
Recommended publications
  • On Heterogeneous Compute and Memory Systems
    ON HETEROGENEOUS COMPUTE AND MEMORY SYSTEMS by Jason Lowe-Power A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy (Computer Sciences) at the UNIVERSITY OF WISCONSIN–MADISON 2017 Date of final oral examination: 05/31/2017 The dissertation is approved by the following members of the Final Oral Committee: Mark D. Hill, Professor, Computer Sciences Dan Negrut, Professor, Mechanical Engineering Jignesh M. Patel, Professor, Computer Sciences Karthikeyan Sankaralingam, Associate Professor, Computer Sciences David A. Wood, Professor, Computer Sciences © Copyright by Jason Lowe-Power 2017 All Rights Reserved i Acknowledgments I would like to acknowledge all of the people who helped me along the way to completing this dissertation. First, I would like to thank my advisors, Mark Hill and David Wood. Often, when students have multiple advisors they find there is high “synchronization overhead” between the advisors. However, Mark and David complement each other well. Mark is a high-level thinker, focusing on the structure of the argument and distilling ideas to their essentials; David loves diving into the details of microarchitectural mechanisms. Although ever busy, at least one of Mark or David were available to meet with me, and they always took the time to help when I needed it. Together, Mark and David taught me how to be a researcher, and they have given me a great foundation to build my career. I thank my committee members. Jignesh Patel for his collaborations, and for the fact that each time I walked out of his office after talking to him, I felt a unique excitement about my research.
    [Show full text]
  • State-Of-The-Art in Heterogeneous Computing
    Scientific Programming 18 (2010) 1–33 1 DOI 10.3233/SPR-2009-0296 IOS Press State-of-the-art in heterogeneous computing Andre R. Brodtkorb a,∗, Christopher Dyken a, Trond R. Hagen a, Jon M. Hjelmervik a and Olaf O. Storaasli b a SINTEF ICT, Department of Applied Mathematics, Blindern, Oslo, Norway E-mails: {Andre.Brodtkorb, Christopher.Dyken, Trond.R.Hagen, Jon.M.Hjelmervik}@sintef.no b Oak Ridge National Laboratory, Future Technologies Group, Oak Ridge, TN, USA E-mail: [email protected] Abstract. Node level heterogeneous architectures have become attractive during the last decade for several reasons: compared to traditional symmetric CPUs, they offer high peak performance and are energy and/or cost efficient. With the increase of fine-grained parallelism in high-performance computing, as well as the introduction of parallelism in workstations, there is an acute need for a good overview and understanding of these architectures. We give an overview of the state-of-the-art in heterogeneous computing, focusing on three commonly found architectures: the Cell Broadband Engine Architecture, graphics processing units (GPUs), and field programmable gate arrays (FPGAs). We present a review of hardware, available software tools, and an overview of state-of-the-art techniques and algorithms. Furthermore, we present a qualitative and quantitative comparison of the architectures, and give our view on the future of heterogeneous computing. Keywords: Power-efficient architectures, parallel computer architecture, stream or vector architectures, energy and power consumption, microprocessor performance 1. Introduction the speed of logic gates, making computers smaller and more power efficient. Noyce and Kilby indepen- The goal of this article is to provide an overview of dently invented the integrated circuit in 1958, leading node-level heterogeneous computing, including hard- to further reductions in power and space required for ware, software tools and state-of-the-art algorithms.
    [Show full text]
  • Summarizing CPU and GPU Design Trends with Product Data
    Summarizing CPU and GPU Design Trends with Product Data Yifan Sun, Nicolas Bohm Agostini, Shi Dong, and David Kaeli Northeastern University Email: fyifansun, agostini, shidong, [email protected] Abstract—Moore’s Law and Dennard Scaling have guided the products. Equipped with this data, we answer the following semiconductor industry for the past few decades. Recently, both questions: laws have faced validity challenges as transistor sizes approach • Are Moore’s Law and Dennard Scaling still valid? If so, the practical limits of physics. We are interested in testing the validity of these laws and reflect on the reasons responsible. In what are the factors that keep the laws valid? this work, we collect data of more than 4000 publicly-available • Do GPUs still have computing power advantages over CPU and GPU products. We find that transistor scaling remains CPUs? Is the computing capability gap between CPUs critical in keeping the laws valid. However, architectural solutions and GPUs getting larger? have become increasingly important and will play a larger role • What factors drive performance improvements in GPUs? in the future. We observe that GPUs consistently deliver higher performance than CPUs. GPU performance continues to rise II. METHODOLOGY because of increases in GPU frequency, improvements in the thermal design power (TDP), and growth in die size. But we We have collected data for all CPU and GPU products (to also see the ratio of GPU to CPU performance moving closer to our best knowledge) that have been released by Intel, AMD parity, thanks to new SIMD extensions on CPUs and increased (including the former ATI GPUs)1, and NVIDIA since January CPU core counts.
    [Show full text]
  • Heterogeneous Computing in the Edge
    Heterogeneous Computing in the Edge Authors: Charles Byers Associate Chief Technical Officer Industrial Internet Consortium [email protected] IIC Journal of Innovation - 1 - Heterogeneous Computing in the Edge INTRODUCTION Heterogeneous computing is the technique where different types of processors with different data path architectures are applied together to optimize the execution of specific computational workloads. Traditional CPUs are often inefficient for the types of computational workloads we will run on edge computing nodes. By adding additional types of processing resources like GPUs, TPUs, and FPGAs, system operation can be optimized. This technique is growing in popularity in cloud data centers, but is nascent in edge computing nodes. This paper will discuss some of the types of processors used in heterogenous computing, leading suppliers of these technologies, example edge use cases that benefit from each type, partitioning techniques to optimize its application, and hardware / software architectures to implement it in edge nodes. Edge computing is a technique through which the computational, storage, and networking functions of an IoT network are distributed to a layer or layers of edge nodes arranged between the bottom of the cloud and the top of IoT devices1. There are many tradeoffs to consider when deciding how to partition workloads between cloud data centers and edge computing nodes, and which processor data path architecture(s) are optimum at each layer for different applications. Figure 1 is an abstracted view of a cloud-edge network that employs heterogenous computing. A cloud data center hosts a number of types of computing resources, with a central interconnect. These computing resources consist of traditional Complex Instruction Set Computing / Reduced Instruction Set Computing (CISC/RISC) servers, but also include Graphics Processing Unit (GPU) accelerators, Tensor Processing Units (TPUs), and Field Programmable Gate Array (FPGA) farms and a few other processor types to help accelerate certain types of workloads.
    [Show full text]
  • Enginecl: Usability and Performance in Heterogeneous Computing
    Accepted in Future Generation Computer Systems: https://doi.org/10.1016/j.future.2020.02.016 EngineCL: Usability and Performance in Heterogeneous Computing Ra´ulNozala,∗, Jose Luis Bosquea, Ramon Beividea aComputer Science and Electronics Department, Universidad de Cantabria, Spain Abstract Heterogeneous systems have become one of the most common architectures today, thanks to their excellent performance and energy consumption. However, due to their heterogeneity they are very complex to program and even more to achieve performance portability on different devices. This paper presents EngineCL, a new OpenCL-based runtime system that outstandingly simplifies the co-execution of a single massive data-parallel kernel on all the devices of a heterogeneous system. It performs a set of low level tasks regarding the management of devices, their disjoint memory spaces and scheduling the workload between the system devices while providing a layered API. EngineCL has been validated in two compute nodes (HPC and commodity system), that combine six devices with different architectures. Experimental results show that it has excellent usability compared with OpenCL; a maximum 2.8% of overhead compared to the native version under loads of less than a second of execution and a tendency towards zero for longer execution times; and it can reach an average efficiency of 0.89 when balancing the load. Keywords: Heterogeneous Computing, Usability, Performance portability, OpenCL, Parallel Programming, Scheduling, Load balancing, Productivity, API 1. Introduction On the other hand, OpenCL follows the Host-Device programming model. Usually the host (CPU) offloads a The emergence of heterogeneous systems is one of the very time-consuming function (kernel) to execute in one most important milestones in parallel computing in recent of the devices.
    [Show full text]
  • A Survey on Hardware-Aware and Heterogeneous Computing on Multicore Processors and Accelerators
    A Survey on Hardware-aware and Heterogeneous Computing on Multicore Processors and Accelerators Rainer Buchty Vincent Heuveline Wolfgang Karl Jan-Philipp Weiß No. 2009-02 Preprint Series of the Engineering Mathematics and Computing Lab (EMCL) KIT – University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association www.emcl.kit.edu Preprint Series of the Engineering Mathematics and Computing Lab (EMCL) ISSN 2191–0693 No. 2009-02 Impressum Karlsruhe Institute of Technology (KIT) Engineering Mathematics and Computing Lab (EMCL) Fritz-Erler-Str. 23, building 01.86 76133 Karlsruhe Germany KIT – University of the State of Baden Wuerttemberg and National Laboratory of the Helmholtz Association Published on the Internet under the following Creative Commons License: http://creativecommons.org/licenses/by-nc-nd/3.0/de . www.emcl.kit.edu A Survey on Hardware-aware and Heterogeneous Computing on Multicore Processors and Accelerators Rainer Buchty 1, Vincent Heuveline 2, Wolfgang Karl 1 and Jan-Philipp Weiss 2,3 1 Chair for Computer Architecture, Institute of Computer Science and Engineering 2 Engineering Mathematics Computing Lab 3 Shared Research Group New Frontiers in High Performance Computing Karlsruhe Institute of Technology, Kaiserstr. 12, 76128 Karlsruhe, Germany Abstract. The paradigm shift towards multicore technologies is offer- ing a great potential of computational power for scientific and industrial applications. It is, however, posing considerable challenges to software de- velopment. This problem is impaired by increasing heterogeneity of hard- ware platforms on both, processor level, and by adding dedicated accel- erators. Performance gains for data- and compute-intensive applications can currently only be achieved by exploiting coarse- and fine-grained parallelism on all system levels, and improved scalability with respect to constantly increasing core counts.
    [Show full text]
  • Take GPU Processing Power Beyond Graphics with GPU Computing on Mali
    Take GPU Processing Power Beyond Graphics with Mali GPU Computing Roberto Mijat Visual Computing Marketing Manager August 2012 Introduction Modern processor and SoC architectures endorse parallelism as a pathway to get more performance more efficiently. GPUs deliver superior computational power for massive data-parallel workloads. Modern GPUs are becoming increasingly programmable and can be used for general purpose processing. Frameworks such as OpenCL™ and Android™ Renderscript enable this. In order to achieve uncompromised features support and performance you need a processor specifically designed for general purpose computation. After an introduction to the technology and how it is enabled, this presentation will explore design considerations of the ARM Mali-T600 series of GPUs that make them the perfect fit for GPU Computing. Copyright © 2012 ARM Limited. All rights reserved. The ARM logo is a registered trademark of ARM Ltd. All other trademarks are the property of their respective owners and are acknowledged Page 1 of 6 The rise of parallel computation Parallelism is at the core of modern processor architecture design: it enables increased processing performance and efficiency. Superscalar CPUs implement instruction level parallelism (ILP). Single Instruction Multiple Data (SIMD) architectures enable faster computation of vector data. Simultaneous multithreading (SMT) is used to mitigate memory latency overheads. Multi-core SMP can provide significant performance uplift and energy savings by executing multiple threads/programs in parallel. SoC designers combine diverse accelerators together on the same die sharing a unified bus matrix. All these technologies enable increased performance and more efficient computation, by doing things in parallel. They are all well established techniques in modern computing.
    [Show full text]
  • Everything You Always Wanted to Know About HSA*
    Everything You Always Wanted to Know About HSA* Explained by Nathan Brookwood Research Fellow, Insight 64 October, 2013 * But Were Afraid To Ask Abstract For several years, AMD and its technology partners have tossed around terms like HSA, FSA, APU, heterogeneous computing, GP/GPU computing and the like, leaving many innocent observers confused and bewildered. In this white paper, sponsored by AMD, Insight 64 lifts the veil on this important technology, and explains why, even if HSA doesn’t entirely change your life, it will change the way you use your desktop, laptop, tablet, smartphone and the cloud. Table of Contents 1. What is Heterogeneous Computing? .................................................................................................... 3 2. Why does Heterogeneous Computing matter? .................................................................................... 3 3. What is Heterogeneous Systems Architecture (HSA)? ......................................................................... 3 4. How can end-users take advantage of HSA? ........................................................................................ 4 5. How does HSA affect system power consumption? ............................................................................. 4 6. Will HSA make the smartphone, tablet or laptop I just bought run better? ........................................ 5 7. What workloads benefit the most from HSA? ...................................................................................... 5 8. How does HSA
    [Show full text]
  • Exploiting Heterogeneous Cpus/Gpus
    Exploiting Heterogeneous CPUs/GPUs David Kaeli Department of Electrical and Computer Engineering Northeastern University Boston, MA General Purpose Computing . With the introduction of multi-core CPUs, there has been a renewed interest in parallel computing paradigms and languages . Existing multi-/many-core architectures are being considered for general-purpose platforms (e.g., Cell, GPUs, DSPs) . Heterogeneous systems are becoming a common theme . Are we returning to the days of the X87 co-processor? . How should we combine multi-core and many-core systems into a single design? Heterogeneous Computing “….electronic systems that use a variety of different types of computational units…..” Wikipedia The elements could have different instruction set architectures The elements could have different memory byte orderings (i.e., endianness) The elements may have different memory coherency and consistency models The elements may only work with specific operating systems and application programming interfaces (APIs) The elements could be integrated on the same or different chips/boards/system Trends in Heterogeneous Computing: X86 Microprocessors . 1978 – Intel 8086 . Designed to run integer-based CPU-bound programs (e.g., Dhrystone) efficiently . No explicit floating point support . 1980 – Intel 8087 . 50 KFLOPS!!!!! . IEEE 754 definition . 1982 – Intel 80286/287 . 1985 – Intel 80386/387 and AMD AM386 w/387 . 1989 – Intel 80486DX . First integrated on-chip X87 Trends in Heterogeneous Computing: X86 Microprocessors . 1996 – Intel Pentium . MMX multimedia extensions . 1997 – AMD K6 . MMX and FP support . 1998 – AMD K6-2 . Extends MMX with 3DNow . SIMD vector instructions for graphics processing . 1999 – Intel Pentium III . Introduces SSE to X86 . 2001-2005 – Intel Pentium IV/Prescott and AMD Opteron/Athalon .
    [Show full text]
  • Heterogeneous Many-Core Computing Trends: Past, Present and Future
    Heterogeneous Many-core Computing Trends: Past, Present and Future Simon McIntosh-Smith University of Bristol, UK 1 ! "Agenda •" Important technology trends •" Heterogeneous Computing •" The Seven Dwarfs •" Important implications •" Conclusions 2 ! "The real Moore’s Law 45 years ago, Gordon Moore observed that the number of transistors on a single chip was doubling rapidly http://www.intel.com/technology/mooreslaw/ 3 ! "Important technology trends The real Moore’s Law The clock speed plateau The power ceiling Instruction level parallelism limit Herb Sutter, “The free lunch is over”, Dr. Dobb's Journal, 30(3), March 2005. On-line version, August 2009. 4 http://www.gotw.ca/publications/concurrency-ddj.htm ! "Moore’s Law today http://www.itrs.net/Links/2009ITRS/2009Chapters_2009Tables/2009_ExecSum.pdf 5 ! "Moore’s Law today Average Moore’s Law = 2x/2yrs 2x/2yrs High-performance MPU, e.g. Intel Nehalem Cost-performance MPU, e.g. Nvidia Tegra http://www.itrs.net/Links/2009ITRS/2009Chapters_2009Tables/2009_ExecSum.pdf 6 ! "Moore’s Law today Average Moore’s Law = 2x/2yrs 2x/2yrs 2-3B transistors High-performance MPU, e.g. Intel Nehalem Cost-performance MPU, e.g. Nvidia Tegra http://www.itrs.net/Links/2009ITRS/2009Chapters_2009Tables/2009_ExecSum.pdf 7 ! "Moore’s Law today Average Moore’s Law = 2x/2yrs 2x/2yrs ~1BHigh-performance transistors MPU, e.g. Intel Nehalem Cost-performance MPU, e.g. Nvidia Tegra http://www.itrs.net/Links/2009ITRS/2009Chapters_2009Tables/2009_ExecSum.pdf 8 ! "Moore’s Law today Average Moore’s Law = 2x/2yrs 2x/3yrs 2x/2yrs High-performance MPU, e.g. Intel Nehalem Cost-performance MPU, e.g.
    [Show full text]
  • Abstract (Pdf)
    A Manycore Coprocessor Architecture for Heterogeneous Computing Andreas Olofsson Adapteva Inc Over the last two decades we have seen amazing strides in raw computing performance in stationary as well as portable systems. Unfortunately, advancements in processing efficiency have come at a slower pace. Without significant improvements in energy efficiency, advances in high performance computing systems will soon stall. As an industry we are now faced with a tough choice. Do we continue using general purpose processors for high performance computing and accept the fact that year over year performance improvement will slow down and or do we look for a new approach with significantly better energy efficiency but which may be harder to use? In this talk, I will present some possible paths forward and propose a heterogeneous computing architecture with an order of magnitude improvement in power efficiency. The proposed architecture leverages the strengths of FPGA, microprocessor, and coprocessor technology to simultaneously offer great processing efficiency and a familiar programming model. Biography: Andreas Olofsson has over ten years of experience in the specification and design of Digital Signal Processors, microcontrollers,and mixed signal chips at Analog Devices and Texas Instruments and has completed over twenty tapeouts in process technologies from 0.35um to 65nm. From 1998-2006, Andreas was a design leader in the development of the TigerSHARC DSP family, a revolutionary new computer architecture which at the time of release was the world leader in floating point energy performance with an efficiency of 0.75GFLOPS/Watt in a 0.13um process. He is currently the president of Adapteva Inc, a fabless semiconductor company with a mission to drastically improve power efficiency in high performance computing applications.
    [Show full text]
  • Programming Models for Heterogeneous Computing
    Programming models for heterogeneous computing Manuel Ujaldón Nvidia CUDA Fellow and A/Prof. Computer Architecture Department University of Malaga Talk outline [30 slides] 1. Introduction [5 slides] 2. The GPU evolution [5 slides] 3. Programming [11 slides] 1. Libraries [2 slides] 2. Switching among hardware platforms [4 slides] 3. Accessing CUDA from other languages [1 slide] 4. OpenACC [4 slides] 4. The new hardware [9 slides] 1. Kepler [8 slides] 2. Echelon [1 slide] I. Introduction 3 An application which favours CPUs: Task parallelism and/or intensive I/O When applications are bags of tasks (few): Apply task parallelism P1 P2 P3 P4 Try to balance tasks while keeping relation to disk files 4 An application which favours GPUs: Data parallelism [+ large scale] When applications are no streaming workflows: Combine task and data parallelism P1 P2 P3 P4 Data parallelism Task parallelism 5 Heterogeneous case: More likely, requires a wise programmer to exploit each processor When applications are streaming workflows: Task parallelism, data parallelism, and pipelining P1 P2 P3 P4 Pipelining Data parallelism Task parallelism 6 Hardware resources and scope of application for the heterogeneous model Highly parallel Graphics computing GPU (Parallel computing) 4 cores 512 cores Control and CPU communication (Sequential computing) Use CPU and GPU: Every processor executes those parts where it gets more effective Productivity-based Data intensive applications applications Oil & Gas Finance Medical Biophysics Numerics Audio Video Imaging 7 There is a hardware platform for each end user Hundreds of researchers Large- More than a million $ scale clusters Between 50.000 and 1.000.000 Thousand of researchers Cluster of Tesla servers dollars Millions of researchers Less than 5000 dollars Tesla graphics card 8 II.
    [Show full text]