发明授权
- 专利标题: Reader-writer synchronization with high-performance readers and low-latency writers
- 专利标题(中): 读写器与高性能读卡器和低延迟写入器同步
-
申请号: US13307202申请日: 2011-11-30
-
公开(公告)号: US09218305B2公开(公告)日: 2015-12-22
- 发明人: Paul E. McKenney
- 申请人: Paul E. McKenney
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Walter W. Duft
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06F13/16 ; G06F9/52
摘要:
Data writers desiring to update data without unduly impacting concurrent readers perform a synchronization operation with respect to plural processors or execution threads. The synchronization operation is parallelized using a hierarchical tree having a root node, one or more levels of internal nodes and as many leaf nodes as there are processors or threads. The tree is traversed from the root node to a lowest level of the internal nodes and the following node processing is performed for each node: (1) check the node's children, (2) if the children are leaf nodes, perform the synchronization operation relative to each leaf node's associated processor or thread, and (3) if the children are internal nodes, fan out and repeat the node processing with each internal node representing a new root node. The foregoing node processing is continued until all processors or threads associated with the leaf nodes have performed the synchronization operation.
公开/授权文献
信息查询