ConRS: A Requests Scheduling Framework for Increasing Concurrency Degree of Server Programs

被引:0
作者
Zhu, Biyun [1 ,2 ]
Meng, Ruijie [1 ,2 ]
Zhang, Zhenyu [1 ]
Chan, W. K. [3 ]
机构
[1] Chinese Acad Sci, State Key Lab Comp Sci, Inst Software, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Beijing, Peoples R China
[3] City Univ Hong Kong, Dept Comp Sci, Tat Chee Ave, Hong Kong, Peoples R China
来源
2019 IEEE 43RD ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1 | 2019年
关键词
requests scheduling; concurrency testing; data race; synchronization-pair; DEADLOCKS;
D O I
10.1109/COMPSAC.2019.00031
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Server programs always store a great deal of data and respond to plenty of requests in a short time. Most server programs are highly concurrent. Testing concurrent programs is difficult and costly because of their non-determinism. Researches have shown that increasing the degree of concurrency is more effective for testing process. This paper uses synchronization-pair and data race to quantify the degree of concurrency. The more synchronization-pairs and data races in a trace are, the higher concurrency degree is. A requests scheduling framework ConRS is proposed in this paper to reschedule requests in an existing test case and make the program "more concurrent". Compared with server stress testing tools, ConRS includes more categories of requests. Compared with coverage-guided bug detectors and data race detectors, ConRS are lower overhead and easier to understand. The experiments on MySQL database server show the effectiveness of ConRS. The synchronization-pairs and data races of test cases have been increased by at least 10% and 30% respectively after applying ConRS.
引用
收藏
页码:169 / 178
页数:10
相关论文
共 38 条
  • [1] [Anonymous], 2009, Proceedings of the Workshop on Binary Instrumentation and Applications, WBIA'09, DOI DOI 10.1145/1791194.1791203
  • [2] [Anonymous], 2007, P THE 6 JOINT M EUR
  • [3] [Anonymous], 2016, DIRTY COW CRITICAL L
  • [4] Bron Arkady, 2005, P ACM SIGPLAN S PRIN, P206, DOI DOI 10.1145/1065944.1065972
  • [5] Cadar C., 2008, Proceedings of the 8th USENIX conference on Operating systems design and implementation, OSDI'08, (USA), P209
  • [6] Cai Y., 2012, IEEE INT S SOFTW REL
  • [7] Adaptively Generating High Quality Fixes for Atomicity Violations
    Cai, Yan
    Cao, Lingwei
    Zhao, Jing
    [J]. ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 303 - 314
  • [8] A Deployable Sampling Strategy for Data Race Detection
    Cai, Yan
    Zhang, Jian
    Cao, Lingwei
    Liu, Jian
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 810 - 821
  • [9] Effective and Precise Dynamic Detection of Hidden Races for Java']Java Programs
    Cai, Yan
    Cao, Lingwei
    [J]. 2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS, 2015, : 450 - 461
  • [10] Magiclock: Scalable Detection of Potential Deadlocks in Large-Scale Multithreaded Programs
    Cai, Yan
    Chan, W. K.
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2014, 40 (03) : 266 - 281