ImageVerifierCode 换一换
格式:PPT , 页数:19 ,大小:94.19KB ,
资源ID:379113      下载积分:2000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-379113.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(Brief Announcement- Speedups for Parallel Graph .ppt)为本站会员(towelfact221)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

Brief Announcement- Speedups for Parallel Graph .ppt

1、Brief Announcement: Speedups for Parallel Graph Triconnectivity,James Edwards and Uzi VishkinUniversity of Maryland,1,Motivation Begin with a theory of parallel algorithms (PRAM) Develop an architecture (XMT) based on theory Validate theory using architecture Validate architecture using theory In or

2、der to validate XMT, we need to move beyond simple benchmark kernels This is in line with the history of benchmarking of performance (e.g. SPEC) Triconnectivity is the most complex algorithm that has been tested on XMT. Only one serial implementation is publically available, and no prior parallel im

3、plementation Prior work of similar complexity on XMT includes biconnectivity EV12-PMAM/PPoPP and maximum flow CV11-SPAA.,2,Introduction,advanced planarity testing,advanced triconnectivity,planarity testing,triconnectivity,st-numbering,k-edge/vertex connectivity,minimum spanning forest,Euler tours,ea

4、r decompo- sition search,bicon- nectivity,strong orientation,centroid decomposition,tree contraction,lowest common ancestors,graph connectivity,tree Euler tour,list ranking,2-ruling set,prefix-sums,deterministic coin tossing,List, Tree, and Graph Algorithms,4,Triconnected Components,Input graph G,Tr

5、iconnected components of G,High-level structure Key insight for serial and parallel algorithms: separation pairs lie on cycles in the input graph Serial HT73: use depth-first search. Parallel RV88, MR92: use an ear decomposition.,5,Triconnectivity Algorithm,Ear decomposition of G,E1,E2,E3,Low-level

6、structure The bulk of the algorithm lies in general subroutines such as graph connectivity. Implementation of the triconnectivity algorithm was greatly assisted by reuse of a library developed during earlier work on biconnectivity (PMAM 12). Using this library, a majority of students successfully co

7、mpleted a programming assignment on biconnectivity in 2-3 weeks in a grad course on parallel algorithms.,6,Triconnectivity Algorithm,The Explicit Multi-Threading (XMT) architecture was developed at the University of Maryland with the following goals in mind: Good performance on parallel algorithms o

8、f any granularity Support for regular or irregular memory access Efficient execution of code derived from PRAM algorithms A 64-processor FPGA hardware prototype and a software toolchain (compiler and simulator) exist; the latter is freely available for download.,7,The XMT Platform,Random graph: Edge

9、s are added at random between unique pairs of vertices Planar3 graph: Vertices are added in layers of three; each vertex in a layer is connected to the other vertices in the layer and two vertices of the preceding layer Ladder: Similar to Planar3, but with two vertices per layer,8,Graph Families,9,S

10、peedup,10,Analytic vs. Experimental Runtime,T(n, m, s) = (2.38n + 0.238m + 4.75s) log2 n,The speedups presented here (up to 129x) in conjunction with prior results for biconnectivity (up to 33x) and max-flow (up to 108x) demonstrates that the advantage of XMT is not limited to small kernels. Biconne

11、ctivity was an exceptional challenge due to the compactness of the serial algorithm. This work completes the capstone of the proof-of-concept of PRAM algorithms on XMT. With this work, we now have the foundation in place to advance to work on applications.,11,Conclusion,CV11-SPAA G. Caragea, U. Vish

12、kin. Better Speedups for Parallel Max-Flow. Brief Announcement, SPAA 2011. EV12-PMAM J. Edwards and U. Vishkin. Better Speedups Using Simpler Parallel Programming for Graph Connectivity and Biconnectivity. PMAM, 2012. EV12-SPAA J. Edwards and U. Vishkin. Brief Announcement: Speedups for Parallel Gra

13、ph Triconnectivity. SPAA, 2012. HT73 J. E. Hopcroft and R. E. Tarjan. Dividing a graph into triconnected components. SIAM J. Computing, 2(3):135158, 1973.,12,References,MR92 G. L. Miller and V. Ramachandran. A new graph triconnectivity algorithm and its parallelization. Combinatorica, 12(1):5376, 19

14、92. KTCBV11 F. Keceli, A. Tzannes, G. Caragea, R. Barua and U. Vishkin. Toolchain for programming, simulating and studying the XMT many-core architecture. Proc. 16th Int. Workshop on High-Level Parallel Programming Models and Supportive Environments (HIPS), in conjunction with IPDPS, Anchorage, Alas

15、ka, May 20, 2011.,13,References,RV88 V. Ramachandran and U. Vishkin. Efficient parallel triconnectivity in logarithmic time. In Proc. AWOC, pages 3342, 1988. TV85 R. E. Tarjan and U. Vishkin. An Efficient Parallel Biconnectivity Algorithm. SIAM J. Computing, 14(4):862874, 1985. WV08 X. Wen and U. Vi

16、shkin. FPGA-Based Prototype of a PRAM-on-Chip Processor. In Proceedings of the 5th Conference on Computing Frontiers, CF 08, pages 5566, New York, NY, USA, 2008. ACM.,14,References,Backup slides,15,PRAM algorithms are not a good match for current hardware: Fine-grained parallelism = overheads Requir

17、es managing many threads Synchronization and communication are expensive Clustering reduces granularity, but at the cost of load balancing Irregular memory accesses = poor locality Cache is not used efficiently Performance becomes sensitive to memory latency,16,The Problem with the PRAM,Main feature

18、 of XMT: Using similar hardware resources (e.g. silicon area, power consumption) as existing CPUs and GPUs, provide a platform that to a programmer looks as close to a PRAM as possible. Instead of 8 “heavy” processor cores, provide 1,024 “light” cores for parallel code and one “heavy” core for seria

19、l code. Devote on-chip bandwidth to a high-speed interconnection network rather than maintaining coherence between private caches.,17,The XMT Platform,For the PRAM algorithm presented, the number of HW threads is more important than the processing power per thread because they happen to perform more

20、 work than an equivalent serial algorithm. This cost is overridden by sufficient parallelism in hardware. Balance between the tight synchrony of the PRAM and hardware constraints (such as locality) is obtained through support for fine-grained multithreaded code, where a thread can advance at it own speed between (a form of) synchronization barriers.,18,The XMT Platform,Maximal planar graph Built layer by layer The first layer has three vertices and three edges. Each additional layer has three vertices and nine edges.,19,Evaluation: Graph Families,

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