会议专题

StrongUpdate:An Immediate Dynamic Software Update System for Multi-threaded Applications

  A new immediate Dynamic Software Update(DSU)system upon multi-threaded applications,called StrongUpdate is proposed in this paper.StrongUpdate uses stack reconstruction to update functions and variables in the stack at the same time,which can guarantee that functions and variables execute the same kind of version before and after software update.Deadlocks between threads can be prevented by adopting heterogeneous checkpointing algorithm during dynamic update which ensures all threads have been blocked before update operations start.In this way,all threads executing the same version of codes avoid overhead of synchronizing between old and new versions.Unlike the existing system such as UpStare which relies on specific compiler to implement source-to-source transformation,StrongUpdate uses binary rewriting and instrumentation instead.Our approach decides that information about checkpoints,functions and variables to be updated is written into the upgrade patch.We have prototyped StrongUpdate on the Linux system,which is able to update all parts of the applications at runtime including main function and loop functions without specific compiler support.To demonstrate the applicability of StrongUpdate,we experience StrongUpdate on three popular applications: vsftpd,httpd,sshd.The experimental results show that StrongUpdate incurs negligible runtime overhead: less than 1%performance degradation.The time to apply an update is less than 6%.

Deqing Zou Hao Wang Hai Jin

Services Computing Technology and System Lab Cluster and Grid Computing Lab School of Computer Science and Technology Huazhong University of Science and Technology Wuhan,430074,China

国际会议

The 9th International Conference on Pervasive Computing and Application(ICPCA 2014)(第九届全国普适计算学术会议、第九届全国人机交互联合学术会议)

南昌

英文

1-16

2013-09-26(万方平台首次上网日期,不代表论文的发表时间)