Skip to main content

2020 | OriginalPaper | Buchkapitel

Parallel Tiled Cache and Energy Efficient Code for Zuker’s RNA Folding

verfasst von : Marek Palkowski, Wlodzimierz Bielecki

Erschienen in: Parallel Processing and Applied Mathematics

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In this paper, we consider Zuker’s RNA folding algorithm, which is a challenging dynamic programming task to optimize because it is resource intensive and has a large number of non-uniform dependences. We apply a previously published approach, proposed by us, to automatically tile and parallelize each loop in the Zuker RNA Folding loop nest, which is within the polyhedral model. First, for each loop nest statement, rectangular tiles are formed within the iteration space of the Zuker loop nest. Then, those tiles are corrected to honor all dependences exposed for the original loop nest. Correction is based on applying the exact transitive closure of a dependence graph. We implemented our approach as a part of the source-to-source TRACO compiler. We compare code performance and energy consumption with those obtained with the state-of-the-art PluTo compiler based on the affine transformation framework as well as with those generated by means of the cache-efficient manual method Transpose. Experiments were carried out on a modern multi-core processor to achieve the significant locality improvement and energy saving for generated code.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
2
The source codes are available at the repository https://​github.​com/​markpal/​zuker. The tiled codes are too long to present in this paper.
 
