Loop Staggering,Loop Compacting:Restructuring Techniques for Thrashing Problem

来源 :Journal of Computer Science and Technology | 被引量 : 0次 | 上传用户:wjsj123
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Parallel loops account for the greatest amount of parallelism in numerical programs.Executingnested loops in parallel with low run-time overhead is thus very important for achievinghigh performance in parallel processing systems.However,in parallel processing systems with caches orlocal memories in memory hierarchies,“thrashing problem”may arise when data move back and forthfrequently between the caches or local memories in different processors.The techniques associated withparallel compiler to solve the problem are not completely developed.In this paper,wepresent two restructuring techniques called loop staggering,loop staggering and compacting,with whichwe can not only eliminate the cache or local memory thrashing phenomena significantly,but alsoexploit the potential parallelism existing in outer serial loop.Loop staggering benefits the dynamic loopscheduling strategies,whereas loop staggering and compacting is good for static loop schedulingstrategies,Our method especially benefits parallel programs,in which a parallel loop is enclosed by aserial loop and array elements are repeatedly used in the different iterations of the parallel loop. Parallel loops account for the greatest amount of parallelism in numerical programs. Executingnested loops in parallel with low run-time overhead is thus important for achieving high performance in parallel processing systems. Despite, in parallel processing systems with caches or local memories in memory hierarchies, “ thrashing problem ”may arise when data move back and forthfrequently between the caches or local memories in different processors. techniques associated with parallel compiler to solve the problem are not completely developed. In this paper, wepresent two restructuring techniques called loop staggering, loop staggering and compacting, with which we can not only eliminate the cache or local memory thrashing phenomena significantly, but also exppit the potential parallelism existing in outer serial loop. Loop staggering and good for static loop scheduling strategies, Our method especially benef its parallel programs, in which a parallel loop is enclosed by aserial loop and array elements are repeatedly used in the different iterations of the parallel loop.
其他文献
中国灾害防御协会第二届代表大会于 1999年 11月 12日在圆满完成会议各项预定程序后胜利闭幕。大会选举李贵鲜为协会新一届会长,汤泉、刘恕、孙希岳、祝光耀、周生贤、赵春明、刘燕华
电视小品初次吸引中国观众应数《吃面条》,陈佩斯与朱时茂当年的表演虽嫌过分夸张,但毕竟带给了观众发自内心的愉悦。及至《产房门前》、《卖大米》、《相亲》、《超生游击
中国建筑学会建筑防火与区划学术研究委员会于1999年11月27~29日在上海同济大学召开了“全国现代建筑防火设计与应用学术研讨会”。这次筹备已久的研讨会邀请了“上海市消防协
肺癌已日益成为威胁人类生命健康的罪魁祸首,在我国乃至世界范围内,其发病率和死亡率均居恶性肿瘤之首。只有不足30%的患者可以接受手术治疗,而70%以上的患者在诊断时已为晚
本文是富兰克林所著《穷理查德历书》一书的序言。本文独立成书以来,已成为有史以来最重要且经久不衰的生意经典著作之一。 This article is a preface to Franklin’s book
2003年11月2日,“中国电影导演协会第四届年会”在浙江嘉兴市召开,上百名中国导演相聚禾城,共同为中国电影“把脉”。谢铁骊、谢晋、冯小刚、路学长等大陆老、中、青导演和
审视当下中学师生关系,不难发现,师生之间的矛盾和冲突现象非常普遍。陶行知把师生关系看作学校基本要素之一,他否定当时社会师生之间权威和服从的关系,并严肃批判师生间的“
二十年前,日本影星高仓健登陆中国。那张布满沟壑、从无笑容的脸,把中国观众,特别是女观众晃得五迷三道,使得中国影坛传统的对男性角色的审美观发生了爆炸式的改变。代之而
英国1974年出品了一部音乐传记片《马勒传》,编剧和导演为肯·拉塞尔,由演员罗伯特·鲍威尔和乔吉娜·黑尔出演马勒和他的妻子阿尔玛,该片荣获1974年第27届戛纳国际电影节高
火灾自动报警系统设计规范(GBJ116-88)第4.1.3条指出,消防控制室内应有显示被保护建筑的重点部位、疏散通道及消防设备所在位置的平面图或模拟图等。实际应用中,主要采用在消