Real-Time Systems
Real-Time Systems
1
Outline
o Definition : system
classic representation of RTS
o Definition : Response Time
o Definition : Real - Time system
o Definition : Failed System
o Definition : Embedded System
o Degrees of “ Real-Time”
Soft, Hard, and Firm “Real - Time”
where do deadlines come from?
o Definition : Real-Time Punctuality
o Real-Time Features in Mobile App Development
o Researches
2 2
Definition: System
4
Classic/typical Representation of RTS
5
Definition: ResponseTime
6
Definition: Real-Time System
7
Definition: FailedSystem
8
Definition: EmbeddedSystem
12
?WhereDoDeadlinesComefrom
13
Definition: Real-Time punctuality
14
?Example: whereaResponseTimeComesfrom
15
DoorReopening Example(Cont’d)
16
Real-Time Features in Mobile App Development
17
Real-Time Features in Mobile App Development (cont’d)
18
Researches
• Android and Real-Time Applications: Take Care!
Authors : Luc Perneel, Hasan Fayyad-Kazan, Martin Timmerman , Belgium
Year: 2014
• Using Mobile Cloud Computing for Real-Time Online Applications
Authors : Dominik Meil¨ander1 and Sergei Gorlatch, University of Muenster,
German
Year : 2015
• Reliable Real-Time Applications on Android OS
Authors : Bhupinder S. Mongia, Vijay K. Madisetti, Georgia Tech, Atlanta
Year : 2017
• Real-Time Transaction Management in Mobile Computing Systems
Authors : Ersan Kayan, O¨ zgu¨r Ulusoy, Turkey
19
Android and Real-Time Applications: Take
Care!
• Showed whether Android in its current state can be qualified
to be used in real-time environments or not.
• Beagle Board-XM Rev C hardware is used as experimental
platform.
• Its characteristics are: based on the Texas Instruments DM3730 Digital Media
Processor, ARM Cortex A8 processor running at 1GHz, L1 instruction and data
caches are 32KB each, L2 cache is 64KB, and 512MB RAM at 166MHz.
• In this paper, we test latency and services performance metrics.
1. Tracing overhead
2. Clock tick processing duration
3. Thread switch latency between threads of same priority
4. Interrupt latency
5. Maximum sustained interrupt frequency
6. Semaphore acquire-release timings in the contention case
7. Mutex Locking behavior
20
Experimental Results
Testing Results showed that Android in its current state
cannot be qualified to be used in real-time environments.
21
ReliableReal-TimeApplicationson AndroidOS
22
ReliableReal-TimeApplicationson AndroidOS
23
Experimental Results
24
Experimental Results
• If there are more than a dozen interrupts per second under load, we
observe that the Android OS may not demonstrate reliable behavior
(e.g., response times increase significantly) with respect to real-time
constraints.
25
Real-Time Transaction Management
in Mobile Computing Systems
• Recent advances in wireless communication networks and
portable computers have led to the emergence of mobile
computing systems, in which users with laptops, palmtops, and
notebook computers can access to a large number of shared
databases.
• In order to respond to real-time data access requirements of the
underlying applications, mobile computing systems need to be
supported by real-time DBMSs.
• We constructed a mobile transaction execution model and
implemented it on simulation program to evaluate the system
performance with different execution strategies.
• It was observed in the experiments that low-power CPU of the
mobile hosts and low-bandwidth wireless links are the bottlenecks
26
of the system.
Performance Results
27
Performance Results
28
Thanks
29