Software Dynamics: A New Method of Evaluating Real-Time Performance of Distributed Systems Janusz Zalewski Computer Science Florida Gulf Coast University.

Slides:



Advertisements
Similar presentations
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Advertisements

Introduction to Embedded Systems Resource Management - III Lecture 19.
Thread Criticality Predictors for Dynamic Performance, Power, and Resource Management in Chip Multiprocessors Abhishek Bhattacharjee Margaret Martonosi.
Sensor Network Platforms and Tools
Extensibility, Safety and Performance in the SPIN Operating System Department of Computer Science and Engineering, University of Washington Brian N. Bershad,
Chapter 13 Embedded Systems
Chapter 13 Embedded Systems Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Figure 2.8 Compiler phases Compiling. Figure 2.9 Object module Linking.
Software Architecture Design Instructor: Dr. Jerry Gao.
1: Operating Systems Overview
Introduction to Operating Systems – Windows process and thread management In this lecture we will cover Threads and processes in Windows Thread priority.
Introduction to Operating Systems What is an operating system? Examples How do many programs run at the same time, with one processor?
Embedded Real-time Systems The Linux kernel. The Operating System Kernel Resident in memory, privileged mode System calls offer general purpose services.
Mid#1 Revision. CH1 Mind map Ch2 Mind map Types of Questions Short Answers (essay) True/False MCQ Problems Code to trace.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
1 When to Switch Processes 3 triggers –System call, Interrupt and Trap System call –when a user program invokes a system call. e.g., a system call that.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
CprE 458/558: Real-Time Systems
1 Chapter 13 Embedded Systems Embedded Systems Characteristics of Embedded Operating Systems.
EMBEDDED SOFTWARE Team victorious Team Victorious.
Chapter 2 The OS, the Computer, and User Programs Copyright © 2008.
Chapter 19: Real-Time Systems Silberschatz, Galvin and Gagne ©2005 AE4B33OSS Chapter 19: Real-Time Systems System Characteristics Features of Real-Time.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 15 Slide 1 Real-time Systems 1.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Advanced Operating Systems CIS 720 Lecture 1. Instructor Dr. Gurdip Singh – 234 Nichols Hall –
Introduction to Real-Time Systems
Chapter 10 Multiprocessor and Real-Time Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
Chapter 6 Scheduling. Basic concepts Goal is maximum utilization –what does this mean? –cpu pegged at 100% ?? Most programs are I/O bound Thus some other.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Chapter 13 Architectural Design
Chapter 10 Multiprocessor and Real-Time Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community.
Real-Time Operating Systems for Embedded Computing 李姿宜 R ,06,10.
© ABB Group October 24, 2015 | Slide 1 Dynamic Software Updates for Real-Time Systems Michael Wahler, Stefan Richter, Manuel Oriol Michael Wahler, ABB.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
Real-Time CORBA By Christopher Bolduc. What is Real-Time? Real-time computing is the study of hardware and software systems that are subject to a “real-
Ernest Cachia University of Malta “Real-Time System Development” Slide No. 1 of part 2 Schematic Task Execution Example time EABCDF (Deadline) Execution.
Explore Patterns in Context-Aware Applications --Using Reactor Pattern to Develop In/Out Board Fall 2002 Yu Du.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Object-Oriented Design and Implementation of the OE-Scheduler in Real-time Environments Ilhyun Lee Cherry K. Owen Haesun K. Lee The University of Texas.
Resource Manager for Distance Education Systems Goran Kimovski Vladimir Trajkovik Danco Davcev Faculty of Electrical Engineering and Computer Science,
CIS250 OPERATING SYSTEMS Chapter 6 - CPU Scheduling Basic Concepts The objective of multi-programming is have a program running at all times Maximize.
Page 1 2P13 Week 10. Page 2 Page 3 Static table-driven approaches performs a static analysis of feasible schedules of dispatching result is a schedule.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 31. Review Creational Design Patterns – Singleton Pattern – Builder Pattern.
1 BBN Technologies Quality Objects (QuO): Adaptive Management and Control Middleware for End-to-End QoS Craig Rodrigues, Joseph P. Loyall, Richard E. Schantz.
19.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Chapter 19: Real-Time Systems.
Chapter 19: Real-Time Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 19: Real-Time Systems System Characteristics.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Real-Time Operating System Design
CSC 480 Software Engineering Lecture 17 Nov 4, 2002.
For a good summary, visit:
Embedded Computer - Definition When a microcomputer is part of a larger product, it is said to be an embedded computer. The embedded computer retrieves.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Chapter 5:Architectural Design l Establishing the overall structure of a software.
CHaRy Software Synthesis for Hard Real-Time Systems
Real-time Software Design
REAL-TIME OPERATING SYSTEMS
TrueTime.
Advanced Operating Systems CIS 720
OPERATING SYSTEMS CS3502 Fall 2017
Midterm Review David Ferry, Chris Gill
Real-time Software Design
Chapter 6: CPU Scheduling
Operating Systems CPU Scheduling.
EE 472 – Embedded Systems Dr. Shwetak Patel.
Co-designed Virtual Machines for Reliable Computer Systems
Presentation transcript:

Software Dynamics: A New Method of Evaluating Real-Time Performance of Distributed Systems Janusz Zalewski Computer Science Florida Gulf Coast University Ft. Myers, FL FALSE2002, Nashville, Nov , 2002

