EECS 753: Embedded Real-Time Systems
Heechul Yun
1
EECS 753: Embedded Real-Time Systems Heechul Yun 1 Welcome to - - PowerPoint PPT Presentation
EECS 753: Embedded Real-Time Systems Heechul Yun 1 Welcome to EECS753 About the course 2 About Instructor Heechul Yun Assistant Prof., Dept. of EECS, University of Kansas (Aug.13 ~ ) Office: 3040 Eaton, 236 Nichols
1
2
– Assistant Prof., Dept. of EECS, University of Kansas (Aug.’13 ~ ) – Office: 3040 Eaton, 236 Nichols – Email: heechul.yun@ku.edu
– Ph.D. (CS), University of Illinois at Urbana-Champaign – M.S. (CS) and B.S (CS), KAIST
– Senior software engineer @ Samsung Electronics
– Operating systems, embedded/real-time systems
– http://ittc.ku.edu/~heechul
3
– Embedded Real-Time Systems. Cyber Physical Systems
– EECS 645 Computer Architecture. – EECS 678 Introduction to Operating Systems.
– http://ittc.ku.edu/~heechul/courses/eecs753
– Grad students (senior undergraduate) who are interested in research
– Lecture: M/W/F 10:00 – 11:00 LEA 1131 – Office hour: M/F 11:00 - 11:50 @ 3040 Eaton
4
– I and YOU will present (more on later)
– Learn and discuss advanced topics in real-time embedded systems – Improve your research skills
– Learning skills
– Communication skills
– Programming skills
5
6
Amazon prime air
7
8
9
banks to be shared or partitioned depending on user configuration. This can be used to provide more predictable memory access to multicore software. The authors implemented their memory allocator in a recent version of the Linux Kernel and compared its performance with the existing buddy allocator.
me at the time of reading but was well explained which motivated the rest of the paper well. The algorithm used is quite straightforward and the explanation is easy to follow.
similarity to multi-core page coloring[1,2,3,4] the novelty of their work is not well
rudimentary page coloring techniques. The related work section touches on these similarities but does not establish any particular novelty aside from the fact that this paper is addressing the problem of shared DRAM banks for the sake of isolation and not shared caches.
10
11
12
13
14
15
Network (CNN) to drive a car.
public roads w/o human
16 Source: https://devblogs.nvidia.com/deep-learning-self-driving-cars/
DAVE-2 CNN: 9 layers, ~250K parameters, ~27M connections
Video: https://www.youtube.com/watch?v=NJU9ULQUwng
17
18
19
20
21
22
23
24
25
26
27
Simon Fürst, BMW, EMCC2015 Munich, adopted from OSPERT2015 keynote
28
Workshop on Analysis Tools and Methodologies for Embedded and Real-time Systems (WATERS), July 2018
29
30
31
32
– Meet deadlines in processing large amounts of real-time data from various sensors (e.g., autonomous cars) – Many constraints: size, weight, and power (SWaP); cost
– Interact with the environment, human, in real-time – Can hurt humans, destroy things, blow up (e.g., Nuclear plants) – Need both logical and temporal (time) correctness
– Communicate over the internet (cloud servers etc.) – Remote software update (fix bugs, …) – Run untrusted 3rd party software (e.g., Apple CarPlay)
33
34 CMU’s “Boss” Self-driving car, circa 2007 10 dual-processor blade servers on the trunk Audi’s zFAS platform. 2016-2018 A single-board computer with multiple CPUs, GPU, FPGA
Audi A8
35
Intel, “Technology and Computing Requirements for Self-Driving Cars”
36
Source: http://on-demand.gputechconf.com/gtc/2015/presentation/S5870-Daniel-Lipinski.pdf
37
Figure source: OSPERT 2015 Keynote by Leibinger
38
39
http://www.nvidia.com/object/drive-px.html
40
treatments
secs (6/4/1996)
altitude information ” Caused by 64bit floating to 16bit integer conversion
– Pitot tube (speed sensor) failure Flight Director (FD) malfunction (shows “head up”) pilots follow the faulty FD enter stall
41
http://www.spiegel.de/international/world/experts-say-focus-on-manual-flying-skills-needed-after-air-france-crash-a-843421.html http://www.slate.com/blogs/the_eye/2015/06/25/air_france_flight_447_and_the_safety_paradox_of_airline_automation_on_99.html
Stall Normal
42
43
http://www.nytimes.com/interactive/2016/07/01/business/inside-tesla-accident.html
44
https://static.nhtsa.gov/odi/inv/2016/INCLA-PE16007-7876.PDF
45
https://static.nhtsa.gov/odi/inv/2016/INCLA-PE16007-7876.PDF
46
https://www.nytimes.com/2018/03/19/technology/uber-driverless-fatality.html
about 6 seconds before impact
then as a bicycle with varying expectations of future travel path.
the system determined that an emergency braking maneuver was needed
are not enabled while the vehicle is under computer control, to reduce the potential for erratic vehicle behavior
47
https://www.ntsb.gov/investigations/AccidentReports/Reports/HWY18MH010-prelim.pdf
48
49
50
51
– E.g., real-time control software of a car – Observed >21X execution time increase on Odroid XU4 (*)
– Observed >10X increase on RPi 3 (**)
52
LLC Core1 Core2 Core3 Core4
bench co-runner(s)
(*) Prathap Kumar Valsan, Heechul Yun, Farzad Farshchi. “Taming Non-blocking Caches to Improve Isolation in Multicore Real-Time Systems.” In RTAS, IEEE, 2016. Best Paper Award (**) Michael Garrett Bechtel, Elise McEllhiney, Minje Kim, Heechul Yun. “DeepPicar: A Low-cost Deep Neural Network-based Autonomous Car.” In RTCSA, IEEE, 2018
53
[C] Michael Garrett Bechtel and Heechul Yun. Denial-of-Service Attacks on Shared Cache in Multicore: Analysis and Prevention. IEEE Intl. Conference
54
Lines of Code in Typical GM Car
1 10 100 1000 10000 100000 1970 1990 2010 Model Year KLOC
Figures are from NASA JPL. “Flight Software Complexity,” 2008
Growth in Software Size
200 400 600 800 1000 1200 1400 Apollo 1968 Space Shuttle Orion (est.) Flight Vehicle K SLOC
55
https://www.quora.com/How-many-lines-of-code-are-in-the-Linux-kernel
– Single event upset (SEU) in SRAM, logic
– Manifested as software failures
– Bigger problem in advanced CPU
– Pentium floating point bug (FDIV bug) – Intel CPU bugs in 2015: http://danluu.com/cpu-bugs/
High Activity”
56
http://www.cotsjournalonline.com/articles/view/102279
57
https://meltdownattack.com/
58
59
60
Image source: M. Lipp et al., “Meltdown,” arXiv Prepr., 2018.
61
62
Amazon prime air
63
64
65
66
67
68
69
70
71
http://jbpress.ismedia.jp/articles/-/36814