首页> 外国专利> Systems and methods for performing concurrency restriction and throttling over contended locks

Systems and methods for performing concurrency restriction and throttling over contended locks

机译:用于执行并发限制和限制竞争锁的系统和方法

摘要

A concurrency-restricting lock may divide a set of threads waiting to acquire the lock into an active circulating set (ACS) that contends for the lock, and a passive set (PS) that awaits an opportunity to contend for the lock. The lock, which may include multiple constituent lock types, lists, or queues, may be unfair over the short term, but improve throughput of the underlying multithreaded application. Culling and long-term fairness policies may be applied to the lock to move excess threads from the ACS to the PS or promote threads from the PS to the ACS. These policies may constraint the size or distribution of threads in the ACS (which may be NUMA-aware). A waiting policy may avoid aggressive promotion from the PS to the ACS, and a short-term fairness policy may move a thread from the tail of a list or queue to its head.
机译:并发限制锁可以将等待获取锁的一组线程划分为争用锁的主动循环集(ACS)和等待争用锁的机会的被动集(PS)。该锁可能包括多种组成型锁类型,列表或队列,在短期内可能不公平,但会提高基础多线程应用程序的吞吐量。可以将消隐和长期公平策略应用于锁,以将多余的线程从ACS移动到PS或将线程从PS提升到ACS。这些策略可能会限制ACS中的线程的大小或分布(可能支持NUMA)。等待策略可以避免从PS到ACS的积极提升,而短期公平策略则可以将线程从列表的尾部或队列移到其头部。

著录项

  • 公开/公告号US10417056B2

    专利类型

  • 公开/公告日2019-09-17

    原文格式PDF

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

    申请/专利号US201514818213

  • 发明设计人 DAVID DICE;

    申请日2015-08-04

  • 分类号G06F9/52;

  • 国家 US

  • 入库时间 2022-08-21 12:17:03

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号