Accelerating Iterative SpMV for Discrete Logarithm Problem using GPUs - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2012

Accelerating Iterative SpMV for Discrete Logarithm Problem using GPUs

Hamza Jeljeli
  • Fonction : Auteur
  • PersonId : 930510

Résumé

In the cryptanalytic context, computing discrete logarithms in large cyclic groups using index-calculus-based methods, such as the number field sieve or the function field sieve, requires solving large sparse systems of linear equations modulo the group order. Most of the fast algorithms used to solve such systems --- e.g., the conjugate gradient or the Lanczos and Wiedemann algorithms --- iterate a product of the corresponding sparse matrix with a vector (SpMV). This central operation can be accelerated on GPUs using specific computing models and addressing patterns, which increase the arithmetic intensity while reducing irregular memory accesses. In this work, we investigate the implementation of SpMV kernels on NVIDIA GPUs, for several representations of the sparse matrix in memory. We explore the use of Residue Number System (RNS) arithmetic to accelerate modular operations. We target linear systems arising when attacking the discrete logarithm problem on groups of size 160 to 320 bits, which correspond to the sizes in the last record computations. The proposed SpMV implementation on a 1.7M-by-1.7M matrix containing 86M non-zeros, delivers a throughput of 24.3 SpMV/s on an NVIDIA GeForce GTX 580, which corresponds to 50 GFLOP/s.
Fichier principal
Vignette du fichier
Report.pdf (164.28 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00734975 , version 1 (25-09-2012)
hal-00734975 , version 2 (01-10-2012)
hal-00734975 , version 3 (23-09-2013)
hal-00734975 , version 4 (04-12-2014)

Identifiants

Citer

Hamza Jeljeli. Accelerating Iterative SpMV for Discrete Logarithm Problem using GPUs. 2012. ⟨hal-00734975v1⟩
592 Consultations
480 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More