摘要 |
Method for migrating processes in heterogeneous computing environments from a source system S1 to a target system S2 having different hardware HW1, HW2 and operating systems OS1, OS2, respectively. Target system S2 comprises emulator EM12 and compiler C12 (e.g. just-In-time or dynamic). The emulator starts executing a migrated process code and initiates binary translation of the code with the compiler. The emulator also translates system calls and runtime library calls associated with the process in OS1 into equivalent calls for OS2 by means of system call translator SCT12 and runtime library translator RTT12. The method has two stages: the first stage is emulation to enable immediate execution (with zero downtime, i.e. live migration), then translation of source code into native binary code is performed to allow native execution on target system, increasing performance. The step of translating calls and source code can use a cascade of translators, emulators, and compilers. |