CSE 520S Real-Time Systems

Similar documents
Internet of Things Wireless Sensor Networks. Chenyang Lu

Cloud Tutorial: AWS IoT. TA for class CSE 521S, Fall, Jan/18/2018 Haoran Li

Real-Time Wireless Control Networks for Cyber-Physical Systems

Real- Time Wireless Control Networks for Cyber- Physical Systems

Servilla: Service Provisioning in Wireless Sensor Networks. Chenyang Lu

Philips Lifeline. Ø Chenyang Lu 1

Adaptive QoS Control for Real-Time Systems

Real-Time CORBA. Chenyang Lu CSE 520S

Fall Detection for Older Adults with Wearables. Chenyang Lu

Final Review. Chenyang Lu. CSE 467S Embedded Compu5ng Systems

CS 5523: Operating Systems

Real-Time Scheduling Single Processor. Chenyang Lu

Operating Systems. Chenyang Lu

Graduate Development Program Engineering. Arrow Electronics July 2018

Critiques. Ø Critique #1

Ø Project Description. Ø Design Criteria. Ø Design Overview. Ø Design Components. Ø Schedule. Ø Testing Criteria. Background Design Implementation

Hoboken Public Schools. Project Lead The Way Curriculum Grade 8

This Addendum Number 1 to the above referenced IFB responds to a clarification question asked with the MST response.

As Introduced. 131st General Assembly Regular Session H. B. No

Kjell-Einar Anderssen. Country Manager Norway - Nutanix

Capitalism in an Age of Robots

CS 5523 Operating Systems: Intro to Distributed Systems

IoT On National Sovereignty. Professor Dr Abdullah Gani Dean Faculty of Computer Science & Information Technology University of Malaya

30 Transformational Design with Essential Aspect Decomposition: Model-Driven Architecture (MDA)

Aspect Decomposition: Model-Driven Architecture (MDA) 30 Transformational Design with Essential. References. Ø Optional: Ø Obligatory:

COMP 635: WIRELESS & MOBILE COMMUNICATIONS COURSE INTRODUCTION. Jasleen Kaur. Fall 2017

Cyber-Physical Systems Feedback Control

Department of Industrial Engineering: Research Groups

Product Description

AUTOMATED AND ELECTRIC VEHICLES BILL DELEGATED POWERS MEMORANDUM BY THE DEPARTMENT FOR TRANSPORT

Law Firm of Naren Thappeta*

M-Vote (Online Voting System)

4th International Industrial Supercomputing Workshop Supercomputing for industry and SMEs in the Netherlands

Case 2:18-cv JRG Document 1 Filed 08/01/18 Page 1 of 26 PageID #: 1

Last Time. Bit banged SPI I2C LIN Ethernet. u Embedded networks. Ø Characteristics Ø Requirements Ø Simple embedded LANs

AIOTI ALLIANCE FOR INTERNET OF THINGS INNOVATION

Legal Challenges in Digitalization and Privacy in Industry 4.0

DevOps Course Content

CS 2461: Computer Architecture I

Use of Automated Writing Evaluation (AWE) for placement tests: Can scores of AWE be criteria to place students into language courses?

Digital research data in the Sigma2 prospective

Cyber-Physical Systems Scheduling

Cadac SoundGrid I/O. User Guide

30 Transformational Design with Essential Aspect Decomposition: Model-Driven Architecture (MDA)

BILL, Explanatory. (These notes form no part of the Bill but are intended only to indicate its general purport)

2017 APCUG Annual Meeting November 4, Benefits / Don Singleton VOTY PUSH / Virtual Technology Committees Judy Taylour, Chair

Processes. Criteria for Comparing Scheduling Algorithms

City of Toronto Election Services Internet Voting for Persons with Disabilities Demonstration Script December 2013

SMS based Voting System

RESTRICTIONS ON USE OF WIRELESS COMMUNICATION DEVICES WHILE OPERATING A MOTOR VEHICLE

Exploring QR Factorization on GPU for Quantum Monte Carlo Simulation

