欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PPT文档下载
    分享到微信 分享到微博 分享到QQ空间

    Automatic Tuning for Parallel FFTs.ppt

    • 资源ID:378753       资源大小:203KB        全文页数:21页
    • 资源格式: PPT        下载积分:2000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要2000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    Automatic Tuning for Parallel FFTs.ppt

    1、2008/6/24,Second French-Japanese PAAP Workshop,1,Automatic Tuning for Parallel FFTs,Daisuke Takahashi University of Tsukuba, Japan,2008/6/24,Second French-Japanese PAAP Workshop,2,Outline,Background Objectives Approach Block Six-Step/Nine-Step FFT Algorithm Automatic Tuning for Parallel FFTs Perform

    2、ance Results Conclusion,2008/6/24,Second French-Japanese PAAP Workshop,3,Background,The fast Fourier transform (FFT) is an algorithm widely used today in science and engineering. Parallel FFT algorithms on distributed-memory parallel computers have been well studied. Many numerical libraries with an

    3、 automatic performance tuning have been developed, e.g., ATLAS, FFTW, and I-LIB.,2008/6/24,Second French-Japanese PAAP Workshop,4,Background (contd),One goal for large FFTs is to minimize the number of cache misses. Many FFT algorithms work well when data sets fit into a cache. When a problem exceed

    4、s the cache size, however, the performance of these FFT algorithms decreases dramatically. We modified the conventional six-step FFT algorithm to reuse data in the cache memory. We will call it a “block six-step FFT”.,2008/6/24,Second French-Japanese PAAP Workshop,5,Related Works,FFTW Frigo and John

    5、son (MIT) The recursive call is employed to access main memory hierarchically. This technique is very effective in the case that the total amount of data is not so much greater than the cache size. For 1-D parallel MPI FFT, the six-step FFT is used. http:/www.fftw.org SPIRAL Pueschel et al. (CMU) Th

    6、e goal of SPIRAL is to push the limits of automation in software and hardware development and optimization for digital signal processing (DSP) algorithms. http:/,2008/6/24,Second French-Japanese PAAP Workshop,6,FFTE: A High-Performance FFT Library,FFTE is a Fortran subroutine library for computing t

    7、he Fast Fourier Transform (FFT) in one or more dimensions. It includes complex, mixed-radix and parallel transforms. Shared / Distributed memory parallel computers (OpenMP, MPI and OpenMP + MPI) It also supports Intels SSE2/SSE3 instructions. HPC Challenge Benchmark FFTEs 1-D parallel FFT routine ha

    8、s been incorporated into the HPC Challenge (HPCC) benchmark http:/www.ffte.jp,2008/6/24,Second French-Japanese PAAP Workshop,7,Objectives,To improve the performance, we need to select the optimal parameters according to the computational environment and the problem size. We implement an automatic tu

    9、ning facility for parallel 1-D FFT routine in the FFTE library.,2008/6/24,Second French-Japanese PAAP Workshop,8,Discrete Fourier Transform (DFT),DFT is given by,2008/6/24,Second French-Japanese PAAP Workshop,9,2-D Formulation,If has factors and then,2008/6/24,Second French-Japanese PAAP Workshop,10

    10、,Six-Step FFT Algorithm,individual,-point FFTs,Transpose,Transpose,Transpose,2008/6/24,Second French-Japanese PAAP Workshop,11,Block Six-Step FFT Algorithm,individual,-point FFTs,Partial Transpose,Partial Transpose,Transpose,2008/6/24,Second French-Japanese PAAP Workshop,12,3-D Formulation,For very

    11、large FFTs, we should switch to a 3-D formulation. If has factors , and then,2008/6/24,Second French-Japanese PAAP Workshop,13,Parallel Block Nine-Step FFT,Partial Transpose,Partial Transpose,Partial Transpose,All-to-all comm.,2008/6/24,Second French-Japanese PAAP Workshop,14,Automatic Tuning for Pa

    12、rallel FFTs,If the condition of is satisfied, then we can choose the arbitrary , and , where . In the original FFTE library, we chose The blocking parameter can be also varied. For a given , the best block size is determined by the L2 cache size. In the original FFTE, for Xeon processor. We implemen

    13、ted the automatic tuning facility for varying , , and .,2008/6/24,Second French-Japanese PAAP Workshop,15,2008/6/24,Second French-Japanese PAAP Workshop,16,Performance Results,To evaluate parallel 1-D FFTs, we compared FFTE (ver 4.0) FFTE (ver 4.0) with automatic tuning FFTW (ver. 3.2alpha3) “mpi-be

    14、nch” with “PATIENT” planner was used. Target parallel machine: A 16-node dual-core Xeon PC cluster (Woodcrest 2.4GHz, 2GB SDRAM/node, Linux 2.6.18). Interconnected through a Gigabit Ethernet switch. Open MPI 1.2.5 was used as a communication library The compilers used were Intel C compiler 10.1 and

    15、Intel Fortran compiler 10.1.,2008/6/24,Second French-Japanese PAAP Workshop,17,2008/6/24,Second French-Japanese PAAP Workshop,18,2008/6/24,Second French-Japanese PAAP Workshop,19,Results of Automatic Tuning on dual-core Xeon 2.4GHz PC cluster,2008/6/24,Second French-Japanese PAAP Workshop,20,Discuss

    16、ion,For N = 228 and P = 32, the FFTE with automatic tuning runs about 1.25 times faster than the FFTW. Since the FFTW uses the six-step FFT, each column FFT does not fit into the L1 data cache. Moreover, the FFTE exploits the SSE3 instructions. These are two reasons why the FFTE is most advantageous

    17、 than the FFTW. We can clearly see that all-to-all communication overhead contributes significantly to the execution time.,2008/6/24,Second French-Japanese PAAP Workshop,21,Conclusions,We proposed the automatic tuning method for parallel 1-D FFTs on distributed-memory parallel computers. A blocking algorithm for parallel 1-D FFTs utilizes cache memory effectively. We found that the default parameters of the FFTE is not always optimal according to the results of the automatic tuning. The performance of the FFTE with automatic tuning is better than that of the FFTW.,


    注意事项

    本文(Automatic Tuning for Parallel FFTs.ppt)为本站会员(deputyduring120)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1 

    收起
    展开