发明名称 Work queue thread balancing
摘要 Various embodiments are directed to systems and methods for work queue thread balancing. A global thread pool manager may be configured to receive a request to add a work item to a constituent work queue. The constituent work queue may be described by a work queue thread property. The global thread pool manager may add the work item to the constituent work queue and match the work item to a global thread selected from a global thread pool. The global thread may be configured according to the work queue thread property to generate a configured global thread. The configured global thread may execute the work item.
申请公布号 US9535759(B2) 申请公布日期 2017.01.03
申请号 US201414286694 申请日期 2014.05.23
申请人 OSR Open Systems Resources, Inc. 发明人 Mason W. Anthony
分类号 G06F9/46;G06F9/50 主分类号 G06F9/46
代理机构 K&L Gates LLP 代理人 K&L Gates LLP
主权项 1. A computer-implemented system comprising: at least one processor; and a data storage operatively associated with the at least one processor, wherein the at least one processor is programmed to execute a global queue manager, wherein the global queue manager is configured to: receive a request to add a first work item to a constituent work queue, wherein the constituent work queue is described by a plurality of work queue thread properties;write an entry for the first work item to the constituent work queue, wherein the entry for the first work item comprises a reference to first computer program instructions for executing the first work item;determine that a dedicated thread from a dedicated thread pool of the constituent work queue is available to execute the first work item, wherein the dedicated thread is configured to logically link to the constituent work queue and to exclusively execute a work item added to the constituent work queue;execute the first work item with the dedicated thread, wherein thread properties of the dedicated thread match at least a portion of the thread properties of the work queue;receive a request to add a second work item to the constituent work queue;write an entry for the second work item to the constituent work queue, wherein the entry for the second work item comprises a reference to second computer program instructions for executing the second work item;determine that a dedicated thread is not available to execute the second work item;add the second work item to a global queue;determine that the second work item has reached a front of the global queue;determine that a global thread is available;configure the global thread according to the plurality of work queue thread properties to generate a configured global thread; andexecute the second work item with the configured global thread.
地址 Amherst NH US