Patents Bill 2008: Patentability of Computer Programs

Quantcast Measure Guide

THE ELEVENTH JUDICIAL CIRCUIT MIAMI-DADE COUNTY, FLORIDA. CASE NO (Court Administration)

Emergence of multimodal biometrics at the Border Biometrics Institute Asia-Pacific Conference

Opportunities in Communication

IEEE COMMUNICATIONS SOCIETY CONSTITUTION (IEEE Approval: July 2015) (ComSoc Membership Approval: October 2015)

Performance & Energy

Installation of InfraStruXure for Medium Data Centers with an Emergency Power Off Circuit

HPCG on Tianhe2. Yutong Lu 1,Chao Yang 2, Yunfei Du 1

General Framework of Electronic Voting and Implementation thereof at National Elections in Estonia

US MOBILE NEWS SEEKING TRENDS. Based on October September 2015 data. Excerpted from a full findings report delivered November 2015.

UNITED STATES DISTRICT COURT WESTERN DISTRICT OF WASHINGTON AT SEATTLE. THIS MATTER comes before the Court on Defendants Motion for Judgment on the

Key Considerations for Implementing Bodies and Oversight Actors

Duluth PD Mobile Video Recorder Policy PURPOSE AND SCOPE

Minutes of the SDR Forum 59 th General Meeting 3 July 2008

Deliberation in Planning and Acting

Examination of CII and Business Methods Applications

2018 Municipal Election Accessibility Plan

Awodele, 0.,1 Ajayi, 0.B.,2 and Ajayi, LA. 3

Volume I Appendix A. Table of Contents

Colloquium organized by the Council of State of the Netherlands and ACA-Europe. An exploration of Technology and the Law. The Hague 14 May 2018

Reddit Advertising: A Beginner s Guide To The Self-Serve Platform. Written by JD Prater Sr. Account Manager and Head of Paid Social

CHAPTER Council Substitute for Committee Substitute for House Bill No. 325

F L O R I D A H O U S E O F R E P R E S E N T A T I V E S

IEEE COMMUNICATIONS SOCIETY CONSTITUTION (IEEE approval: December 2015) (ComSoc Membership approval: pending)

THE PATENTABILITY OF COMPUTER-IMPLEMENTED INVENTIONS. Consultation Paper by the Services of the Directorate General for the Internal Market

State Election Commission Maharashtra (EMP)

Next- Generation National Security and Public Safety in Europe

Managing Large Scale Drupal and Agile Culture by Dinesh Waghmare, TCS

(a) A person under 18 years of age may not operate a motor vehicle while using a wireless communication [communications] device, except in case of

Hoboken Public Schools. PLTW Introduction to Computer Science Curriculum

Introduction to Artificial Intelligence CSCE , Fall 2017 URL:

Graduate School of Political Economy Dongseo University Master Degree Course List and Course Descriptions

Case 1:17-cv GMS Document 1 Filed 10/25/17 Page 1 of 5 PageID #: 30 IN THE UNITED STATES DISTRICT COURT FOR DISTRICT OF DELAWARE

Fall 2015 INTERNATIONAL RELATIONS in the CYBER AGE. The Course is in Three Parts

R/SE CRIMINAL SANCTIONS AGENCY 21/610/2017

advertising options chromatographyonline.com

Case 3:19-cv GPC-LL Document 4 Filed 03/22/19 PageID.16 Page 1 of 10

TinyOS and nesc. Ø TinyOS: OS for wireless sensor networks. Ø nesc: programming language for TinyOS.

edriver s Licenses The Convergence of Identity in Society and the future role of the Driver s License.

Introduction to Social Media for Unitarian Universalist Leaders

BRAIN GAIN INITIATIVE

(Reprinted with amendments adopted on April 22, 2011) FIRST REPRINT S.B Referred to Committee on Transportation

PRISONER TRANSPORT VEHICLE CARGO VAN

INFORMATION TECHNOLOGY ACT, 2000 (as amended by Information Technology Act, 2008)

