一种面向多核环境加速算法的研究  

Research of a Kind of Accelerated Algorithm in Multi-core Environment

在线阅读下载全文

作  者:梅青平[1,2] 袁正午[2] 

机构地区:[1]重庆城市管理职业学院,重庆401331 [2]重庆邮电大学计算机科学与技术学院,重庆400065

出  处:《西南大学学报(自然科学版)》2011年第5期161-165,共5页Journal of Southwest University(Natural Science Edition)

基  金:国家"863"高技术研究发展计划(2007AA12Z226)

摘  要:在共享存储器的多核环境中,锁住共享资源是完成同步操作的有效方法之一.为了提高同步对象工作效率,借鉴windows同步对象工作原理,利用windows原子操作的不可分割性和高效性,提出了一种用户级轻量级自旋锁(CSpinLock)算法,该算法具有执行速度快的特点.在实验中,将该算法与windows同步对象分别实施于射线跟踪程序.理论分析与实验结果表明,在基于windows系统的共享存储多核环境中和在同步操作频繁的情况下,采用用户级轻量级自旋锁的程序性能较windows同步对象有明显的提升.In the multi-core processor environment of public storage, locking the public storage is an effective way of accomplishing synchronous operation. In order to improve the efficiency of the synchronization object, taking examples from the operational principle of the "windows synchronization object" and using the inalienability and high efficacy of windows atomic operation, a novel light user-level spin-lock named "CSpinLock" is proposed. This kind of algorithm is characterized by fast processing. In an experiment, this algorithm, together with windows synchronization object, was implemented in the ray-tracing program. Theoretical analysis and the experimental result showed that under the circumstance of the multicore processor environment of public storage and frequent synchronous operations, the performance of programs using CSpinLock was obviously better than that of the "windows synchronization object".

关 键 词:多核 同步 自旋锁 用户级 原子操作 射线跟踪 

分 类 号:TP301.6[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象