Performance Analysis and Optimization of the FFTXlib on the Intel Knights Landing Architecture

M. Wagner, Víctor López, J. Morillo, C. Cavazzoni, F. Affinito, Judit Giménez, Jesús Labarta
{"title":"Performance Analysis and Optimization of the FFTXlib on the Intel Knights Landing Architecture","authors":"M. Wagner, Víctor López, J. Morillo, C. Cavazzoni, F. Affinito, Judit Giménez, Jesús Labarta","doi":"10.1109/ICPPW.2017.44","DOIUrl":null,"url":null,"abstract":"In this paper, we address the decreasing performance of the FFTXlib, the Fast Fourier Transformation (FFT) kernel of Quantum ESPRESSO, when scaling to a full KNL node. An increased performance in the FFTXlib will likewise increase the performance of the entire Quantum ESPRESSO code one of the most used plane-wave DFT codes in the community of material science. Our approach focuses on, first, overlapping computation and communication and, second, decreasing resource contention for higher compute efficiency. In order to achieve this we use the OmpSs programming model based on task dependencies. We allow overlapping of computation and communication by converting all steps of the FFT into tasks following a flow dependency. In the same way, we decrease resource contention by converting each FFT into an individual task that can be scheduled asynchronously. In both cases, multiple FFTs can be computed in parallel. The task-based optimizations are implemented in the FFTXlib and show up to 10% runtime reduction on the already highly optimized version. Since the task scheduling is done dynamically during execution by the parallel runtime, not statically by the user, it also frees the user from finding the ideal parallel configuration himself.","PeriodicalId":353142,"journal":{"name":"2017 46th International Conference on Parallel Processing Workshops (ICPPW)","volume":"18 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 46th International Conference on Parallel Processing Workshops (ICPPW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICPPW.2017.44","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

In this paper, we address the decreasing performance of the FFTXlib, the Fast Fourier Transformation (FFT) kernel of Quantum ESPRESSO, when scaling to a full KNL node. An increased performance in the FFTXlib will likewise increase the performance of the entire Quantum ESPRESSO code one of the most used plane-wave DFT codes in the community of material science. Our approach focuses on, first, overlapping computation and communication and, second, decreasing resource contention for higher compute efficiency. In order to achieve this we use the OmpSs programming model based on task dependencies. We allow overlapping of computation and communication by converting all steps of the FFT into tasks following a flow dependency. In the same way, we decrease resource contention by converting each FFT into an individual task that can be scheduled asynchronously. In both cases, multiple FFTs can be computed in parallel. The task-based optimizations are implemented in the FFTXlib and show up to 10% runtime reduction on the already highly optimized version. Since the task scheduling is done dynamically during execution by the parallel runtime, not statically by the user, it also frees the user from finding the ideal parallel configuration himself.
基于Intel Knights Landing架构的FFTXlib性能分析与优化
在本文中,我们解决了FFTXlib (Quantum ESPRESSO的快速傅立叶变换(FFT)内核)在缩放到全KNL节点时性能下降的问题。FFTXlib中性能的提高同样会提高整个Quantum ESPRESSO代码的性能,这是材料科学社区中最常用的平面波DFT代码之一。我们的方法侧重于,首先,重叠计算和通信,其次,减少资源争用,以提高计算效率。为了实现这一点,我们使用基于任务依赖关系的omps编程模型。我们通过将FFT的所有步骤转换为遵循流依赖的任务来允许计算和通信的重叠。以同样的方式,我们通过将每个FFT转换为可以异步调度的单个任务来减少资源争用。在这两种情况下,可以并行计算多个fft。基于任务的优化是在FFTXlib中实现的,并且在已经高度优化的版本上显示出高达10%的运行时间减少。由于任务调度是由并行运行时在执行期间动态完成的,而不是由用户静态完成的,因此它还使用户不必自己寻找理想的并行配置。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书