Crimes Act authorisation : this definition was inserted, as from 13 July 2011, by s 4(2) Crimes Amendment Act 2011 (2011 No 29).

Proposed Computer-Implemented Invention Examination Guidelines

Statement on Security & Auditability

Concurrent Programing: Why you should care, deeply. Don Porter Portions courtesy Emmett Witchel

Transcription:

CSE 520S Real-Time Systems Prof. Chenyang Lu TAs: Haoran Li, Yehan Ma

Real-Time Systems Ø Systems operating under timing constraints q Automobiles. q Airplanes. q Mars rovers. q Game console. q Factory automation. q Telecom and mobile network management. q Stock trading. q Air traffic control. Ø >95% of microprocessors are used for embedded systems. 2

Embedding a Computer CPU output input analog analog actuators analog analog sensors embedded computer mem 3

An;-lock Brake System Ø Pumps brakes to reduce skidding: real-8me à safety sensor sensor brake brake ABS hydraulic pump brake brake sensor sensor 4

GM Super Cruise 5

A Distributed Real-Time System ECU A Radar Radar Camera Microcontroller 1 Core 1 Core 2 Brake Controller FlexRay Channel B Microcontroller 2 Core 1 Core 2 CAN Bus #1 Steering Controller FlexRay Channel A ECU B Microcontroller 1 CAN Bus #2 Engine Controller Core 1 Core 2 Radar Radar Camera Microcontroller 2 Transmission Controller Core 1 Core 2 Courtesy: GM 6

More on a Car ~100 microprocessors: Ø 4-bit microcontroller checks seat belt; Ø microcontrollers run dashboard devices; Ø 16/32-bit microprocessor controls engine; Ø Navigation; Ø Entertainment: DVD, audio, satellite radio 7

Real-Time Applica;ons in a Car Ø Soft real-time: Infotainment on Linux or Android Ø Hard real-time: Safety-critical control on AUTOSAR Source: http://www.edn.com/design/automotive/4399434/multicore-and-virtualization-in-automotive-environments 8/27/17 8

Internet of Things Ø Convergence of q Miniaturized devices: integrate processor, sensors and radios. q Low-power wireless: connect millions of devices to the Internet. q Data analytics: make sense of sensor data. q Cloud: scalable computing. Ø Large-scale IoT-driven control q Smart manufacturing, transportation, power grid, healthcare q Real killer apps of IoT! q Closed-loop control requires real-time performance!

