Invention Grant
US08387057B2 Fast and linearizable concurrent priority queue via dynamic aggregation of operations
有权
快速可线性化的并发优先级队列通过动态聚合操作
- Patent Title: Fast and linearizable concurrent priority queue via dynamic aggregation of operations
- Patent Title (中): 快速可线性化的并发优先级队列通过动态聚合操作
-
Application No.: US12970691Application Date: 2010-12-16
-
Publication No.: US08387057B2Publication Date: 2013-02-26
- Inventor: Terry Wilmarth
- Applicant: Terry Wilmarth
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agent Joni D. Stutman
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F17/30

Abstract:
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.
Public/Granted literature
- US20120159498A1 FAST AND LINEARIZABLE CONCURRENT PRIORITY QUEUE VIA DYNAMIC AGGREGATION OF OPERATIONS Public/Granted day:2012-06-21
Information query