Literatur
1.
Zurück zum Zitat Bondhugula, U., et al.: A practical automatic polyhedral parallelizer and locality optimizer. SIGPLAN Not. 43(6), 101–113 (2008)CrossRef Bondhugula, U., et al.: A practical automatic polyhedral parallelizer and locality optimizer. SIGPLAN Not. 43(6), 101–113 (2008)CrossRef
2.
Zurück zum Zitat Griebl, M.: Automatic parallelization of loop programs for distributed memory architectures (2004) Griebl, M.: Automatic parallelization of loop programs for distributed memory architectures (2004)
4.
Zurück zum Zitat Irigoin, F., Triolet, R.: Supernode partitioning. In: Proceedings of the 15th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL 1988, pp. 319–329. ACM, New York (1988) Irigoin, F., Triolet, R.: Supernode partitioning. In: Proceedings of the 15th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL 1988, pp. 319–329. ACM, New York (1988)
5.
Zurück zum Zitat Jacob, A.C., Buhler, J.D., Chamberlain, R.D.: Rapid RNA folding: analysis and acceleration of the Zuker recurrence. In: 2010 18th IEEE Annual International Symposium on Field-Programmable Custom Computing Machines, pp. 87–94, May 2010 Jacob, A.C., Buhler, J.D., Chamberlain, R.D.: Rapid RNA folding: analysis and acceleration of the Zuker recurrence. In: 2010 18th IEEE Annual International Symposium on Field-Programmable Custom Computing Machines, pp. 87–94, May 2010
7.
Zurück zum Zitat Liu, L., Wang, M., Jiang, J., Li, R., Yang, G.: Efficient nonserial polyadic dynamic programming on the cell processor. In: IPDPS Workshops, Anchorage, Alaska, pp. 460–471. IEEE (2011) Liu, L., Wang, M., Jiang, J., Li, R., Yang, G.: Efficient nonserial polyadic dynamic programming on the cell processor. In: IPDPS Workshops, Anchorage, Alaska, pp. 460–471. IEEE (2011)
8.
Zurück zum Zitat Markham, N.R., Zuker, M.: UNAFold, pp. 3–31. Humana Press, Totowa (2008) Markham, N.R., Zuker, M.: UNAFold, pp. 3–31. Humana Press, Totowa (2008)
9.
Zurück zum Zitat Mathuriya, A., Bader, D.A., Heitsch, C.E., Harvey, S.C.: GTfold: a scalable multicore code for RNA secondary structure prediction. In: Proceedings of the 2009 ACM Symposium on Applied Computing, SAC 2009, pp. 981–988. ACM, New York (2009) Mathuriya, A., Bader, D.A., Heitsch, C.E., Harvey, S.C.: GTfold: a scalable multicore code for RNA secondary structure prediction. In: Proceedings of the 2009 ACM Symposium on Applied Computing, SAC 2009, pp. 981–988. ACM, New York (2009)
10.
Zurück zum Zitat Mullapudi, R.T., Bondhugula, U.: Tiling for dynamic scheduling. In: Rajopadhye, S., Verdoolaege, S. (eds.) Proceedings of the 4th International Workshop on Polyhedral Compilation Techniques, Vienna, Austria, January 2014 Mullapudi, R.T., Bondhugula, U.: Tiling for dynamic scheduling. In: Rajopadhye, S., Verdoolaege, S. (eds.) Proceedings of the 4th International Workshop on Polyhedral Compilation Techniques, Vienna, Austria, January 2014
12.
Zurück zum Zitat Palkowski, M., Bielecki, W.: Parallel tiled Nussinov RNA folding loop nest generated using both dependence graph transitive closure and loop skewing. BMC Bioinformatics 18(1), 290 (2017)CrossRef Palkowski, M., Bielecki, W.: Parallel tiled Nussinov RNA folding loop nest generated using both dependence graph transitive closure and loop skewing. BMC Bioinformatics 18(1), 290 (2017)CrossRef
13.
Zurück zum Zitat Palkowski, M., Bielecki, W.: Accelerating minimum cost polygon triangulation code with the TRACO compiler. In: Communication Papers of the 2018 Federated Conference on Computer Science and Information Systems, FedCSIS 2018, Poznań, Poland, 9–12 September 2018, pp. 111–114 (2018) Palkowski, M., Bielecki, W.: Accelerating minimum cost polygon triangulation code with the TRACO compiler. In: Communication Papers of the 2018 Federated Conference on Computer Science and Information Systems, FedCSIS 2018, Poznań, Poland, 9–12 September 2018, pp. 111–114 (2018)
14.
Zurück zum Zitat Palkowski, M., Bielecki, W.: Parallel tiled codes implementing the Smith-Waterman alignment algorithm for two and three sequences. J. Comput. Biol. 25(10), 1106–1119 (2018)CrossRef Palkowski, M., Bielecki, W.: Parallel tiled codes implementing the Smith-Waterman alignment algorithm for two and three sequences. J. Comput. Biol. 25(10), 1106–1119 (2018)CrossRef
16.
Zurück zum Zitat de Melo, A.C.: The new linux ‘perf’ tools. Technical report, Linux Kongress, Georg Simon Ohm University Nuremberg, Germany (2010) de Melo, A.C.: The new linux ‘perf’ tools. Technical report, Linux Kongress, Georg Simon Ohm University Nuremberg, Germany (2010)
17.
Zurück zum Zitat Tan, G., Feng, S., Sun, N.: Locality and parallelism optimization for dynamic programming algorithm in bioinformatics. In: SC 2006 Conference, Proceedings of the ACM/IEEE, pp. 41–41 (2006) Tan, G., Feng, S., Sun, N.: Locality and parallelism optimization for dynamic programming algorithm in bioinformatics. In: SC 2006 Conference, Proceedings of the ACM/IEEE, pp. 41–41 (2006)
19.
Zurück zum Zitat Wonnacott, D.G., Strout, M.M.: On the scalability of loop tiling techniques. In: Proceedings of the 3rd International Workshop on Polyhedral Compilation Techniques (IMPACT), January 2013 Wonnacott, D.G., Strout, M.M.: On the scalability of loop tiling techniques. In: Proceedings of the 3rd International Workshop on Polyhedral Compilation Techniques (IMPACT), January 2013
20.
Zurück zum Zitat Xue, J.: Loop Tiling for Parallelism. Kluwer Academic Publishers, Norwell (2000)CrossRef Xue, J.: Loop Tiling for Parallelism. Kluwer Academic Publishers, Norwell (2000)CrossRef
21.
Zurück zum Zitat Zhao, C., Sahni, S.: Cache and energy efficient algorithms for Nussinov’s RNA folding. BMC Bioinformatics 18(15), 518 (2017)CrossRef Zhao, C., Sahni, S.: Cache and energy efficient algorithms for Nussinov’s RNA folding. BMC Bioinformatics 18(15), 518 (2017)CrossRef
22.
Zurück zum Zitat Zuker, M., Stiegler, P.: Optimal computer folding of large RNA sequences using thermodynamics and auxiliary information. Nucleic Acids Res. 9(1), 133–148 (1981)CrossRef Zuker, M., Stiegler, P.: Optimal computer folding of large RNA sequences using thermodynamics and auxiliary information. Nucleic Acids Res. 9(1), 133–148 (1981)CrossRef
Metadaten
Titel
Parallel Tiled Cache and Energy Efficient Code for Zuker’s RNA Folding
verfasst von
Marek Palkowski
Wlodzimierz Bielecki
Copyright-Jahr
2020
DOI
https://doi.org/10.1007/978-3-030-43222-5_3