期刊文献+

改进型锁无关双端队列的设计与实现 被引量:4

Design and Realization of the Improved Lock-free Double-Ended Queue
下载PDF
导出
摘要 高性能实时系统对系统性能、确定性和容错性有着更高的要求。非阻塞同步在任务同步方面满足要求,实现方法之一就是设计锁无关数据结构。介绍了设计锁无关数据结构算法的关键技术,通过对已有算法不足的分析提出了一种改进型的锁无关双端队列算法,介绍了对该算法的实验分析和实际应用。实验结果表明,该算法提高了访问双端队列的执行速度,并避免了多任务间同步引发的死锁、优先级逆转、低容错性等缺点。 High-performance real-time system has higher requirement for system performance, certainty and fault tolerance. Non-blgcking synchronization meets the requirement in task synchronization, one of the methods of achieving non-blocking synchronization is to design lock-free data structure. This paper introduces the key technology for designing lock-free data structure algorithm, presents an improved lock-free double-ended queue algorithm by the analysis of the existing algorithm shortage, and introduces the experimental analysis and practical application of the algorithm. Experimental results show that the algorithm improves the execution speed for accessing double-ended queue, and avoids deadlocks, priority inversion and low fault tolerance caused by multitask synchronization.
出处 《计算机系统应用》 2012年第3期125-129,共5页 Computer Systems & Applications
基金 国家科技重大专项(2011ZX04016-071)
关键词 非阻塞同步 锁无关 双端队列 RTAI non-blocking synchronization lock-free double-ended queue RTAI
  • 相关文献

参考文献7

  • 1Michael MM. CAS-Based Lock-Free Algorithm for Shared Deques. The Ninth Euro-Par Conference on Parallel Processing, 2003. 651-660.
  • 2Michael MM, Scott ML. Simple, fast, and practical non-blocking and blocking concurrent queue algorithms. Proc. of the Annual ACM Symposium on Principles of Distributed Computing. 1996. 267-275.
  • 3Sundell KH. Efficient and Practical Non-Blocking Data Structures. Gothenburg, Sweden: Gothenburg University, 2004.
  • 4Hendler D, Shavit N, Yerushalmi L. A scalable lock-free stack algorithm. Journal of Parallel and Distributed Computing, 2010,70(1):1-12.
  • 5Colvin R, Dongol B. A general technique for proving lock-freedom. Science of Computer Programming, 2009,74 (3):143-165.
  • 6Sundell KH. NOBLE Professional Edition Application Programmers Interface (API). 2008.5.
  • 7Hansson H. A network for real-time research and graduate education in Sweden. Uppsala, Sweden: Uppsala University, 2006:161-179.

同被引文献35

引证文献4

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部