DecompositionJ: Paralleland Deterministic Simulation of Concurrent Java']Java Executionsin Cyber-Physical Systems

被引:3
作者
Shum, Chong [1 ]
Lau, Wing-Hong [1 ]
Mao, Tian [2 ]
Chung, Henry Shu-Hung [1 ]
Tse, Norman Chung-Fai [1 ]
Tsang, Kim-Fung [1 ]
Lai, Loi Lei [3 ]
机构
[1] City Univ Hong Kong, Ctr Smart Energy Convers & Utilizat, Hong Kong, Hong Kong, Peoples R China
[2] China Southern Power Grid, Elect Power Res Inst, Guangzhou 510700, Guangdong, Peoples R China
[3] Guangdong Univ Technol, Sch Automat, Guangzhou 510006, Guangdong, Peoples R China
来源
IEEE ACCESS | 2018年 / 6卷
关键词
Direct execution simulation; modeling and simulation of concurrent execution; memory models; cyber-physical systems;
D O I
10.1109/ACCESS.2018.2825254
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Simulation and performance evaluation of concurrent Java program execution have been difficult due to the lack of proper model and tools. Previous modeling and simulation approaches cannot simultaneously achieve three tasks: (1) support the direct simulation of unmodified multi-thread Java programs; (2) guarantee deterministic simulation results; and (3) offer low-overhead and scalable simulation. This paperfirst presents a novel simulation model based on the Java memory model. The model axiomatically defines action ordering, relationships, and constraints to ensure the well-formedness and determinism of a simulated execution. Then, based on the model, we implement the DecompositionJ simulation framework (deterministic, concurrent multi-processsing simulation for Java programs) which enables the direct-execution simulation of target program by using compiler-based source-to-source transformation and a purposely designed runtime library. The framework is compatible with any JVM that complies with the Java specifications, and does not require manual modifications on the target program code. The performance of the framework has been evaluated with the Grande Java concurrency benchmark suite, results have shown a geometric mean of 98.9% overhead over all cases, which significantly outperforms full-system simulation techniques.
引用
收藏
页码:21991 / 22010
页数:20
相关论文
共 25 条
[1]  
[Anonymous], 2011, P 2011 INT C HIGH PE
[2]  
[Anonymous], 2015, 8 WORKSHOP CYBER SEC
[3]  
[Anonymous], PROC EUR SYMP PROGR
[4]  
[Anonymous], P INT C SIM TOOLS TE
[5]  
[Anonymous], 2005, SIGARCH Comput. Archit. News
[6]  
[Anonymous], 2001, P ACM IEEE C SUP
[7]   OverSim: A scalable and flexible overlay framework for simulation and real network applications [J].
Baumgart, Ingmar ;
Heep, Bernhard ;
Krause, Stephan .
2009 IEEE NINTH INTERNATIONAL CONFERENCE ON PEER-TO-PEER COMPUTING (P2P 2009), 2009, :87-88
[8]   The M5 simulator: Modeling networked systems [J].
Binkert, Nathan L. ;
Dreslinski, Ronald G. ;
Hsu, Lisa R. ;
Lim, Kevin T. ;
Saidi, Ali G. ;
Reinhardt, Steven K. .
IEEE MICRO, 2006, 26 (04) :52-60
[9]   Versatile, scalable, and accurate simulation of distributed applications and platforms [J].
Casanova, Henri ;
Giersch, Arnaud ;
Legrand, Arnaud ;
Quinson, Martin ;
Suter, Frederic .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2014, 74 (10) :2899-2917
[10]  
Cenciarelli P, 2007, LECT NOTES COMPUT SC, V4421, P331