How to have your cake and eat it too: Dynamic software updating with just-in-time overhead

Rida Bazzi, Bryan Topp, Iulian Neamtiu

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

We consider the overhead incurred by programs that can be updated dynamically and argue that, in general, and regardless of the mechanism used, the program must incur an overhead during normal execution. We argue that the overhead during normal execution of the updateable program need not be as high as the overhead for the updated program. In light of the fundamental limitations and the differences in the overhead that must be incurred by the updateable and updated programs, we propose a new mechanism for dynamic software update based on a new shifting gears approach. The mechanism attempts to incur just the required overhead depending on the stage of update the application is in. Before an update the execution incurs low overhead and when an update occurs the execution incurs higher overhead which reverts to low overhead as the execution progresses. We evaluate the mechanism by modifying an application by hand. Preliminary performance numbers show that the mechanism performs better than existing mechanisms for dynamic software update.

Original languageEnglish (US)
Title of host publication2012 4th International Workshop on Hot Topics in Software Upgrades, HotSWUp 2012 - Proceedings
Pages1-5
Number of pages5
DOIs
StatePublished - Aug 1 2012
Event2012 4th International Workshop on Hot Topics in Software Upgrades, HotSWUp 2012 - Zurich, Switzerland
Duration: Jun 3 2012Jun 3 2012

Publication series

Name2012 4th International Workshop on Hot Topics in Software Upgrades, HotSWUp 2012 - Proceedings

Other

Other2012 4th International Workshop on Hot Topics in Software Upgrades, HotSWUp 2012
CountrySwitzerland
CityZurich
Period6/3/126/3/12

ASJC Scopus subject areas

  • Software

Cite this

Bazzi, R., Topp, B., & Neamtiu, I. (2012). How to have your cake and eat it too: Dynamic software updating with just-in-time overhead. In 2012 4th International Workshop on Hot Topics in Software Upgrades, HotSWUp 2012 - Proceedings (pp. 1-5). [6226611] (2012 4th International Workshop on Hot Topics in Software Upgrades, HotSWUp 2012 - Proceedings). https://doi.org/10.1109/HotSWUp.2012.6226611