skip to main content
10.1145/3326229.3326273acmotherconferencesArticle/Chapter ViewAbstractPublication PagesissacConference Proceedingsconference-collections
research-article

Big Prime Field FFT on Multi-core Processors

Published:08 July 2019Publication History

ABSTRACT

We report on a multi-threaded implementation of Fast Fourier Transforms over generalized Fermat prime fields. This work extends a previous study realized on graphics processing units to multi-core processors. In this new context, we overcome the less fine control of hardware resources by successively using FFT in support of the multiplication in those fields. We obtain favorable speedup factors (up to 6.9x on a 6-core, 12 threads node, and 4.3x on a 4-core, 8 threads node) of our parallel implementation compared to the serial implementation for the overall application thanks to the low memory footprint and the sharp control of arithmetic instructions of our implementation of generalized Fermat prime fields.

References

  1. Ayaz Ali, Lennart Johnsson, and Jaspal Subhlok. 2007. Scheduling FFT Computation on SMP and Multicore Systems. In Proceedings of the 21st Annual International Conference on Supercomputing (ICS '07). ACM, New York, NY, USA, 293--301. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Elizabeth A. Arnold. 2003. Modular Algorithms for Computing Gröbner Bases. Journal of Symbolic Computation, Vol. 35, 4 (2003), 403--419. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Mohammadali Asadi, Alexander Brandt, Changbo Chen, Svyatoslav Covanov, Farnam Mansouri, Davood Mohajerani, Robert Moir, Marc Moreno Maza, Linxiao Wang, Ning Xie, and Yuzhen Xie. 2019. Basic Polynomial Algebra Subprograms (BPAS). http://www.bpaslib.org.Google ScholarGoogle Scholar
  4. Paul Barrett. 1986. Implementing the Rivest Shamir and Adleman public key encryption algorithm on a standard digital signal processor. In Conference on the Theory and Application of Cryptographic Techniques. Springer, 311--323. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Liangyu Chen, Svyatoslav Covanov, Davood Mohajerani, and Marc Moreno Maza. 2017. Big Prime Field FFT on the GPU. In Proceedings of the 2017 ACM on International Symposium on Symbolic and Algebraic Computation, ISSAC. 85--92. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Svyatoslav Covanov. 2014. Putting Fürer Algorithm into practice. Technical Report. ORCCA Lab, London.Google ScholarGoogle Scholar
  7. Svyatoslav Covanov and Emmanuel Thomé. 2018. Fast integer multiplication using generalized Fermat primes . Mathematics of Computation (2018). https://hal.inria.fr/hal-01108166Google ScholarGoogle Scholar
  8. Xavier Dahan, Marc Moreno Maza, É ric Schost, Wenyuan Wu, and Yuzhen Xie. 2005. Lifting techniques for triangular decompositions. In ISSAC 2005, Proceedings, , M. Kauers (Ed.). ACM, 108--115. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Anindya De, Piyush P. Kurur, Chandan Saha, and Ramprasad Saptharishi. 2008. Fast integer multiplication using modular arithmetic. In STOC. 499--506. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Anindya De, Piyush P Kurur, Chandan Saha, and Ramprasad Saptharishi. 2013. Fast Integer Multiplication Using Modular Arithmetic. SIAM J. Comput., Vol. 42, 2 (2013), 685--699.Google ScholarGoogle ScholarCross RefCross Ref
  11. Franz Franchetti and Markus Püschel. 2011. FFT (Fast Fourier Transform). In Encyclopedia of Parallel Computing . 658--671.Google ScholarGoogle Scholar
  12. Franz Franchetti, Yevgen Voronenko, and Markus Pü schel. 2006. Tools and techniques for performance - FFT program generation for shared memory: SMP and multicore. In Proceedings of the ACM/IEEE SC2006 Conference on High Performance Networking and Computing, November 11--17, 2006, Tampa, FL, USA. 115. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Martin Fürer. 2009. Faster Integer Multiplication. SIAM J. Comput., Vol. 39, 3 (2009), 979--1005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Torbjörn Granlund and the GMP development team. 2012. GNU MP: The GNU Multiple Precision Arithmetic Library 5.0.5 ed.). http://gmplib.org/.Google ScholarGoogle Scholar
  15. David Harvey, Joris van der Hoeven, and Grégoire Lecerf. 2017. Faster Polynomial Multiplication over Finite Fields. J. ACM, Vol. 63, 6, Article 52 (Jan. 2017), bibinfonumpages23 pages. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. David Harvey, Joris van der Hoeven, and Grégoire Lecerf. 2016a. Even faster integer multiplication. Journal of Complexity, Vol. 36 (2016), 1--30. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. David Harvey, Joris van der Hoeven, and Grégoire Lecerf. 2016b. Fast Polynomial Multiplication over F260. In Proceedings of the ACM on International Symposium on Symbolic and Algebraic Computation (ISSAC '16). ACM, New York, NY, USA, 255--262. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Marc Moreno Maza and Yuzhen Xie. 2009. FFT-Based Dense Polynomial Arithmetic on Multi-cores. In HPCS (Lecture Notes in Computer Science), Vol. 5976. Springer, 378--399. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Lingchuan Meng, Yevgen Voronenko, Jeremy R. Johnson, Marc Moreno Maza, Franz Franchetti, and Yuzhen Xie. 2010. Spiral-generated modular FFT algorithms. In PASCO. 169--170. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Peter L. Montgomery. 1985. Modular multiplication without trial division. Mathematics of computation, Vol. 44, 170 (1985), 519--521.Google ScholarGoogle Scholar
  21. Arnold Schönhage and Volker Strassen. 1971. Schnelle Multiplikation großer Zahlen. Computing, Vol. 7, 3--4 (1971), 281--292.Google ScholarGoogle ScholarCross RefCross Ref
  22. Joachim von zur Gathen and Jürgen Gerhard. 2013. Modern Computer Algebra (3. ed.) .Cambridge University Press. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Big Prime Field FFT on Multi-core Processors

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Other conferences
        ISSAC '19: Proceedings of the 2019 on International Symposium on Symbolic and Algebraic Computation
        July 2019
        418 pages
        ISBN:9781450360845
        DOI:10.1145/3326229
        • General Chairs:
        • James Davenport,
        • Dongming Wang,
        • Program Chair:
        • Manuel Kauers,
        • Publications Chair:
        • Russell Bradford

        Copyright © 2019 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 8 July 2019

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate395of838submissions,47%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader