© IT Innovation Centre University of Southampton and other members of the IRMOS consortium Provisioning and Orchestrating Stochastic Black Box Processes.

Slides:



Advertisements
Similar presentations
DISTRIBUTED MULTIMEDIA SYSTEMS
Advertisements

Auto-Generation of Test Cases for Infinite States Reactive Systems Based on Symbolic Execution and Formula Rewriting Donghuo Chen School of Computer Science.
1 Quality of Service Issues Network design and security Lecture 12.
Knowledge Based Synthesis of Control for Distributed Systems Doron Peled.
D u k e S y s t e m s Time, clocks, and consistency and the JMM Jeff Chase Duke University.
Timed Automata.
1 Mechanical Verification of Timed Automata Myla Archer and Constance Heitmeyer Presented by Rasa Bonyadlou 24 October 2002.
Fundamentals of Python: From First Programs Through Data Structures
1 Semantic Description of Programming languages. 2 Static versus Dynamic Semantics n Static Semantics represents legal forms of programs that cannot be.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.8: Understanding WAN Link Efficiency Mechanisms.
Predictable Design for Real-time Embedded Control A Case Study Jinfeng Huang & Jeroen Voeten Eindhoven University of Technology PROGRESS.
Lab Meeting Performance Analysis of Distributed Embedded Systems Lothar Thiele and Ernesto Wandeler Presented by Alex Cameron 17 th August, 2012.
Variability Oriented Programming – A programming abstraction for adaptive service orientation Prof. Umesh Bellur Dept. of Computer Science & Engg, IIT.
What is an Algorithm? (And how do we analyze one?)
Synthesis of Embedded Software Using Free-Choice Petri Nets.
© Katz, 2003 Formal Specifications of Complex Systems-- Real-time 1 Adding Real-time to Formal Specifications Formal Specifications of Complex Systems.
An Introduction to Input/Output Automata Qihua Wang.
OS Spring ’ 04 Scheduling Operating Systems Spring 2004.
Scheduling Using Timed Automata Borzoo Bonakdarpour Wednesday, April 13, 2005 Selected Topics in Algorithms and Complexity (CSE960)
Transaction Processing IS698 Min Song. 2 What is a Transaction?  When an event in the real world changes the state of the enterprise, a transaction is.
Cs238 CPU Scheduling Dr. Alan R. Davis. CPU Scheduling The objective of multiprogramming is to have some process running at all times, to maximize CPU.
TinyOS Software Engineering Sensor Networks for the Masses.
© Katz, 2007 Formal Specifications of Complex Systems-- Real-time 1 Adding Real-time to Formal Specifications Formal Specifications of Complex Systems.
Real-Time Systems and Programming Languages
Towards a HOL Framework for the Deductive Analysis of Hybrid Control Systems ADPM’2000 Norbert Völker University of Essex, England.
Probabilistic Verification of Discrete Event Systems Håkan L. S. Younes.
The Rare Glitch Project: Verification Tools for Embedded Systems Carnegie Mellon University Pittsburgh, PA Ed Clarke, David Garlan, Bruce Krogh, Reid Simmons,
Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Influence of different system abstractions on the performance analysis.
Models of Computation Reading Assignment: L. Lavagno, A.S. Vincentelli and E. Sentovich, “Models of computation for Embedded System Design”
Formal verification Marco A. Peña Universitat Politècnica de Catalunya.
© Katz, 2003 Formal Specifications of Complex Systems-- Real-time 1 Adding Real-time to Formal Specifications Formal Specifications of Complex Systems.
Do we need theoretical computer science in software engineering curriculum: an experience from Uni Novi Sad Bansko, August 28, 2013.
Self-Adaptive QoS Guarantees and Optimization in Clouds Jim (Zhanwen) Li (Carleton University) Murray Woodside (Carleton University) John Chinneck (Carleton.
Instructore: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Concurrent and.
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Efficient Admission Control for Enforcing Arbitrary Real-Time Demand-Curve Interfaces Farhana Dewan and Nathan Fisher RTSS, December 6 th, 2012 Sponsors:
A Framework for Elastic Execution of Existing MPI Programs Aarthi Raveendran Graduate Student Department Of CSE 1.
Issues in (Financial) High Performance Computing John Darlington Director Imperial College Internet Centre Fast Financial Algorithms and Computing 4th.
Modeling and Simulation Discrete-Event Simulation
Submodule construction in logics 1 Gregor v. Bochmann, University of Ottawa Using First-Order Logic to Reason about Submodule Construction Gregor v. Bochmann.
Fundamentals of Algorithms MCS - 2 Lecture # 8. Growth of Functions.
1 Black-box conformance testing for real-time systems Stavros Tripakis VERIMAG Joint work with Moez Krichen.
Architecture Analysis Techniques
BlinkDB: Queries with Bounded Errors and Bounded Response Times on Very Large Data ACM EuroSys 2013 (Best Paper Award)
Software Development Problem Analysis and Specification Design Implementation (Coding) Testing, Execution and Debugging Maintenance.
HACNet Simulation-based Validation of Security Protocols Vinay Venkataraghavan Advisors: S.Nair, P.-M. Seidel HACNet Lab Computer Science and Engineering.
Course: COMS-E6125 Professor: Gail E. Kaiser Student: Shanghao Li (sl2967)
Reasoning about the Behavior of Semantic Web Services with Concurrent Transaction Logic Presented By Dumitru Roman, Michael Kifer University of Innsbruk,
Chapter 8 Asynchronous System Model by Mikhail Nesterenko “Distributed Algorithms” by Nancy A. Lynch.
Grigore Rosu Founder, President and CEO Professor of Computer Science, University of Illinois
Model Checking Lecture 1. Model checking, narrowly interpreted: Decision procedures for checking if a given Kripke structure is a model for a given formula.
Ordering of Events in Distributed Systems UNIVERSITY of WISCONSIN-MADISON Computer Sciences Department CS 739 Distributed Systems Andrea C. Arpaci-Dusseau.
Improving System Availability in Distributed Environments Sam Malek with Marija Mikic-Rakic Nels.
Model Checking Lecture 1: Specification Tom Henzinger.
Agenda  Quick Review  Finish Introduction  Java Threads.
NTT - MIT Research Collaboration — Bi-Annual Report, July 1—December 31, 1999 MIT : Cooperative Computing in Dynamic Environments Nancy Lynch, Idit.
Technology of information systems Lecture 5 Process management.
Wolfgang Runte Slide University of Osnabrueck, Software Engineering Research Group Wolfgang Runte Software Engineering Research Group Institute.
Mail Call Us: , , Data Science Training In Ameerpet
SDN Network Updates Minimum updates within a single switch
Virtual memory.
Sandeep Patil, Sayantan Bhadra, Valeriy Vyatkin
runtime verification Brief Overview Grigore Rosu
Gabor Madl Ph.D. Candidate, UC Irvine Advisor: Nikil Dutt
The Von Neumann Model Basic components Instruction processing
Software Engineering with Reusable Components
Presented By: Darlene Banta
Operating System , Fall 2000 EA101 W 9:00-10:00 F 9:00-11:00
Lecture One: Automata Theory Amjad Ali
Presentation transcript:

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium Provisioning and Orchestrating Stochastic Black Box Processes within an SOA Bill Mitchell

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 2 University Stuttgart NTUA

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 3 Intuition: think of distributed Amazon EC2 and S3 with guaranteed workflow and guaranteed realtime QoS Guaranteed virtual resource QoS: processor, RAM, storage, bandwidth, latency, jitter,... Guaranteed reservations: resources will be available during reservation time frame QoS is monitored and verifiable during runtime IRMOS overview

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 4 Questions for modelling and verification Before developing application into IRMOS service Estimate performance characteristics Why bother? not possible to increase resources or time interval during execution

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 5 Questions for modelling and verification Before developing application  Time frame reservations required for workflow and components  Application workflow choreography; verified with respect to resource contention, resource utility, causal dependencies, deadlock, livelock, etc, £ £ ££ £ £

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 6 Black Box Process Component Performance Stochastic correlations from benchmarking and partial knowledge of algorithms. black box inputoutput

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 7 Streaming Real Time Processes State machine pattern for streaming data

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 8 Streaming Real Time Processes Stochastic interaction events and data data size estimate buffered IO complexity

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 9 Termination Estimate  Given stochastic complexity and input data  If executing at time n what’s probability of still running at n+1? data distributiontermination by time n+1

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 10 Discrete time stochastic automaton Replace this with this has standard semantics formally verify properties with stochastic model checkers can synchronise on stochastic events

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 11 rho(n) for known complexity  Data is Borel measurable space BV  Data estimates are probability measure p over BV  Time to execute black box is f(v) for v in BV  Define  If executing at time t, probability of still executing at t+d probability of complexity greater than t+d probability of complexity greater than t =

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 12 Estimated Complexity Discrete Time Data size d Time complexity = comp(d) t0t0 Probability q(t,d) data distribution over BV probability p

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 13 Estimated Complexity Discrete Time Data size d Time complexity = comp(d) t0t0 Probability q(t,d) data distribution probability p

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 14 Elementary timed workflow Arbitrary Workflow synchronised with process and clock can deadlock. Synchronisation and stochastic properties have to be arranged correctly. PRISM tool semantics require additional idle and termination loops.

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 15 Correct Workflow Semantics  For any DAG workflow with consistent time frames  For any black box process with given stochastic complexity and data  There is a timed non-stochastic workflow automaton that is deadlock free in composition with processes and clock imposes correct causal dependencies between processes  Extends to cyclic graphs by extending timed finite automata for black box processes  Workflow can also be extended to allow for failure, cancellation and restarts among processes.

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 16 PRISM module Activity [tick] (x=idle) -> (x'= idle); [startA] (x=idle) -> (x' = go); [] (x=go) -> rho_iterate0:(x'=add_one_to_count) + (1 - rho_iterate0):(x'=terminate); [] (x=add_one_to_count) -> (x'=exec)&(count0'=incrmnt_count0); [run] (x=exec) -> (x'=return); [tick] (x=return) -> (x'=go); [end] (x=terminate) -> (x'=stop); [tick] (x=stop) -> (x'=stop); endmodule formula rho_itr0 = rho0*(1- count0/interval0) + rho1*count0/interval0; formula rho_iterate0 = ((count0 >= 0)& (count0 <= interval0)) ? rho_itr0 : rho1;

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 17 Colour Correction Conceptual Model footage CC software tool Post House 1 Process component(s) real-time streaming No idea what these will be yet, it is extremely abstract Conceptual level so we don’t know  What type of buffering exists  How data is transcoded for data link  How data link is shared  How data link is managed But we can make a model that gives predictions!

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 18 Stochastic Data probability of having to CC amount outside range 30 to 40 is ~20% 180 probability size of footage needing CC 0 Black box complexity is linear If bandwidth is ‘too low’ for continuous period (say 1 minute) rewind is necessary

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 19 QoS model of streaming data link

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 20 Predictions If bandwidth OK 100% of time If bandwidth OK for 98% of time

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 21 Predictions

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 22 Timed stochastic process algebra  Process terms [t 0 < t < t 1 ] → P if clock is in given range then do P [?t < n : r=r’] P if clock t is less than n set r to r’ then do P ρ 1. P ρ n. P n there is probability ρ i that will do P i e ● P first do e next do P P + Q do exactly one of P or Q depending on which is enabled P || Qinterleave P and Q P || S Qsynchronous interleaving on event set S

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 23 Timed Black Box Process Term

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 24 Iterative Black Box Processes

© IT Innovation Centre University of Southampton and other members of the IRMOS consortium 25