首页 | 官方网站   微博 | 高级检索  
     

Loop Staggering,Loop Compacting:Restructuring Techniques for Thrashing Problem
作者姓名:Jin Guohua  Yang Xuejun  Chen Fujie
作者单位:[1]Dept.oFComputerScience,ChangshaInstituteofTechnology,Changshan410073 [2]Dept.oFComputerScience,ChangshaI
摘    要:Parallel loops account for the greatest amount of parallelism in numerical programs.Executing nested loops in parallel wit low run-time overhead is thus very important for achieving high performance in paralleo processing systems.However,in parallel processing systems with caches of local memories in memory hierarchies,“thrashing problemmay” may arise when data move back and forth frequently between the caches or local memories in different processors.The techniques associated with parallel compiler to solve the problem are not completely developed.In this paper,we present two restructuring techniques called loopg staggering,loop staggering and compacting,with which we can not only eliminate the cache or local memory thrashing phemomena significantly,but also exploit the potential parallelism existing in outer serial loop.Loop staggering benefits the dynamic loop scheduling strategies,whereas loop staggering and compacting is good for static loop scheduling strategies,Our method especially benefits parallel programs,in which a parallel loop is enclosed by a serial loop and array elements are repeatedly used in the different iterations of the parallel loop.

关 键 词:并行编译程序  重构技术  环路交错

Loop staggering,loop compacting: Restructuring techniques for thrashing problem
Jin Guohua,Yang Xuejun,Chen Fujie.Loop Staggering,Loop Compacting:Restructuring Techniques for Thrashing Problem[J].Journal of Computer Science and Technology,1993,8(1):49-57.
Authors:Guohua Jin  Xuejun Yang  Fujie Chen
Affiliation:Dept.of Computer Science Changsha Institute of Technology; Changsha; Dept.of Computer Science; Changsha Institute of Technology;
Abstract:Parallel loops account for the greatest amount of parallelism in numerical programs. Executing nested loops in parallel with low run-time overhead is thus very important for achieviog high performance in parallel processing systems. However, in parallel processing systems with caches or local memories in memory hierarchies, “thrashing problem” may arise when data move back and forth frequently between the caches or local memories in different processors. The techniques associated with parallel compiler to solve the problem are not completely developed. In this paper, we present 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 exploit the potential parallelism existing in outer serial loop. Loop staggering benefits the dynamic loop scheduling strategies, whereas loop staggering and compacting is good for static loop scheduling strategies. Our method especially benefits parallel programs, in which a parallel loop is enclosed by a serial loop and array elements are repeatedly used in the different iterations of the parallel loop.
Keywords:Parallelizing compiler  loop staggering  loop compacting  thrashing problem  cache
本文献已被 CNKI 维普 SpringerLink 等数据库收录!
点击此处可从《计算机科学技术学报》浏览原始摘要信息
点击此处可从《计算机科学技术学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号