Presentation is loading. Please wait.

Presentation is loading. Please wait.

BioPerf: An Open Benchmark Suite for Evaluating Computer Architecture on Bioinformatics and Life Science Applications David A. Bader.

Similar presentations


Presentation on theme: "BioPerf: An Open Benchmark Suite for Evaluating Computer Architecture on Bioinformatics and Life Science Applications David A. Bader."— Presentation transcript:

1 BioPerf: An Open Benchmark Suite for Evaluating Computer Architecture on Bioinformatics and Life Science Applications David A. Bader

2 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Collaborators Vipin Sachdeva (U New Mexico, Georgia Tech, IBM Austin) Tao Li (U Florida) Yue Li (U Florida) Virat Agrawal (IIT Delhi) Gaurav Goel (IIT Delhi) Abhishek Narain Singh (IIT Delhi) Ram Rajamony (IBM Austin)

3 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Acknowledgment of Support National Science Foundation –CAREER: High-Performance Algorithms for Scientific Applications (06-11589; 00- 93039) –ITR: Building the Tree of Life -- A National Resource for Phyloinformatics and Computational Phylogenetics (EF/BIO 03-31654) –DEB: Ecosystem Studies: Self-Organization of Semi-Arid Landscapes: Test of Optimality Principles (99-10123) –ITR/AP: Reconstructing Complex Evolutionary Histories (01-21377) –DEB Comparative Chloroplast Genomics: Integrating Computational Methods, Molecular Evolution, and Phylogeny (01-20709) –ITR/AP(DEB): Computing Optimal Phylogenetic Trees under Genome Rearrangement Metrics (01-13095) –DBI: Acquisition of a High Performance Shared-Memory Computer for Computational Science and Engineering (04-20513). IBM PERCS / DARPA High Productivity Computing Systems (HPCS) –DARPA Contract NBCH30390004

4 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Contributions of this Work An open source, freely-available, freely- redistributable suite of applications and inputs, BioPerf, which spans a wide variety of bioinformatics application –www.bioperf.org Performance study on PowerPC G5, IBM Mambo simulator, and Alpha

5 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Outline Motivation Bioinformatics Workload BioPerf Suite Performance Analysis on PowerPC G5 and Mambo Conclusions and Future Work

6 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Motivation Improve performance on a wide range of bioinformatics applications –Heterogeneous in problems, algorithms, applications BioPerf workload assembled as a representative set of bioinformatics applications important now and expected to increase in usage over the next 510 years Decide if this is YAW yet another workload or rather unique in its characteristics

7 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Related Work General benchmark suites: SPEC Domain-specific benchmarks –TPC, EEMBC, SPLASH, SPLASH-2 Few special benchmark for bioinformatics Previous attempts have been incomplete: Analysis on old architectures (BioBench) [Albayraktaroglu et al., ISPASS 2005] Included proprietary codes in benchmark suite (BioInfoMark) [Li et al., MASCOTS 2005] Previous suites not available for download Included several non-redistributable packages Inputs not articulated and not included with benchmark suite for similar comparisons

8 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Guiding Principles for BioPerf Coverage: The packages must span the heterogeneity of algorithms and biological and life science problems important today as well as (in our view) increasing in importance over the next 5-10 years. Popularity: Codes with larger numbers of users are preferred because these packages represent a greater percentage of the aggregate workloads used in this domain. Open Source: Open source code allows the scientific study of the applicatio performance, the ability to place hooks into the code, and eases porting to new architectures. Licensing: Only packages for which their licensing allows free redistribution as open source are included. This requirement eliminated several popular packages, but was kept as a strict requirement to encourage the broadest use of this suite. Portability: Preference was given to packages that used standard programming languages and could easily be ported to new systems (both in sequential and parallel languages). Performance: We gave slight preference to packages whose performance is well- characterized in other studies. In addition, we strived for computationally- demanding packages and included parallel versions where available.

