首页> 外国专利> 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感知读写器锁可以利用锁协同技术,将合成级别引入锁层次结构(例如,其节点与系统拓扑不对应的级别)。合成级别可以包括全局读卡器锁和全局写卡器锁。writer线程可以获取节点级writer锁,然后是全局writer锁,然后是顶级锁,之后可以访问受锁保护的关键部分。写入程序可以释放锁(如果满足了连续写入程序的上限),或者可以将锁传递给另一个写入程序(根据公平策略,在同一节点或不同节点上)。读卡器可以获取全局读卡器锁(无论是否存在节点级读卡器锁),然后获取顶级锁。然而,读卡器只能持有这些锁足够长的时间来增加与它们相关联的读卡器计数。

著录项

  • 公开/公告号US2022100587A1

    专利类型

  • 公开/公告日2022-03-31

    原文格式PDF

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

    申请/专利号US202117547956

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

    申请日2021-12-10

  • 分类号G06F9/52;G06F9/46;G06F16/176;G06F16/23;

  • 国家 US

  • 入库时间 2022-08-25 00:11:15

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号