Multi-granularity Locking in Hierarchies with Synergistic Hierarchical and Fine-Grained Locks

被引:4
作者
Ganesh, K. [1 ]
Kalikar, Saurabh [1 ]
Nasre, Rupesh [1 ]
机构
[1] IIT Madras, CSE, Chennai, Tamil Nadu, India
来源
EURO-PAR 2018: PARALLEL PROCESSING | 2018年 / 11014卷
关键词
D O I
10.1007/978-3-319-96983-1_39
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We propose a new locking mechanism for hierarchies wherein the locking requests can be a combination of coarse and fine. Existing protocols such as multiple-granularity locking (MGL) are efficient when all the requests are of the same granularity. MGL is either too coarse or too fine-grained when multiple threads request for various parts of the hierarchy with differing granularity requirements. Simultaneous handling of hierarchical and fine-grained requests poses new challenges in checking for racy requests. We propose a novel indexing technique for hierarchies which uniquely identifies every node as an interval value and effectively captures hierarchical dependencies between nodes even when the hierarchy is a tree, DAG or a cycle. Our experiments with real-world XML hierarchies and synthetic benchmarks show that the proposed locking technique provides a higher degree of concurrency with minimal locking cost resulting in overall performance improvement.
引用
收藏
页码:546 / 559
页数:14
相关论文
共 16 条
[1]  
Chaudhri V. K., 1995, Proceedings of the Fourteenth ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems. PODS 1995, P233, DOI 10.1145/212433.212464
[2]   Inferring Locks for Atomic Sections [J].
Cherem, Sigmund ;
Chilimbi, Trishul ;
Gulwani, Sumit .
PLDI'08: PROCEEDINGS OF THE 2008 SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN & IMPLEMENTATION, 2008, :304-+
[3]  
Emmi Michael, 2007, POPL 2007. The 34th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, P291, DOI 10.1145/1190216.1190260
[4]   NOTIONS OF CONSISTENCY AND PREDICATE LOCKS IN A DATABASE SYSTEM [J].
ESWARAN, KP ;
GRAY, JN ;
LORIE, RA ;
TRAIGER, IL .
COMMUNICATIONS OF THE ACM, 1976, 19 (11) :624-633
[5]  
Golan-Gueta G, 2011, OOPSLA 11: PROCEEDINGS OF THE 2011 ACM INTERNATIONAL CONFERENCE ON OBJECT ORIENTED PROGRAMMING SYSTEMS LANGUAGES AND APPLICATIONS, P225
[6]  
Gray J. N., 1975, P 1 INT C VERY LARGE, DOI DOI 10.1145/1282480.1282513
[7]  
Kalikar S., 2018, SOURCE CODE EXPT SCR, DOI [10.6084/m9.figshare.6390554, DOI 10.6084/M9.FIGSHARE.6390554]
[8]  
Kalikar S, 2017, ACM TRANS PARALLEL C, V4, DOI 10.1145/3127584
[9]   Unleashing Concurrency for Irregular Data Structures [J].
Liu, Peng ;
Zhang, Charles .
36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014), 2014, :480-490
[10]  
Lomet D. B., 1993, 19th International Conference on Very Large Data Bases Proceedings, P655