GPU-Accelerated Scalable Solver for Large Linear Systems over Finite Fields

Indivar Gupta, P. Verma, Vinay D. Deshpande, N. Vydyanathan, Bharatkumar Sharma
{"title":"GPU-Accelerated Scalable Solver for Large Linear Systems over Finite Fields","authors":"Indivar Gupta, P. Verma, Vinay D. Deshpande, N. Vydyanathan, Bharatkumar Sharma","doi":"10.1109/PDGC.2018.8745743","DOIUrl":null,"url":null,"abstract":"Solving large and dense linear systems over finite fields (GF(2)) forms the basis for several crypt-analytic techniques. Many popular cryptographic algorithms like Number Field Sieve for Integer Factorization, Discrete Log Problem, Cryptanalysis of Ciphers and Algebraic attack requires solving dense systems of linear equations. Gaussian Elimination is the natural and popular approach for solving such systems. However, its cubic time complexity makes it very slow and hence, parallelization is made mandatory. In this paper, we propose a GPU-accelerated linear solver over GF(2), based on Gaussian Elimination. Our parallel solver is implemented using NVIDIA CUDA and MPI to utilize the multi-level parallelism on multi-node, multi-GPU systems, which are becoming increasingly common. CUDA-aware MPI is used to leverage GPUDirect P2P and GPUDirect RDMA for optimized intra- and inter-node communication. Our experimental results show that the proposed solver is able to effectively utilize the memory bandwidth on a single Tesla P100 GPU and shows a parallel efficiency of 95% on a 4 X Tesla P100 multi-GPU node. We see 89% and 94% parallel efficiency on DGX systems with 8, Tesla P100 and Tesla V100 GPUs respectively.","PeriodicalId":303401,"journal":{"name":"2018 Fifth International Conference on Parallel, Distributed and Grid Computing (PDGC)","volume":"60 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 Fifth International Conference on Parallel, Distributed and Grid Computing (PDGC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PDGC.2018.8745743","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Solving large and dense linear systems over finite fields (GF(2)) forms the basis for several crypt-analytic techniques. Many popular cryptographic algorithms like Number Field Sieve for Integer Factorization, Discrete Log Problem, Cryptanalysis of Ciphers and Algebraic attack requires solving dense systems of linear equations. Gaussian Elimination is the natural and popular approach for solving such systems. However, its cubic time complexity makes it very slow and hence, parallelization is made mandatory. In this paper, we propose a GPU-accelerated linear solver over GF(2), based on Gaussian Elimination. Our parallel solver is implemented using NVIDIA CUDA and MPI to utilize the multi-level parallelism on multi-node, multi-GPU systems, which are becoming increasingly common. CUDA-aware MPI is used to leverage GPUDirect P2P and GPUDirect RDMA for optimized intra- and inter-node communication. Our experimental results show that the proposed solver is able to effectively utilize the memory bandwidth on a single Tesla P100 GPU and shows a parallel efficiency of 95% on a 4 X Tesla P100 multi-GPU node. We see 89% and 94% parallel efficiency on DGX systems with 8, Tesla P100 and Tesla V100 GPUs respectively.
有限域上大型线性系统的gpu加速可扩展求解器
求解有限域上的大而密集的线性系统(GF(2))是几种隐密码分析技术的基础。许多流行的密码算法,如整数分解的数域筛法、离散对数问题、密码的密码分析和代数攻击,都需要求解线性方程的密集系统。高斯消去法是解决这类系统的自然而流行的方法。然而,它的三次时间复杂度使得它非常慢,因此,并行化是必须的。在本文中,我们提出了一个基于高斯消去的gpu加速的GF(2)线性求解器。我们的并行求解器是使用NVIDIA CUDA和MPI来实现的,以利用多节点,多gpu系统上的多级并行性,这正变得越来越普遍。cuda感知MPI利用GPUDirect P2P和GPUDirect RDMA优化节点内和节点间通信。实验结果表明,该算法能够有效地利用单个Tesla P100 GPU上的内存带宽,在4 X Tesla P100多GPU节点上的并行效率达到95%。我们分别在具有8、Tesla P100和Tesla V100 gpu的DGX系统上看到89%和94%的并行效率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信