160 likes | 301 Views
Information Extraction for Real-time Embedded Systems. Sebastian Fischmeister University of Waterloo esg.uwaterloo.ca. Aim of the Talk.
E N D
Information Extraction for Real-time Embedded Systems Sebastian FischmeisterUniversity of Waterloo esg.uwaterloo.ca
Aim of the Talk • Provide an overview of the research done within or associated with the project ORF-RE 03-045: “Certification of Safety-critical Software-intensive Systems” • Create an opportunity for integrating of research results and collaborating
Assumptions / Facts • Software is where the innovation is happening!Features sell, apps everywhere • Software size and complexity is thechallenge! Illustrating one root cause:Bridge from Tokyoto Vancouver
Assumptions / Facts • Computing systems are now beyond deep human comprehension. • Evidence: • Software size is growing exponentially • Processor complexity is growing exponentially • 80% of the developer’s time is debugging • We have software with 100M lines of code!
100M LOC? • Nuclear shutdown system: 40k lines of code • F-22 Raptor (‘97): 1.7M lines of code • F-35 Joint Strike Fighter (‘06): 5.7M lines of code • Boeing 787 (‘09): 6.5M lines of code • Current generation limousine: 100M LOC Can we comprehend such software?
10 000 dots 100K? 10M?
Trying to Understand the Certification Problem • Toronto: 2,503,281 • Ontario: 13,210,667 • USA: 300M You need to ensure that each person is doingthe right thing at the right time.
Project Sampler:Real-time Embedded Software Group @ University of Waterloo
Vision: Information Extraction Time-triggered runtime verification Time aware instrumentation Crit. CFG & sampling [FM’11] Coverage criterion [RTAS’09, TII] Tagging ISA extension [TR] Debugging, tracing & monitoring framework for RT embedded applications Mem vs. sampl. tradeoff [RV’11] Basics [TR] Security [TR] Preemptive [OPODIS’11] bitvec+[LCTES’11] Super-loop [LCTES’11] Markers [LCTES’10] Observability in software Time-triggered execution monitoring
Understanding Complex Programs • Problem: Can we efficiently trace information flow in a software system? => Tagging • Implemented in QNX at the kernel level • Applied to tracing, resource scheduling, and security • Applicable to testing, monitoring non-functional req. Network Tag Tag Tag Process Tag X
Understanding Complex Programs • Problem: Can we instrument programs without changing the timing (thus the behaviour)? => time-aware instrumentation • Applied to three case studies (OLPC, FS, SNU) • Software solution, hardware solution, code dup • Useful for tracing, testing, information extraction Instrumented Deadline X Original Frequency X X Executiontime
Monitoring Complex Programs • Problem: Can we engineer run-time monitoring and checking of programs? => TTRV Steering Application Eval. properties Program Observe Monitor Report Observer • Time-triggered monitoring & property evaluation • Useful for system safety,security, steering, tuning, …
Trying to Understand Complex Programs • Problem: How do people try to understand software systems? => debugging study Successfuldebuggers Failingdebuggers • Useful to guide future tools • Useful to understand developers’ minds
Conclusions • Software systems are hard to understand • Software is growing in size and complexity => Developers need support to understand what is going on at run time! • We research methods that help developers understand what the software is doing, especially tailored to (real-time) embedded systems. • (We also work on benchmarking & real-time networking) • (We also host the CFI Real-time Embedded Software Lab)
Acknowledgements • This research was supported in part by industrial partners and the Canadian tax payer! • In collaboration with Akramul Azim, Pansy Arafa, Akramul Azim, Shay Berkovich, Borzoo Bonakdarpour, Sina Gholamian, Hany Kashif, Patrick Lam, Samaneh Navabpour, Hiren Patel, Yassir Rizwan, Ahmad Rehman, Johnson Thomas, Mahesh Tripunithara, Augusto Oliveira, Wallace Wu.
Thanks. Questions? (PS: Postdoc positions available,email me at sfischme@uwaterloo.ca)