Clinical Warning Rapid Response R. Dor, G. Hackmann, Z. Yang, C. Lu, Y. Chen, M. Kollef and T.C. Bailey, Experiences with an End-To-End Wireless Clinical Monitoring System, Conference on Wireless Health (WH'12), October 2012. 10

IoT-driven Control Ø Smart manufacturing, transportation, grid, healthcare Ø Closed-loop control à latency bounds Ø End-to-end latency: devices wireless edge internet cloud Senso r Actuato r sensor data WirelessHART in Process Industries [Courtesy: Emerson Process Management] Controlle r control command

Real-Time IoT à End-to-End Real-Time Performance Ø Miniaturized devices à real-time embedded systems Ø Low-power wireless à real-time wireless Ø Data analytics à real-time analytics Ø Cloud à real-time data processing 12

Real-Time Cloud Ø IoT à large-scale sensing and control of physical world q Smart manufacturing, smart transportation, smart grid q Feedback control demands real-time performance guarantees. Ø Example: Intelligent Transportation q Cloud collects data from cameras and roadside detectors. q Control the traffic signals and message signs in real-time. q Transportation information feed to drivers. q SCATS @ Sydney: controlling 3,400 signals at 1s round-trip latency. Ø Cloud needs to be real-time and predictable! q URL: https://youtu.be/cluvnravhqa 13

Towards Real-Time Edge/Cloud Ø Support real-time applications in the cloud. q Latency guarantees for tasks running in virtual machines (VMs). q Real-time performance isolation between VMs. q Resource sharing between real-time and non-real-time VMs. Ø Real-time cloud stack. q RT-Xen à real-time VM scheduling (included in Xen hypervisor) q VATC à real-time network I/O on a virtualized host. q RT-OpenStack à real-time cloud resource management. RT-OpenStack Cyber-Physical Event Processing RT Cilk Plus VATC: RT Network I/O Latency guarantees 14

Example: RT-Xen Ø Real-time schedulers in the Xen hypervisor. Ø Provide real-time guarantees to tasks in VMs. Ø Incorporated in Xen 4.5 as the rtds scheduler. RT-Xen hyps://sites.google.com/site/real8mexen/ S. Xi, M. Xu, C. Lu, L. Phan, C. Gill, O. Sokolsky and I. Lee, Real-Time Multi-Core Virtual Machine Scheduling in Xen, ACM International Conference on Embedded Software (EMSOFT'14), October 2014. 15

Challenges Must meet non-functional constraints Ø Real-time Ø Memory Ø Battery lifetime Ø Reliability, safety and certification Ø Cost Correct output is NOT enough! 16

Real-;me Requirements Ø Period: release a job every T sec q Playback 30 video frames per second Ø Deadline: complete a job within D sec q Anti-lock brake must start within 10 ms after skidding starts 17

Hard vs. SoT Real-Time Ø Hard: violating timing constraints à failure q Automobile: active safety features, autonomous driving q Air traffic control Ø Soft: violating timing constraints à inconvenience q Video q Audio ( harder than video) q Stock trading 18

Topics 1. Real-Time Operating Systems 2. Real-Time Scheduling 3. Real-Time Parallel Computing 4. Distributed Real-Time Middleware 5. Real-Time Virtualization and Cloud Computing 6. Adaptive Quality of Service Control 7. Industrial Wireless Control 8. Project: Cloud Middleware for IoT q Based on Amazon Web Services (AWS) 19

Grading Ø Projects 60% q Cloud warm-up homework: 1% q Proposal and presentation: 10% q Demo 1: 5% q Demo 2: 5% q Final demo & report: 39% Ø Critiques 35% Ø Participation 5% 20

Cri;ques Ø 1/2 page critiques of research papers Ø Submit by 10am before class Ø Back-of-envelop comments - NOT whole essays Ø See guidelines on class web site q http://www.cs.wustl.edu/%7elu/cse521s/critique.html 21

Project Ø Three students per team Ø Build your own cloud platform for IoT q Deploy and configure middleware q Experiment, measure and analyze q Write a paper q Demo to the class 22

IoT Cloud Ø Many things (devices) q Different Types q Isolated Systems Ø Data and Command q Sensing the world q Give Response Ø Challenge q United: Connected + Communication q Smart: Data Analytics + Strategy 8/27/17 Source: https://aws.amazon.com/iot-platform/ 23

Amazon Web Services (AWS) IoT United: Connect + Communication Smart: Other Cloud Service Data Storage Machine Learning 8/27/17 Source: https://aws.amazon.com/iot-platform/ 24

Amazon IoT Architecture 8/27/17 25

Project: Build an IoT Cloud Ø Platform as a Service (PaaS) for IoT q Messaging, streaming processing, database, analytics Ø Methodology q Build and configure open-source middleware in AWS q Develop applications and benchmark programs q Measure performance through experiments q Analyze and present results Ø Focus on latency and IoT-like workloads 26

Steps 1. Choose your favorite topic 2. Form a team 3. Propose a plan 4. Implement 5. Measure and analyze 6. Demo: 1, 2, final 7. Write a technical report 27

Start Early and Work OTen! Ø Choose topics Ø Put together a team Ø Meet every week to coordinate Ø Lots of development and experiments throughout the semester! 28

Coming Up Ø Wednesday: AWS tutorial Ø Next Monday: Project Discussion Ø Next Wednesday: Labor Day No Class 29

Pointers Ø http://www.cse.wustl.edu/~lu/cse520s/ Ø Email for appointment q Chenyang (Jolley 213) q Haoran Li (Jolley 217): Projects q Yehan Ma (Jolley 217): Critiques 30