Talk Outline RT Software Architecture Evaluating S/W Architectures Timeliness & S/W Dynamics Conclusion FALSE2002, Nashville, Nov , 2002

Feedback Control System FALSE2002, Nashville, Nov , 2002

Generic Real-Time Software Architecture FALSE2002, Nashville, Nov , 2002

Sensor/Actuator component User Interface component Communication Link component Database component Processing component Timing component. Basic Components of Real-Time Software Architecture FALSE2002, Nashville, Nov , 2002

Air-Traffic Control System Physical Diagram FALSE2002, Nashville, Nov , 2002

Air-Traffic Control System Context Diagram FALSE2002, Nashville, Nov , 2002

The idea of grouping I/O information into different categories, which later determine the software architecture follows the fundamental software engineering principle of separation of concerns (Parnas, 1970s). FALSE2002, Nashville, Nov , 2002

Model of a Distributed Embedded Simulation FALSE2002, Nashville, Nov , 2002

We are missing good (any) measures to characterize Behavioral Properties of a software module (its dynamics). FALSE2002, Nashville, Nov , 2002

Interrupt Latency The time interval between the occurrence of an external event and start of the first instruction of the interrupt service routine. FALSE2002, Nashville, Nov , 2002

H/W logic processing Interrupt disable time Handling higher H/W priorities Switching to handler code. Interrupt Latency Involves FALSE2002, Nashville, Nov , 2002

Real-Time System Responsiveness FALSE2002, Nashville, Nov , 2002

Dispatch Latency The time interval between the end of the interrupt handler code and the first instruction of the process activated (made runnable) by this interrupt. FALSE2002, Nashville, Nov , 2002

Dispatch Latency Involves OS decision time to reschedule (non-preemptive kernel state) context switch time return from OS call. FALSE2002, Nashville, Nov , 2002

Real-Time Properties * Responsiveness * Timeliness * Schedulability * Predictability FALSE2002, Nashville, Nov , 2002

How to measure these properties? * Responsiveness - just outlined * Timeliness - proposed below * Schedulability - rate monotonic and deadline monotonic analyses. FALSE2002, Nashville, Nov , 2002

Two measures of timeliness: * Overall time deadlines are missed (by a task) * Number of times deadlines are missed by X percent FALSE2002, Nashville, Nov , 2002

5-task Benchmark FALSE2002, Nashville, Nov , 2002

Overall time the deadlines are missed for 100 experiments. FALSE2002, Nashville, Nov , 2002

The number of times the deadlines are missed by 2%.

Overall time the deadlines are missed for 100 experiments (CORBA). FALSE2002, Nashville, Nov , 2002

The number of times the deadlines are missed by 2% (CORBA). FALSE2002, Nashville, Nov , 2002

ATCS: Software Components Communicating via CORBA FALSE2002, Nashville, Nov , 2002

Overall time (in milliseconds) deadlines are missed for 20 aircraft (in 100 experiments). FALSE2002, Nashville, Nov , 2002

Number of times deadlines are missed by more than 20% for 20 aircraft (in 100 experiments). FALSE2002, Nashville, Nov , 2002

Satellite Ground Control Station FALSE2002, Nashville, Nov , 2002

SGCS Implementation FALSE2002, Nashville, Nov , 2002

SGCS Physical Architecture FALSE2002, Nashville, Nov , 2002

Single DB Client Request Processing Time. FALSE2002, Nashville, Nov , 2002

Percent of deadlines missed for one DB Client. FALSE2002, Nashville, Nov , 2002

Five DB Clients Request Processing Time. FALSE2002, Nashville, Nov , 2002

Percent of deadlines missed for five DB Clients. FALSE2002, Nashville, Nov , 2002

Sensitivity: a measure of the magnitude of system’s response to changes. FALSE2002, Nashville, Nov , 2002

Sensitivity: (y1 – y0)/[(y1 + y0)/2] (x1 – x0)/[(x1 + x0)/2] FALSE2002, Nashville, Nov , 2002

Sensitivity = 1.73 FALSE2002, Nashville, Nov , 2002

Sensitivity = 1.00 FALSE2002, Nashville, Nov , 2002

Sensitivity = 1.64 FALSE2002, Nashville, Nov , 2002

First Order Dynamics G(s) = K / (  *s + 1) FALSE2002, Nashville, Nov , 2002

Time constant -  : a measure of the speed of system’s response to changes. FALSE2002, Nashville, Nov , 2002

Settling Time: time when curve reaches 2% max Time Constant = 0.25 * Settling Time FALSE2002, Nashville, Nov , 2002

 = 165 ms FALSE2002, Nashville, Nov , 2002

 = 87.5 ms FALSE2002, Nashville, Nov , 2002

 = 15 ms FALSE2002, Nashville, Nov , 2002

Distributed Embedded Simulation Architecture FALSE2002, Nashville, Nov , 2002

Statistical measures of timeliness: * Round-trip time stability * Service time effect FALSE2002, Nashville, Nov , 2002

Service time effect for a specific architecture FALSE2002, Nashville, Nov , 2002

Round-trip message time for 5-task simulation FALSE2002, Nashville, Nov , 2002

Conclusion Behavioral Properties are crucial for successful software development Sensitivity is one important property Software Dynamics seems to be a measurable property as well FALSE2002, Nashville, Nov , 2002