Despite using multiple concurrent processors, a typical high-performance parallel application is longrunning, taking hours, even days to arrive at a solution. To modify a running high-performance parallel application, the programmer has to stop the computation, change the code, redeploy, and enqueue the updated version to be scheduled to run, thus wasting not only the programmer's time, but also expensive computing resources. To address these inefficiencies, this article describes how dynamic software updates (DSU) can be used to modify a parallel application on the fly, thus saving the programmer's time and using expensive computing resources more productively. The net effect of updating parallel applications dynamically can reduce the total time that elapses between posing a problem and arriving at a solution, otherwise known as time-to-discovery. To explore the benefits of dynamic updates for high performance applications, this article takes a two-pronged approach. First, we describe our experiences of building and evaluating a system for dynamically updating applications running on a parallel cluster. We then review a large body of literature describing the existing state of the art in DSU and point out how this research can be applied to high-performance applications. Our experimental results indicate that DSU have the potential to become a powerful tool in reducing time-to-discovery for high-performance parallel applications.
Binary refactoring for proxy indirectionBinary refactoring applies structural semantics-preserving transformations to a program's binary representation, with the goal of enabling its functional enhancement. One of the most common binary refactorings in existence is changing direct references into proxy references. Our approach DYNAMIC SOFTWARE UPDATES FOR HPC APPLICATIONS 419 ‡ The adjective virtual emphasizes the fact that the introduced interface is not seen by the client program and is only used as an implementation artifact. The client code never accesses the introduced 'virtual' interface directly. § The virtual superclass is inserted for each class in the inheritance hierarchy. Thus, A ext B ⇒ A ext Super_A ext B ext Super_B.