首页> 外国专利> System and method for promoting reader groups for lock cohorting

System and method for promoting reader groups for lock cohorting

机译:促进阅读者组进行锁定群组的系统和方法

摘要

NUMA-aware reader-writer locks may leverage lock cohorting techniques that introduce a synthetic level into the lock hierarchy (e.g., one whose nodes do not correspond to the system topology). The synthetic level may include a global reader lock and a global writer lock. A writer thread may acquire a node-level writer lock, then the global writer lock, and then the top-level lock, after which it may access a critical section protected by the lock. The writer may release the lock (if an upper bound on consecutive writers has been met), or may pass the lock to another writer (on the same node or a different node, according to a fairness policy). A reader may acquire the global reader lock (whether or not node-level reader locks are present), and then the top-level lock. However, readers may only hold these locks long enough to increment reader counts associated with them.
机译:意识到NUMA的读写器锁可以利用将锁级别引入到锁层次结构中的锁队列技术(例如,其节点与系统拓扑不对应的锁)。综合级别可以包括全局读取器锁和全局写入器锁。编写器线程可以获取节点级别的编写器锁,然后获取全局编写器锁,然后获取顶级锁,之后它可以访问受该锁保护的关键节。编写者可以释放锁(如果已满足连续编写者的上限),也可以将锁传递给另一个编写者(根据公平性策略,在同一节点或不同节点上)。阅读器可以获取全局阅读器锁(无论是否存在节点级阅读器锁),然后获取顶级锁。但是,读取器只能将这些锁保持足够长的时间,以增加与它们关联的读取器计数。

著录项

  • 公开/公告号US10585719B2

    专利类型

  • 公开/公告日2020-03-10

    原文格式PDF

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

    申请/专利号US201816056094

  • 发明设计人 DAVID DICE;VIRENDRA J. MARATHE;

    申请日2018-08-06

  • 分类号G06F9/52;G06F9/46;G06F13/16;G06F9/50;

  • 国家 US

  • 入库时间 2022-08-21 11:25:39

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号