JTRES 2012
A Real-time Extension to the Android Platform
Igor Kalkov, Dominik Franke, John F. Schommer, Stefan Kowalewski
24-26 October 2012 Copenhagen, Denmark
A Real-time Extension to the Android Platform Igor Kalkov, Dominik - - PowerPoint PPT Presentation
JTRES 2012 A Real-time Extension to the Android Platform Igor Kalkov, Dominik Franke, John F. Schommer, Stefan Kowalewski 24-26 October 2012 Copenhagen, Denmark Introduction Mobile platform by Open Handset Alliance - Supervised by
JTRES 2012
Igor Kalkov, Dominik Franke, John F. Schommer, Stefan Kowalewski
24-26 October 2012 Copenhagen, Denmark
2 / 15
Applications
Application framework
Android runtime
Adapted Linux kernel
Runtime Libraries Application Framework Applications Linux Kernel
3 / 15
4 / 15
5 / 15
Applications
System Applications 3rd Party Applications
Application Framework
Activity Manager Notification Manager Package Manager Resource Manager
…
Window Manager Graphics SQLite
…
SSL Core Libraries Dalvik Virtual Machine Power Management Process Management
…
Binder (IPC) Driver
Linux Kernel Libraries Android Runtime
Hardware Drivers Memory Management
6 / 15
7 / 15
8 / 15
9 / 15
Android OS Linux kernel :ServiceRT instantiate set adj_p change priority
Real-time priority Normal priority
terminate
10 / 15
11 / 15
5 10 15 20 25 5000 10000 15000 20000
Latency (ms)
Execution Time (ms)
RT Process
5 10 15 20 25 5000 10000 15000 20000
Latency (ms)
Execution Time (ms)
Non-RT Process
12 / 15
200 400 600 800 1000 5000 10000 15000 20000
Latency (ms)
Execution Time (ms)
Non-RT Process
7780 2449
2 4 6 8 10 5000 10000 15000 20000
Latency (ms)
Execution Time (ms)
RT Process
13 / 15
2200 2300 2400 2500 2600 2700 2800 2900 3000 10 20 30 40 50 60
Memory Footprint (kB) Time (s) Automatic GC Manual Freeing
40 80 120 2000 4000 6000 8000
Object Size (kB) Automatic GC Manual Freeing
14 / 15
15 / 15
“Nonblocking Real-Time Garbage Collection”
“On-The-Fly Reference-Counting Garbage Collector for Java“
https://git.embedded.rwth-aachen.de/rtandroid