首页> 外国专利> Systems and methods for implementing work stealing using a configurable separation of stealable and non-stealable work items

Systems and methods for implementing work stealing using a configurable separation of stealable and non-stealable work items

机译:使用可窃取和不可窃取的工作项的可配置分隔来实现工作窃取的系统和方法

摘要

A system may perform work stealing using a dynamically configurable separation between stealable and non-stealable work items. The work items may be held in a double-ended queue (deque), and the value of a variable (index) may indicate the position of the last stealable work item or the first non-stealable work item in the deque. A thread may steal a work item only from the portion of another thread's deque that holds stealable items. The owner of a deque may add work items to the deque and may modify the number or percentage of stealable work items, the number or percentage of non-stealable work items, and/or the ratio between stealable and non-stealable work items in the deque during execution. For example, the owner may convert stealable work items to non-stealable work items, or vice versa, in response to changing conditions and/or according to various work-stealing policies.
机译:系统可以使用可窃取和不可窃取的工作项之间的动态可配置间隔来执行工作窃取。可以将工作项保存在双端队列(双端队列)中,变量(索引)的值可以指示双端队列中最后一个可窃取工作项或第一个不可窃取工作项的位置。一个线程只能从另一个线程的双端队列中保存可窃取项目的部分窃取工作项。双端队列的所有者可以在双端队列中添加工作项,并且可以修改可窃取工作项的数量或百分比,不可窃取工作项的数量或百分比,和/或执行期间双端队列。例如,所有者可以响应于变化的条件和/或根据各种工作窃取策略将可窃取的工作项转换为不可窃取的工作项,反之亦然。

著录项

  • 公开/公告号US9317339B2

    专利类型

  • 公开/公告日2016-04-19

    原文格式PDF

  • 申请/专利权人 ORACLE INTERNATIONAL CORPORATION;

    申请/专利号US201313800097

  • 发明设计人 YOSEF LEV;GUY L. STEELE JR.;

    申请日2013-03-13

  • 分类号G06F9/46;G06F9/50;

  • 国家 US

  • 入库时间 2022-08-21 14:31:47

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号