首页> 外国专利> Fast and linearizable concurrent priority queue via dynamic aggregation of operations

Fast and linearizable concurrent priority queue via dynamic aggregation of operations

机译:通过动态聚合操作实现快速,线性化的并发优先级队列

摘要

Embodiments of the invention improve parallel performance in multi-threaded applications by serializing concurrent priority queue operations to improve throughput. An embodiment uses a synchronization protocol and aggregation technique that enables a single thread to handle multiple operations in a cache-friendly fashion while threads awaiting the completion of those operations spin-wait on a local stack variable, i.e., the thread continues to poll the stack variable until it has been set or cleared appropriately, rather than rely on an interrupt notification. A technique for an enqueue/dequeue (push/pop) optimization uses re-ordering of aggregated operations to enable the execution of two operations for the price of one in some cases. Other embodiments are described and claimed.
机译:本发明的实施例通过串行化并发优先级队列操作以提高吞吐量来改善多线程应用中的并行性能。一个实施例使用同步协议和聚合技术,该技术允许单个线程以缓存友好的方式处理多个操作,同时线程在本地堆栈变量上等待那些操作的完成旋转等待,即线程继续轮询堆栈。变量,直到已正确设置或清除它为止,而不是依赖于中断通知。入队/出队(推送/弹出)优化的一种技术使用聚合操作的重新排序来在某些情况下以一个价格执行两个操作。描述和要求保护其他实施例。

著录项

  • 公开/公告号US8387057B2

    专利类型

  • 公开/公告日2013-02-26

    原文格式PDF

  • 申请/专利权人 TERRY WILMARTH;

    申请/专利号US20100970691

  • 发明设计人 TERRY WILMARTH;

    申请日2010-12-16

  • 分类号G06F9/46;G06F17/30;

  • 国家 US

  • 入库时间 2022-08-21 16:43:03

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号