1 / 40

OCCBIO 2007 Tutorial on FPGA-Acceleration Processors

OCCBIO 2007 Tutorial on FPGA-Acceleration Processors. The Promise of FPGA-Acceleration Processors to Bioinformatics Research Anthony D. Johnson The University of Toledo. FPGA Acceleration Processors - Why?. Accelerating Bioinformatics beyond microprocessors,

laird
Download Presentation

OCCBIO 2007 Tutorial on FPGA-Acceleration Processors

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OCCBIO 2007Tutorial on FPGA-Acceleration Processors

  2. The Promise of FPGA-Acceleration Processors to Bioinformatics ResearchAnthony D. JohnsonThe University of Toledo

  3. FPGA Acceleration Processors - Why? • Accelerating Bioinformatics beyond microprocessors, • Inherent limitations of microprocessors, • already at the upper limit on clock speed, • limited degree of parallelism in hardware, • fixed hardware architecture not adapted to: • FASTA, • BLAST. • Acceleration Processors already developed using: • high parallelism in hardware, • mature technologies.

  4. Computational tasks in Bioinformatics • At the top abstraction level, most Bioinformatics tasks can be described as partial matching of character strings, or string patterns, • Bioinformatics research tasks characterized by: • large data sets, • minimal dependency between data elements, • huge numbers of simple processing steps.

  5. Computer Architectures • Jargons are living, changing, confusing: • Von Neumann architecture is defined by basic hardware subsystems and their interaction,

  6. Computer Architectures - continued • in the current jargon, architecture is defined by the instruction set of the processor, • x86 = IA-32: Pentium, Athlon, • IA-64: Itanium, 2001, • PowerPC: PPC620, IBM, • SPARC, SUN, • PA-RISC: PA8700, HewletPackard; • microarchitecture determines how processor executes instructions.

  7. Microprocessor Architectures: Pipelines • Still basic Von Neumann architecture, • architectures of subsystems have undergone extensive development, • first to achieve one instruction per clock cycle, exploiting ILP, Pipe-lining: executes in parallel different parts of multiple instructions on different parts of the pipe-lined processor's hardware,

  8. Microprocessor Architectures: Threading • Execution of multiple instructions per clock cycle, exploiting independent code sequence levelparallelism by: • threading, which uses multiple pipe-lines to execute multiple instruction sequences concurrently . • both, pipelining and threading are not always clear winners, • pipelining speedup is eroded by hazards which stall execution of an instruction: • structural hazards consequence of lack of hardware parallelism, • data hazards consequence of instruction dependencies, • control hazards consequence of branches which change the PC.

  9. Microprocessor Architectures-Summary In the end: • fixed architectures, • compromise between demands of different applications, • programming using HLLs, • compilers adapt processing to the instruction set, • speed is limited, and paid for, by power dissipation. • powering supercomputers takes up to 50MW.

  10. Multiple platform computing systems • offer hardware parallelism in the form of: • computer clusters, • multi-core processors; • slow data transfer between: • processors and shared memory, • processors and distributed memory; • powering supercomputers is costly (up to 50MW).

  11. Field Programmable Gate Arrays • Very Large Scale Integration (VLSI) electronic components, • manufactured using cutting edge VLSI technologies, • architectures completely application-independent, • configurable functionality: • after the manufacturing of the FPGA has been completed, • on the lowest functional module level, • "on the fly" - while running an application, • vast configurable interconnect resources, • massive hardware parallelism, • power consumption significantly below microprocessors.

  12. FPGA Architectures • Arrays of identical configurable Logic Circuit Modules (LCMs), • vendors refer to propriotary LCMs by different names: • Logic Module (Actel), • Logic Array Block (Altera), • Configurable Logic Block (Xilinx); • Architectures loosely classified by the size of LCMs: • fine-grain, • coarse-grain, • mixed-grain.

  13. Virtex-2 LCM • Includes: • fourslices, • oneswitch matrix.

  14. Virtex-2 Half-Slice arcitecture

  15. Virtex-2 slice Configurations • Selection: • Look Up Table, • Shift Register, • Memory.

  16. FPGA Architectures - continued • modern FPGAs feature a variety of specialized modules: • adder circuitry, • multiplier arrays, • memory blocks, • whole microprocessors, • blocks of fast I/O ports, • Digital Delay Loops for clock skew and frequency management.

  17. Virtex-2 Memory and Multipliers • Close coupling between: memory and multiplier blocks.

  18. FPGA Characteristics • variable number of LCMs - 4k to 200k, • variable number of I/O connection pads - up to 1400, • speed grades - several, • package types – all usual and specialized packages.

  19. High Level programming Languages • Every researcher is fluent in one HLL, • one HLL is included in all Bachelor Degree curricula, • HLLs’ characteristics: • semantics and syntax are oriented to the application for which originally developed, • hundreds have been developed with some goal in mind - small percentage is still in use.

  20. HLLs - continued • algorithms described by consecutive operations, • require translation to a lower level language, • translation is platform/compiler dependent, • source code is nominally portable.

  21. Hardware Description Languages (HDLs) • Only few engineering students learn an HDL, • HDLs’ characteristics: • designed to describe hardware, • intended originally for hardware simulation, • describe algorithms by concurrent operations on electrical signals.

  22. HDLs - continued • there aretwo standardized HDLs : • VHDL developed under a grant from DOD, • VHDL = VHSIC HDL, • VHSIC= Very High Speed Integrated Circuits, • Verilog is a product of a single company.

  23. Configuring the FPGAs After an HDL code has been extensively simulated: 1. synthesis tool converts the code into a net-list form, • due to the original purpose, NOTall HDL constructs are synthesizable! 2. vendor tools map the net list onto the FPGA's hardware, 3. designer specifies mapping constraints to meat the timing requirements, 4. extensive verification after each step in the process.

  24. Hybrid HLL/HDL Languages • Incorporate the hardware component into an HLL, • tend to bear resemblance to the C-language, • their name predominantly contains the character C , • aim to imply that power of acceleration processors is at finger tips of researchers, • re-education still needed to transition from sequential to parallel programming.

  25. Hybrid HLL/HDL - continued • development of libraries of common functions crucial for adoption, • some vendors provide tools for conversion form fortran and C to Hybrid-C; • After the Hybrid-C code has been obtained: • all steps listed for HDLs are necessary, • vendors are working on automating the steps, • automation implies artificial intelligence solutions.

  26. A sample of Hybrids and tools for converting C code to HDL • C2H ChiMPS Catapult-C • Handel-C HARWEST Carte • Mitrion-C SystemC Chapel • ROCCC Impulse-C DIME-C

  27. Computing platforms with FPGA acceleration processors • General trend: patforms with hybrid processing resources. • Means for connecting FPGAs to microprocessors: • main processor bus, • memory slot, • I/O slot, • HTX expansion bus slot.

  28. A Shared Hybrid Architecture • Two Opteron processor sockets on a board, • sockets linked by a high-speed, HyperTransport (HTX) bus, • one socket contains an Opteron – for control tasks, • the other holds an FPGA card – for intensive data-processing, • examples: • XtremeData’s XD1000 FPGA Coprocessor Module, • DRC’s Reconfigurable Processing Unit, RPU110-L200.

  29. Other Interesting Hybrid Architectures • Systems using two processors and one HTX slot: • IBM x3455, • HP DL145 Server. • Other architectures: • Cray XD1 cluster supercomputer with proprietary extension modules, • first couple: Opteron - FPGA - for processing, • second couple: Opteron - FPGA - for communication; • Celoxica’s RCHTX high-performance computing board plugs into an HTX slot, • SRC Computers plug MAP processor into a memory slot.

  30. Other significant Hybrid Platforms • Mitrion Virtual Processor: • runs on Virtex-4 FPGAs on the SGI RASC RC100 compute blades, • runs commercially available BLAST application; • SGI Altix family servers are equipped with • SGI RASC RC100 computation blades, • Nallatech System uses: • BenONE FPGA-based computing card on H100 Series platform, • Cray XT Super Computers: • will replace the XD1 line, • will use a DRC’s extension module with Virtex-4 FPGAs.

  31. Benchmarks of Bioinformatics Algorithms • FASTA running on Cray XD1 Hybrid System, • benchmarking results show unprecedented FPGA speedups [2]. • Demonstrating substantial benefits to the users generates the traction for a breakthrough into mainstream HPC markets.

  32. Micro-RNA Comparison benchmark • query sequences: 3685 sequences (~20 characters ) • databasefile: the first of all 24 human genome chromosomes • Platform 1: Cray XD1, using one Virtex2 Pro 50 FPGA • Speedup vs. Opteron 10X

  33. Bacillus_anthracis DNA Comparison • query sequences: AE017024 through AE017041, (300K characters per sequence) • database file: AE016879 (more than 5M characters) • Platform 1: Cray XD1, using one Virtex2 Pro 50 FPGA • speedup vs. Opteron: 50X • Platform 2: Cray XD1, usingone Virtex4 LX160 FPGA • speedup vs. Opteron: 100X (from 8 hours down to 5 minutes) • Platform 3: Cray XD1, usingfive Virtex4 LX160 FPGAs • speedup vs. Opteron: 500X [3] • Speedup scales linearly with the number of FPGAs !!!

  34. Amino Acid Search • query sequences OpenFPGA : ras (60 characters) myc (189 characters) sec (351 characters) • database file: 24 human genome chromosomes translated into amino acids • Platform 1: Cray XD1, using one Virtex-II Pro 50 • Speedup vs. Opteron: 20X to 50X • Speedup increases with the sequence length.

  35. Other Benchmark Outcomes • After the 100X and 500X speedups by FPGA-acceleration processors on XD1: • all other reported speedups are less significant, • few researchers are likely to settle for 10X to 20X, • all vendors will scramble to catch up with Cray, • Bioinformatics should hope for a much better HPC landscape in the near future.

  36. Recent References • [1] Tripp, J.L., Gokhale, M.B, Peterson, K.D.: Trident: From High-Level Language to Hardware Circuitry, IEEE Computer, March 2007,pp.28-37. • [2] Storaasli, O., YU, W., Strenski, D., Multbi, J.,: Evaluation of FPGA-Based Biological Applications, CUG 2007. • [3] Storaasli, O., ORNL’s Future Technologies Group - personal communication. • [4] Lazou,C.: FPGAs in HPC Landscape, EnterTheGrid -PrimeurMonthly, 2007.

  37. On research supported by the LDRD Program of ORNL for the U.S. Department of Energy under Contract DE-AC05-00OR22725 Acknowledgment: Results courtesy of:

  38. Other Candidates for Acceleration Processors • General Purpose Graphics Processing Units (GPGPUs) • stream processors (stream = set of records which require similar computation) • GPUs enhanced for supporting some other FP applications, • extreme parallelism of the GPU pipeline makes them suitable for applications with: • large data sets, • high parallelism, • minimal dependency between data elements, • may lack reliability needed in scientific HPC.

  39. Other Candidates for Acceleration Processors • Cell Processor by IBM, Toshiba & Sony • designed for PlayStation’s enhanced graphics processing, • contains one scalar and eight vector processors. • Vector processors: • pipeline both, the instruction execution and the data I/O, • have a degree of superscalar implementation, i.e. parallelism in hardware.

  40. Other candidates for Acceleration Processors Array Processor by ClearSpeed • Multithreaded Array Processor for floating point operations: • 64 processing elements in an 8x8 array, • FP unit, • local memory, 384KB SRAM, • I/O ports; • programmable only in C language.

More Related