9 BioPerf: an open bioinformatics and life sciences workload, David A. Bader BioPerf Suite Pre-compiled binaries (PowerPC, x86, Alpha) Scalable Input datasets with each code for fair comparisons Scripts for installation, running and collecting outputs Documentation for compiling and using the suite Parallel codes where available Available for download from www.bioperf.orgwww.bioperf.org

10 BioPerf: an open bioinformatics and life sciences workload, David A. Bader BioPerf workload AreaPackageExecutables Sequence homology Word-based BLASTblastp, blastn Profile-based HMMERhmmpfam, hmmsearch Sequence Alignment Pairwise FASTAssearch, fasta Multiple CLUSTALWclustalw, clustalw_smp Multiple TCOFFEEtcoffee Phylogeny Parsimony/Likelihood PHYLIPdnapenny, promlk Gene Rearrangement GRAPPAgrappa Protein Structure Prediction PREDATORpredator Gene Finding GLIMMERglimmer,glimmer-package Molecular Dynamics CEce

11 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Sequence Alignment Sequence Alignment one of the most useful techniques in computational biology –Sequence Alignment : Stacking the sequences against each other, with gaps if necessary, to expose similarity. ALIGNMENT S1 : ACGCTGATATTA ACGCTGATAT---TA S2 : AGTGTTATCCCTA AG--TGTTATCCCTA S1 : ACGCTGATATTA ACGCTGATAT---TA S2 : AGTGTTATCCCTA AG--TGTTATCCCTA MATCH

12 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Sequence Alignment Sequence Alignment one of the most useful techniques in computational biology –Sequence Alignment : Stacking the sequences against each other, with gaps if necessary, to expose similarity. ALIGNMENT S1 : ACGCTGATATTA ACGCTGATAT---TA S2 : AGTGTTATCCCTA AG--TGTTATCCCTA S1 : ACGCTGATATTA ACGCTGATAT---TA S2 : AGTGTTATCCCTA AG--TGTTATCCCTA MISMATCH

13 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Sequence Alignment Sequence Alignment one of the most useful techniques in computational biology –Sequence Alignment : Stacking the sequences against each other, with gaps if necessary, to expose similarity. ALIGNMENT S1 : ACGCTGATATTA ACGCTGATAT---TA S2 : AGTGTTATCCCTA AG--TGTTATCCCTA S1 : ACGCTGATATTA ACGCTGATAT---TA S2 : AGTGTTATCCCTA AG--TGTTATCCCTA GAPS

14 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Multiple Sequence Alignment Bring the greatest number of similar characters into same column. Provides much more information than pairwise alignment VSNS S N A A S VSN S S NA AS Run-time of dynamic programming solution = O(2 k n k ) 6 sequences of length 100 6.4X10 13 calculations Hence heuristics employed

15 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Sequence Homology Find similar sequences (DNA/protein) to an unknown sequence (DNA/protein). Computationally expensive Size of data is huge and grows exponentially every year Public databases available: Genbank, SwissProt, PDB NCBI GenbankDNA sequences5 million sequences SwissprotProtein Sequences160,000 sequences PDBProtein Structure32,000 structures Problems with computational approach Exact alignment is O(l 2 ) dynamic programming solution Quicker but less accurate heuristics employed

16 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Blast Basic Local Alignment Search Tool Developed by NCBI The most important bioinformatics application for its popularity Blast blastp blastn The homo sapiens hereditary haemochromatosis protein Non-redundant protein sequence nr developed by NCBI

17 BioPerf: an open bioinformatics and life sciences workload, David A. Bader FASTA Also performs pairwise sequence alignment FASTA Fasta34 ssearch The human LDL receptor precursor nr

18 BioPerf: an open bioinformatics and life sciences workload, David A. Bader ClustalW Multiple sequence alignment (MSA) program ClustalW Clustalw Clustalw_smp 317 Ureaplasma s gene sequences from NCBI Bacteria genomes database

19 BioPerf: an open bioinformatics and life sciences workload, David A. Bader T-Coffee A sequential MSA similar to ClustalW with higher accuracy and complexity T-coffeeTcoffee 50 sequences of average length 850 extracted from the Prefab database

