Is dynamic compilation possible for embedded systems ?

Abstract : JIT compilation and dynamic compilation are powerful techniques allowing to delay the final code generation to the run-time. There is many benefits : improved portability, virtual machine security, etc. Unforturnately the tools used for JIT compilation and dynamic compilation does not met the classical requirement for embedded platforms: memory size is huge and code generation has big overheads. In this paper we show how dynamic code specialization (JIT) can be used and be beneficial in terms of execution speed and energy consumption with memory footprint kept under control. We based our approaches on our tool de-Goal and on LLVM, that we extended to be able to produce lightweight runtime specializers from annotated LLVM programs. Benchmarks are manipulated and transformed into templates and a specialization routine is build to instantiate the routines. Such approach allows to produce efficient special-izations routines, with a minimal energy consumption and memory footprint compare to a generic JIT application. Through some benchmarks, we present its efficiency in terms of speed, energy and memory footprint. We show that over static compilation we can achieve a speed-up of 21 % in terms of execution speed but also a 10 % energy reduction with a moderate memory footprint.
Document type :
Conference papers
Complete list of metadatas

Cited literature [6 references]  Display  Hide  Download

https://hal-cea.archives-ouvertes.fr/cea-01162180
Contributor : Henri-Pierre Charles <>
Submitted on : Tuesday, June 9, 2015 - 6:48:19 PM
Last modification on : Monday, February 25, 2019 - 4:34:19 PM
Long-term archiving on : Tuesday, April 25, 2017 - 6:10:07 AM

File

Charles.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Henri-Pierre Charles, Victor Lomüller. Is dynamic compilation possible for embedded systems ?. SCOPES ’15, June 01 - 0, Jun 2015, Sanckt Goar, Germany. ⟨10.1145/2764967.2782785⟩. ⟨cea-01162180⟩

Share

Metrics

Record views

275

Files downloads

209