- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Static Analysis of Barrier Synchronization in Explicitly Parallel Programs
Static Analysis of Barrier Synchronization in
Explicitly Parallel Programs
Tor E. Jeremiassen and Susan J. Eggers
Department of Computer Science and Engineering FR-35, University of Washington,
Seattle, Washington 98195
Abstract: Many coarse-grained, explicitly parallel programs execute in phases delimited
by barriers to preserve sets of cross pro cess data dep endencies. One of the ma jor obstacles
to optimizing these programs is the necessity to conservatively assume that any two
statements in the program may execute concurrently. Consequently, compilers fail to
take advantage of opp ortunities to apply optimizing transformations, particularly those
designed to improve data lo cality, b oth within and across the phases of the program.
We present a simple and ecient compile time algorithm that uses the presence of barriers
to p erform non-concurrency analysis on coarse-grain, explicitly parallel programs. It
works by dividing the program into a set of phases and computing the control
ow b etween
them. Each phase consists of one or more sequences of program statements that are
delimited by barrier synchronization events and can execute concurrently. We show that
the algorithm p erforms p erfectly on all but one of our b enchmarks.
Keyword Co des: D.1.3; I.1.3
Keywords: Concurrent Programming; Langua ges and Systems
1 Intro duction
On cache coherent shared memory multipro cessors, much of the \unnecessary commu-
nication, i.e., that which could b e eliminated with lo cality enhancing optimizations, is
coherency overhead caused by false sharing [22, 10 ]. False sharing o ccurs when multiple
pro cessors access dierent words in the same cache blo ck. Although they do not actually
share data, they incur its costs, b ecause coherency op erations are cache
您可能关注的文档
- Performance Evaluation of Micromechanical Binary Phaseonly Holographic Optical Elements.pdf
- Performance Evaluations of a MetaRing MAC Protocol Integrating Video and Data Traffics in a.pdf
- Performance Tuning of Javabased Application Development for Clinical Pharmacogenomics Associations.pdf
- Periodic Flux Variability of Stars due to the Reflex Doppler Effect Induced by Planetary Co.pdf
- Periodicity and Growth in a Lattice Gas with Dynamical Geometry.pdf
- Perturbative Analysis of Possible Failures in the Traditional Adiabatic Conditions.pdf
- Perturbative String Dynamics Near the Photon Sphere.pdf
- PETCT正电子药物中心的建设之二――场地选址与设计.pdf
- PETCT正电子药物中心的建设之三――放射防护.pdf
- PETCT正电子药物中心的建设之一――设备的配置和选型.pdf
文档评论(0)