20 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Hmmer Align multiple sequences by using hidden Markov models Hmmer hmmsearch hmmpfam Brine shrimp globin HMM of 50 aligned globin sequences

21 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Phylogenetic Reconstruction Study the evolution of all sequences and all species Find the best among all possible trees. Given n taxa, number of possible trees (2n-3)!! 10 taxa 2 million trees Approaches like maximum parsimony, maximum likelihood, among others The Tree of Life (10-100M organisms)

22 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Phylogeny Reconstruction: Phylip Collection of programs for inferring phylogenies Methods include –Maximum parsimony –Maximum likelihood –Distance based methods. Input: Aligned dataset of 92 cyclophilins proteins of eukaryotes each of length 220

23 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Phylogeny Reconstruction: GRAPPA Genome Rearrangements Analysis under Parsimony and other Phylogenetic Algorithm Freely-available, open-source, GNU GPL already used by other computational phylogeny groups, Caprara, Pevzner, LANL, FBI, Smithsonian Institute, Aventis, GlaxoSmithKline, PharmCos. Gene-order Phylogeny Reconstruction Breakpoint Median Inversion Median over one-billion fold speedup from previous codes Parallelism scales linearly with the number of processors [Bader, Moret, Warnow] Tobacco Campanulaceae Bob Jansen, UT-Austin; Linda Raubeson, Central Washington U Input: 12 bluebell flower species of 105 genes A B C D E F A B C D E F X Y Z W Gene-order based phylogeny

24 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Protein Structure Prediction Find the sequences, three dimensional structures and functions of all proteins and vice-versa –Why computationally? Experimental Techniques slow and expensive –Problems with computational approach Little understanding of how structure develops Does function really follow structure ?

25 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Protein Structure : Predator Tool for finding protein structures. Relies on local alignments from BLAST, FASTA Input: 20 sequences from Swissprot each of length about 7000 residues.

26 BioPerf: an open bioinformatics and life sciences workload, David A. Bader CE (Combinatorial Extension) Find structural similarities between the primary structures of pairs of proteins. CEce Two different types of hemoglobin which is used to transport oxygen

27 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Gene-Finding: Glimmer Gene-Finding: Find regions of genome which code for proteins. Widely used gene finding tool for microbial DNA. Input: Bacteria genome consisting of 9.2 million base pairs

28 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Pre-compiled binaries PowerPC x86 Alpha

29 BioPerf: an open bioinformatics and life sciences workload, David A. Bader BioPerf Performance Studies Analysis at the instruction and memory level on PowerPC Livegraph data helps to visualize performance as it varies during phases of a run Identify bottlenecks of current processors and make inputs for better performance on future processors Ongoing work using Mambo simulator (IBM PERCS) Pre-compiled Alpha binaries for the majority of benchmarks for simulation In order to reduce the simulation time, we collect the simulation points for those benchmarks by using SimPoint

30 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Conclusions Bioinformatics is a rapidly evolving field of increasing importance to computing BioPerf is a first step to characterize bioinformatics workload: infrastructure to evaluate performance Performance data collected so far provides insight into the limitations of current architectures

31 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Related Publications D.A. Bader, V. Sachdeva, A. Trehan, V. Agarwal, G. Gupta, and A.N. Singh, BioSPLASH: A sample workload from bioinformatics and computational biology for optimizing next-generation high-performance computer systems, (Poster Session), 13th Annual International Conference on Intelligent Systems for Molecular Biology (ISMB 2005), Detroit, MI, June 25-29, 2005.13th Annual International Conference on Intelligent Systems for Molecular Biology (ISMB 2005) D.A. Bader, V. Sachdeva, BioSPLASH: Incorporating life sciences applications in the architectural optimizations of next-generation petaflop-system,(Poster Session), The 4th IEEE Computational Systems Bioinformatics Conference (CSB 2005), Stanford University, CA, August 8-11, 2005The 4th IEEE Computational Systems Bioinformatics Conference (CSB 2005) D.A. Bader, Y. Li, T. Li, V. Sachdeva, BioPerf: A Benchmark Suite to Evaluate High-Performance Computer Architecture on Bioinformatics Applications, The IEEE International Symposium on Workload Characterization (IISWC 2005), Austin, TX, October 6-8, 2005The IEEE International Symposium on Workload Characterization (IISWC 2005)

