首页 | 本学科首页   官方微博 | 高级检索  
     检索      

面向片上多核处理器的推测多线程机制下的独立栈模型
引用本文:韦远科,赵银亮,宋少龙,王旭昊,阴培培,李挺.面向片上多核处理器的推测多线程机制下的独立栈模型[J].西安交通大学学报,2010,44(12).
作者姓名:韦远科  赵银亮  宋少龙  王旭昊  阴培培  李挺
作者单位:西安交通大学计算机科学与技术系;
基金项目:国家高技术研究发展计划资助项目
摘    要:在推测多线程并行执行时,各线程中借助共享栈来实现函数调用的过程存在互斥访问问题,为此提出了一种采用片上多处理器(CMP)的推测多线程机制下的独立栈函数调用模型,核栈采用一对一方式,栈之间的有机配合支持推测多线程中的函数调用.通过在模拟器端添加两条指令实现栈空间的管理,从而消除了共享栈模型中的加锁问题.为了保证程序正常运行,编译器对生成的代码作相应的调整,模拟器方面则增添了get和update两条指令,以便管理相应的栈空间.因为独立栈函数调用方法消除了共享栈模型中的栈加锁问题,使得成功线程发起的数目有不同程度的提高,从而提高了程序的并行加速比.Olden基准程序的测试表明,独立栈模型相对于共享栈模型使程序的平均并行加速比提高了3.85%.但是,由于影响程序推测并行加速比的因素复杂,某些测试程序也出现了独立栈的加速比低于共享栈的情况.

关 键 词:推测多线程  函数调用栈  代码生成  存储管理

A Separate Stack Model in Speculative Multithreading Based on Chip Multi-Processor
WEI Yuanke,ZHAO Yinliang,SONG Shaolong,WANG Xuhao,YIN Peipei,LI Ting.A Separate Stack Model in Speculative Multithreading Based on Chip Multi-Processor[J].Journal of Xi'an Jiaotong University,2010,44(12).
Authors:WEI Yuanke  ZHAO Yinliang  SONG Shaolong  WANG Xuhao  YIN Peipei  LI Ting
Abstract:Function calls in threads adopt the shared stack model in speculative multithreading based on Chip Multi-Processor.A separate stack model is presented to eliminate the locking problem in the shared stack model,in which one core is associated with one stack on a one-to-one basis and the cooperation of those stacks supports the function calls in speculative multithreading.The stack memory management is achieved by means of adding two instructions to the speculative multithreading simulator so that the locking...
Keywords:speculative multithreading  function call stack  code generation  memory management  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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