32 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Backup Slides

33 BioPerf: an open bioinformatics and life sciences workload, David A. Bader BioPerf on PowerPC PowerPC G5 dual-processor machine –Uniprocessor performance ( nvram boot-args=1 ) –CPU frequency of 1.8 Ghz –1 GB of physical memory available. Codes compiled using gcc-3.3 with no additional optimizations. MOnster tool of C.H.U.D package used for collecting hardware performance counters –Instruction and Memory level analysis

34 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw Algorithm Summary Pairwise alignment of all sequences against one another. –dynamic programming step Generate guide tree for aligning sequences –Sequences with highest similarity get aligned first Sequence-group and group-group alignments (progressive) –All possible pairwise alignments between sequence and group are tried. Highest scoring pair is how it gets aligned to the group. –All possible pairwise alignments of sequences between groups are tried; highest scoring pair is how groups get aligned –Clustalw uses calculations from step 1 for this step

35 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw Livegraphs Pairwise alignment step (70.1%) ppc instructions lag the total instructions Progressive alignment step (29.8%) Almost all instructions are ppc Guide tree formation (<0.1%) of total time Input: 318 sequences each of length almost 1050

36 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw Livegraphs L1D hit rate almost 100% Instructios executed low L1D Hit Rate falls down Instructions executed increase remarkably

37 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw Livegraphs Branch mispredicts is high in dynamic programming Instruction count is low Branch mispredicts falls in progressive alignment Instruction count increases in progressive alignment Is performance directly related to branch mispredicts ?

38 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw livegraphs Almost all branch mispredicts caused due to condition register mispredict

39 BioPerf: an open bioinformatics and life sciences workload, David A. Bader But what about loads per instruction ? Loads per instruction is high in dynamic programming Instruction count is low Loads per instruction falls in progressive alignment Instruction count increases in progressive alignment

40 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw livegraphs - smaller inputs Smaller input - 44 sequences of length 583 Same performance characteristics but with longer progressive alignment step

41 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw livegraphs – smaller inputs Same performance characteristics but with longer progressive alignment step

42 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw livegraphs – smaller inputs Almost all branch mispredicts caused due to condition register mispredict

43 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw livegraphs – smaller input Same performance characteristics but with longer progressive alignment step Can we use Mambo with smaller input sizes for more performance analysis ?

44 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Using Mambo with Clustalw and other applications Collect separate outputs for each phase of the run Inserted callthru exit into the source code separating each part Dump the system statistics at the end of each phase –mysim stats dump –mysim caches stats dump –MamboClearSystemStats (clean the previous statistics) Multiple mysim go in the.tcl file.

45 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Clustalw on Mambo Pairwise alignment – high loads and arithmetic instructions Progressive alignment uses results from first step – high branch and loads Mambo offers far more detailed instruction profiling than G5 ?

46 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Comparing large datasets with small datasets Is it feasible to use smaller input datasets for accurate simulation results ? Branch mispredicts lesser due to smaller dynamic programming step Branch mispredicts much higher High increase in L1d hit rate

47 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Summary of BioPerf performance Highest instructions executed per cycle High loads per instruction Low branch mispredicts Low TLB misses High L1d Hit rate Highest branch mispredicts and TLB misses High % of ld/st/io instruction Very low % of ld/st/io

48 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Summary of BioPerf performance High loads per instruction High branch mispredicts Mid-range instructions per cycle Low TLB misses Low % of ld/st/io instructions

49 BioPerf: an open bioinformatics and life sciences workload, David A. Bader Summary of BioPerf Performance Lowest instruction rate Lowest loads per instruction Low branch mispredicts and TLB misses Lowest L1D and L2D hit rate Low % of ld/st/io instructions


Download ppt "BioPerf: An Open Benchmark Suite for Evaluating Computer Architecture on Bioinformatics and Life Science Applications David A. Bader."

Similar presentations


Ads by Google