Immediate Detection of Predicates in Pervasive Environments
|
|
- Abigail Snow
- 5 years ago
- Views:
Transcription
1 Immediate Detection of redicates in ervasive Environments Ajay Kshemkalyani University of Illinois at Chicago November 30, 2010 A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
2 Outline of Talk Sensing the physical world for pervasive apps. Immediate redicate Detection: Motivation System and Execution Model redicates detected conjunctive and relational Approximate Snapshot Algorithms for immediate predicate detection Simple Clock-Free algorithm Interval Vector algorithm Consensus algorithm Characterization of accuracy of above algorithms erformance overhead comparison Discussion A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
3 redicate Detection by Sensing for ervasive Apps. Distributed sensed values assembled to determine context and adapt behavior or actuate /interact with environment redicates local predicate φi : on variables sensed locally by sensor i Conjunctive: φ = i N φ i, e.g., location = 915SEO temp < 20C Relational: φ = f i N (φ i ), e.g., x i + y j > 10 Do not assume physically synchronized clocks resource-constrained sensornets/ remote environments periodic clock synchronization may not be affordable skew ɛ (µ-secs to ms): imprecision in detecting predicates layer independance Explore use of lightweight middleware approaches A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
4 Immediate redicate Detection Detect global predicate φ that held at some instant in distributed observation of distributed asynchronous message-passing system Existing literature assumes instantaneous snapshots possible with synchronized physical clocks costs incurred by lower layer skew ɛ when overlap of intervals in which φ is true 2ɛ, false negatives resource-constrained sensornets, remote environments: unavailable or costly In MidSens 10, used lightweight middleware clocks to detect predicates Drawback: predicate gets detected after each sensor has sensed one more event, its next, locally (to also report completion time of interval) Immediate detection: for real-time on-line actuation and raising alarms ropose 3 clock-free algorithms A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
5 : Bound to Characterize Accuracy of Clock-Free redicate Detection Algorithms : bound on asynchronous message transmission delay for system-wide broadcast queuing in buffers, process scheduling, context switching retransmission (for reliability) Algorithms do not use ; accuracy determined by actual ( ) in a race difficult to estimate; characterizes degree of imprecision under races Contrast: physical clocks skew (ns for HW solns or µs-ms for SW solns) : 100ms - secs in WSNS in closed environments, e.g., smart homes Adequate when n is low and/or event rate is low, e.g., home. office, habitat, nature, structure monitoring << speed of human and object movements wild, remote terrain, nature monitoring: events rare w.r.t. hysical clocks: precision not needed (in the urban or wild), nor affordable (in the wild) A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
6 Sensor Network Model World plane vs. network plane Sensors/actuators modeled as processes (n) p: bound on number of sensed events at any sensor Network plane: asynchronous, FIFO channels Network plane cannot capture world plane causality: covert channels Interval: duration between two consecutively sensed events at a sensor roblem: Detect conjunctive or relational predicate over sensed values A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
7 roblem Definition Definition Given a conjunctive or relational φ on sensed values of the world plane, detect each occurrence of φ, holding at the same instant, without using physically synchronized clocks, in the network plane. Each detection should occur on-line at the earliest possible instant. Characterization of accuracy: same for relational and conjunctive predicates Level of accuracy lower for relational predicates A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
8 Time Models for SensorNets World plane causality over covert channels : cannot be tracked by network plane Hence, p n possible consistent states in state lattice World plane events to be observed: non-deterministic; single run only (Contrast: distributed programs: partial order induced by in-network deterministic sends/ receives) A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
9 Approximations in Simulating hysical Time World plane execution: one path of the many paths in state lattice Goal: identify the pn states and evaluate φ in them Control messages of our algorithms induce an artificial (non-semantic) lattice of consistent global states eliminate many of the O(p n ) states of state lattice Algorithms make approximations to the actual path traced by world plane execution, without constructing the lattice A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
10 Simulating hysical Time using Strobes Let I = {I 1,... I n } be a set of intervals, one per process. I.t s and I.t f denote the start and finish logical clock values of interval I. Definition All I i I overlap in physical time, i.e., Instantaneously I, iff Definition overlap(i) = min i (I i.t f ) max i (I i.t s ) max(i i.t s ) < min(i i.t f ) (1) i i overlap and used to characterize accuracy of 3 proposed algorithms. A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
11 Overview of roposed Algorithms Simple Value Vector at sink (or at all) node(s); Clock-Free send to sink (or broadcast) event notification; Algorithm evaluate φ whenever Value Vector changes Interval Value Vector, Interval Vector at all nodes + Vector broadcast Value Vector, Interval Vector + Algorithm evaluate φ by all nodes whenever Interval Vector changes Consensus Interval Vector Algorithm + Algorithm transmit (or broadcast) Consensus Message + consensus evaluated at sink (or by all) node(s) A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
12 Examples of otential False Negatives 4 X 5 i 7 Y 8 j Z k 1 2 Figure: Overlap: a potential false negative. i j k 1 Z 4 X 5 7 Y 8 Figure: Overlap: an inevitable false negative. 2 4 X 5 i 7 Y 8 j Z k 1 2 Figure: Overlap: a potential false negative. 4 X 5 i 7 Y 8 j Z k 1 2 Figure: Overlap: a potential false negative. A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
13 Examples of otential False ositives i 4 X 5 j Z k Y 8 Figure: No overlap: a potential false positive. i j Z k X 5 7 Y 8 Figure: No overlap: false positive not possible. i j Z k X 5 7 Y 8 Figure: No overlap: a potential false positive. A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
14 Results: Simple Clock-Free and Interval Vector Algorithms Theorem For a single observer in a system without any synchronized clocks, for the Simple Clock-Free and Interval Vector algorithms: 1 overlap = φ is correctly detected 2 0 overlap < = any outcome is possible 3 0 overlap > = any outcome is possible 4 overlap = φ is correctly detected as not holding Corollary For a single observer in a system without any synchronized clocks, for the Simple Clock-Free and Interval Vector algorithms: 1 ositive detection = overlap > 2 Negative detection = overlap < A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
15 Approximations by Algorithms Two levels of approximations to the np actual states 1 each of the n observers sees its best approximation to the actual global states at each of the np events 2 the np approximations of the actual global states observed by any observer are seen in a permutation that is the best approximation to the actual order Interval Vector algorithm makes better approximations than Simple Clock-Free algorithm. Yet, 1 a positive detection may be false (w/ overlap [, 0]) 2 a negative detection may be false (w/ overlap [0, ]) Consensus algorithm eliminates the first drawback, and reduces the number of instances that suffer from the second drawback. A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
16 Consensus Algorithm: Idea Cosensus algorithm runs consensus among observers approximations. Besides a positive and a negative bin, it creates a third bin: borderline. 1 ositives are all true with overlap (0, ); 2 borderline cases satisfy overlap (, ); 3 negatives are true or a few inevitable false cases with overlap (0, ). The application can classify the borderline cases in either direction. W.r.t Simple Clock-Free and Interval Vector algorithms, the number of false negatives is decreased, and the number of false positives is decreased A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
17 Consensus Algorithm: Idea Definition φ over an interval vector IV is: 1 confirmed by all iff count(iv ) = n 2 confirmed by only some iff n > count(iv ) > 0 3 confirmed by none iff count(iv ) = 0 A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
18 Consensus Algorithm: Results Theorem For n observers in a system without any synchronized clocks, for the Consensus algorithm, we have for any IV : 1 overlap = φ is confirmed by all 2 0 overlap < = φ is confirmed by all, only some, or none 3 0 overlap > = φ is confirmed by only some, or none 4 overlap = φ is confirmed by none Corollary For n observers in a system without any synchronized clocks, for the Consensus algorithm, we have for any IV : 1 Confirmed by all positive bin = true positive = overlap 0 2 Confirmed by only some borderline bin = > overlap > 3 Confirmed by none negative bin = (true negative (= overlap < 0) false negative having 0 < overlap < ) A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
19 On-the-fly Lattice Approximation Implicitly build on-the-fly the sub-lattice of those (up to n 2 p) states that the nodes do actually observe collectively, based on the np events. Also performs the corroborations among the n 2 p observations on-the-fly. 3 IV= 6 0 i j IV= k IV= local interval number execution of Evaluate_State local sensed event broadcast of event notification broadcast of Consensus_Message A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, /
20 Comparison of Algorithms for redicate Detection Baseline: Even with synchronized physical clocks, some false negatives/positives when race window < 2ɛ Ω(np) wireless broadcasts of 1 integer to sink to report each sensed event. np evals of φ at sink Algorithm Strobe Vector Strobe Scalar Simple Clock-Free Interval Vector Consensus roperties [MidSens 10] [MidSens 10] Message 1 BC of size O(n) 1 BC of size O(1) 1 msg of size O(1) 1 BC of size O(n) 1 BC of size O(n)/event complexity /event /event to sink /event /event + d messages ( or BCs), (can BC instead) where d [0, n 2 p] rocessing O(n 2 p)/node + O(np)/node + O(p)/node + O(n 2 p)/node + O(n 2 p)/node + [O(n 3 p) + (O(np) [O(n 2 p) + (O(np) O(np) eval of φ at O(np) eval of φ O(np) eval of φ/node + eval of φ)] at sink eval of φ)] at sink sink (if BC, at all) at sink or at all O(d) at sink (or at all) Detection after intervals after intervals 2 latency complete complete Observer Yes Yes No No Yes independence Detection by no extra msg cost no extra msg cost use BC instead of no extra msg cost no extra msg cost all observers msg to sink overlap true positive true positive true positive true positive true positive overlap some true positive; some true positive; some true positive; some true positive; some true positive; (0, ) some false negative some false negative some false negative some false negative some false negative; (better than SCF) some in borderline overlap true negative some true negative; some true negative; some true negative; some true negative; (, 0) some false positive some false positive some false positive some in borderline (better than SCF) overlap true negative true negative true negative true negative true negative A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
21 Conclusions roblem: Algorithms to immediately detect conjunctive or relational predicate over sensed values Do not assume physically synchronized clocks resource-constrained sensornets/ remote environments, e.g. wild periodic clock synchronization may not be affordable or necessary skew ɛ (µ-secs to ms): imprecision in detecting predicates precision not needed (urban or wild), nor affordable (wild) layer independance roposed predicate detection algorithms; attractive in small WSNs, e.g. smart homes, when: message cost over reporting sensed events to sink is low n is low and/or sensed event rate <<, typical of human and object movements A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
22 Discussion Analyze impact of assuming total order and causal order in WSNs: Can naturally occur in small WSNS, shared media networks Can also be provided by middleware at low cost No long-term effect of commuication failures on predicate detection distributed and symmetric algorithms at low cost Explore how more failures and mobility can be tolerated Refine the borderline bin, e.g., based on # witnesses A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates Nov 30, / 7
Causal Consistency for Geo-Replicated Cloud Storage under Partial Replication
Causal Consistency for Geo-Replicated Cloud Storage under Partial Replication Min Shen, Ajay D. Kshemkalyani, TaYuan Hsu University of Illinois at Chicago Min Shen, Ajay D. Kshemkalyani, TaYuan Causal
More informationConsistent Global States of Distributed Systems: Fundamental Concepts and Mechanisms. CS 249 Project Fall 2005 Wing Wong
Consistent Global States of Distributed Systems: Fundamental Concepts and Mechanisms CS 249 Project Fall 2005 Wing Wong Outline Introduction Asynchronous distributed systems, distributed computations,
More informationOn the Growth of the Prime Numbers Based Encoded Vector Clock
On the Growth of the Prime Numbers Based Encoded Vector Clock Ajay D. Kshemkalyani Bhargav Voleti University of Illinois at Chicago ajay@uic.edu Kshemkalyani, Voleti (UIC) Encoded Vector Clock 1 / 22 Overview
More informationClocks in Asynchronous Systems
Clocks in Asynchronous Systems The Internet Network Time Protocol (NTP) 8 Goals provide the ability to externally synchronize clients across internet to UTC provide reliable service tolerating lengthy
More informationExam Spring Embedded Systems. Prof. L. Thiele
Exam Spring 20 Embedded Systems Prof. L. Thiele NOTE: The given solution is only a proposal. For correctness, completeness, or understandability no responsibility is taken. Sommer 20 Eingebettete Systeme
More informationAgreement. Today. l Coordination and agreement in group communication. l Consensus
Agreement Today l Coordination and agreement in group communication l Consensus Events and process states " A distributed system a collection P of N singlethreaded processes w/o shared memory Each process
More informationLogical Time. 1. Introduction 2. Clock and Events 3. Logical (Lamport) Clocks 4. Vector Clocks 5. Efficient Implementation
Logical Time Nicola Dragoni Embedded Systems Engineering DTU Compute 1. Introduction 2. Clock and Events 3. Logical (Lamport) Clocks 4. Vector Clocks 5. Efficient Implementation 2013 ACM Turing Award:
More informationDistributed Algorithms (CAS 769) Dr. Borzoo Bonakdarpour
Distributed Algorithms (CAS 769) Week 1: Introduction, Logical clocks, Snapshots Dr. Borzoo Bonakdarpour Department of Computing and Software McMaster University Dr. Borzoo Bonakdarpour Distributed Algorithms
More informationTTA and PALS: Formally Verified Design Patterns for Distributed Cyber-Physical
TTA and PALS: Formally Verified Design Patterns for Distributed Cyber-Physical DASC 2011, Oct/19 CoMMiCS Wilfried Steiner wilfried.steiner@tttech.com TTTech Computertechnik AG John Rushby rushby@csl.sri.com
More informationTime in Distributed Systems: Clocks and Ordering of Events
Time in Distributed Systems: Clocks and Ordering of Events Clocks in Distributed Systems Needed to Order two or more events happening at same or different nodes (Ex: Consistent ordering of updates at different
More informationAbsence of Global Clock
Absence of Global Clock Problem: synchronizing the activities of different part of the system (e.g. process scheduling) What about using a single shared clock? two different processes can see the clock
More informationFailure detectors Introduction CHAPTER
CHAPTER 15 Failure detectors 15.1 Introduction This chapter deals with the design of fault-tolerant distributed systems. It is widely known that the design and verification of fault-tolerent distributed
More informationDistributed Algorithms Time, clocks and the ordering of events
Distributed Algorithms Time, clocks and the ordering of events Alberto Montresor University of Trento, Italy 2016/04/26 This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International
More informationToday. Vector Clocks and Distributed Snapshots. Motivation: Distributed discussion board. Distributed discussion board. 1. Logical Time: Vector clocks
Vector Clocks and Distributed Snapshots Today. Logical Time: Vector clocks 2. Distributed lobal Snapshots CS 48: Distributed Systems Lecture 5 Kyle Jamieson 2 Motivation: Distributed discussion board Distributed
More informationOur Problem. Model. Clock Synchronization. Global Predicate Detection and Event Ordering
Our Problem Global Predicate Detection and Event Ordering To compute predicates over the state of a distributed application Model Clock Synchronization Message passing No failures Two possible timing assumptions:
More informationTime. To do. q Physical clocks q Logical clocks
Time To do q Physical clocks q Logical clocks Events, process states and clocks A distributed system A collection P of N single-threaded processes (p i, i = 1,, N) without shared memory The processes in
More informationCausality & Concurrency. Time-Stamping Systems. Plausibility. Example TSS: Lamport Clocks. Example TSS: Vector Clocks
Plausible Clocks with Bounded Inaccuracy Causality & Concurrency a b exists a path from a to b Brad Moore, Paul Sivilotti Computer Science & Engineering The Ohio State University paolo@cse.ohio-state.edu
More informationCS505: Distributed Systems
Cristina Nita-Rotaru CS505: Distributed Systems Ordering events. Lamport and vector clocks. Global states. Detecting failures. Required reading for this topic } Leslie Lamport,"Time, Clocks, and the Ordering
More informationTime is an important issue in DS
Chapter 0: Time and Global States Introduction Clocks,events and process states Synchronizing physical clocks Logical time and logical clocks Global states Distributed debugging Summary Time is an important
More informationEmbedded Systems 15. REVIEW: Aperiodic scheduling. C i J i 0 a i s i f i d i
Embedded Systems 15-1 - REVIEW: Aperiodic scheduling C i J i 0 a i s i f i d i Given: A set of non-periodic tasks {J 1,, J n } with arrival times a i, deadlines d i, computation times C i precedence constraints
More informationEXPERIMENT Traffic Light Controller
11.1 Objectives EXPERIMENT 11 11. Traffic Light Controller Practice on the design of clocked sequential circuits. Applications of sequential circuits. 11.2 Overview In this lab you are going to develop
More informationDesign of a Sliding Window over Asynchronous Event Streams
1 Design of a Sliding Window over Asynchronous Event Streams Yiling Yang 1,2, Yu Huang 1,2, Jiannong Cao 3, Xiaoxing Ma 1,2, Jian Lu 1,2 1 State Key Laboratory for Novel Software Technology Nanjing University,
More informationChapter 11 Time and Global States
CSD511 Distributed Systems 分散式系統 Chapter 11 Time and Global States 吳俊興 國立高雄大學資訊工程學系 Chapter 11 Time and Global States 11.1 Introduction 11.2 Clocks, events and process states 11.3 Synchronizing physical
More informationDistributed Optimization over Networks Gossip-Based Algorithms
Distributed Optimization over Networks Gossip-Based Algorithms Angelia Nedić angelia@illinois.edu ISE Department and Coordinated Science Laboratory University of Illinois at Urbana-Champaign Outline Random
More informationCptS 464/564 Fall Prof. Dave Bakken. Cpt. S 464/564 Lecture January 26, 2014
Overview of Ordering and Logical Time Prof. Dave Bakken Cpt. S 464/564 Lecture January 26, 2014 Context This material is NOT in CDKB5 textbook Rather, from second text by Verissimo and Rodrigues, chapters
More informationDistributed Systems Principles and Paradigms. Chapter 06: Synchronization
Distributed Systems Principles and Paradigms Maarten van Steen VU Amsterdam, Dept. Computer Science Room R4.20, steen@cs.vu.nl Chapter 06: Synchronization Version: November 16, 2009 2 / 39 Contents Chapter
More informationCuts. Cuts. Consistent cuts and consistent global states. Global states and cuts. A cut C is a subset of the global history of H
Cuts Cuts A cut C is a subset of the global history of H C = h c 1 1 hc 2 2...hc n n A cut C is a subset of the global history of H The frontier of C is the set of events e c 1 1,ec 2 2,...ec n n C = h
More informationShared Memory vs Message Passing
Shared Memory vs Message Passing Carole Delporte-Gallet Hugues Fauconnier Rachid Guerraoui Revised: 15 February 2004 Abstract This paper determines the computational strength of the shared memory abstraction
More informationSlides for Chapter 14: Time and Global States
Slides for Chapter 14: Time and Global States From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, Addison-Wesley 2012 Overview of Chapter Introduction Clocks,
More informationTime. Lakshmi Ganesh. (slides borrowed from Maya Haridasan, Michael George)
Time Lakshmi Ganesh (slides borrowed from Maya Haridasan, Michael George) The Problem Given a collection of processes that can... only communicate with significant latency only measure time intervals approximately
More informationROBUST & SPECULATIVE BYZANTINE RANDOMIZED CONSENSUS WITH CONSTANT TIME COMPLEXITY IN NORMAL CONDITIONS
ROBUST & SPECULATIVE BYZANTINE RANDOMIZED CONSENSUS WITH CONSTANT TIME COMPLEXITY IN NORMAL CONDITIONS Bruno Vavala University of Lisbon, Portugal Carnegie Mellon University, U.S. Nuno Neves University
More informationA subtle problem. An obvious problem. An obvious problem. An obvious problem. No!
A subtle problem An obvious problem when LC = t do S doesn t make sense for Lamport clocks! there is no guarantee that LC will ever be S is anyway executed after LC = t Fixes: if e is internal/send and
More informationDistributed Computing. Synchronization. Dr. Yingwu Zhu
Distributed Computing Synchronization Dr. Yingwu Zhu Topics to Discuss Physical Clocks Logical Clocks: Lamport Clocks Classic paper: Time, Clocks, and the Ordering of Events in a Distributed System Lamport
More informationCS505: Distributed Systems
Department of Computer Science CS505: Distributed Systems Lecture 5: Time in Distributed Systems Overview Time and Synchronization Logical Clocks Vector Clocks Distributed Systems Asynchronous systems:
More informationAbstract. The paper considers the problem of implementing \Virtually. system. Virtually Synchronous Communication was rst introduced
Primary Partition \Virtually-Synchronous Communication" harder than Consensus? Andre Schiper and Alain Sandoz Departement d'informatique Ecole Polytechnique Federale de Lausanne CH-1015 Lausanne (Switzerland)
More informationSnapshots. Chandy-Lamport Algorithm for the determination of consistent global states <$1000, 0> <$50, 2000> mark. (order 10, $100) mark
8 example: P i P j (5 widgets) (order 10, $100) cji 8 ed state P i : , P j : , c ij : , c ji : Distributed Systems
More informationScheduling Periodic Real-Time Tasks on Uniprocessor Systems. LS 12, TU Dortmund
Scheduling Periodic Real-Time Tasks on Uniprocessor Systems Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 08, Dec., 2015 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 38 Periodic Control System Pseudo-code
More informationCollaborative Target Detection in Wireless Sensor Networks with Reactive Mobility
1 / 24 Collaborative Target Detection in Wireless Sensor Networks with Reactive Mobility Rui Tan 1 Guoliang Xing 1 Jianping Wang 1 Hing Cheung So 2 1 Department of Computer Science City University of Hong
More informationCS 347 Parallel and Distributed Data Processing
CS 347 Parallel and Distributed Data Processing Spring 2016 & Clocks, Clocks, and the Ordering of Events in a Distributed System. L. Lamport, Communications of the ACM, 1978 Notes 15: & Clocks CS 347 Notes
More informationCommunication constraints and latency in Networked Control Systems
Communication constraints and latency in Networked Control Systems João P. Hespanha Center for Control Engineering and Computation University of California Santa Barbara In collaboration with Antonio Ortega
More informationTime. Today. l Physical clocks l Logical clocks
Time Today l Physical clocks l Logical clocks Events, process states and clocks " A distributed system a collection P of N singlethreaded processes without shared memory Each process p i has a state s
More informationCS505: Distributed Systems
Department of Computer Science CS505: Distributed Systems Lecture 10: Consensus Outline Consensus impossibility result Consensus with S Consensus with Ω Consensus Most famous problem in distributed computing
More informationA Multi-Periodic Synchronous Data-Flow Language
Julien Forget 1 Frédéric Boniol 1 David Lesens 2 Claire Pagetti 1 firstname.lastname@onera.fr 1 ONERA - Toulouse, FRANCE 2 EADS Astrium Space Transportation - Les Mureaux, FRANCE November 19, 2008 1 /
More informationFinite State Machines. CS 447 Wireless Embedded Systems
Finite State Machines CS 447 Wireless Embedded Systems Outline Discrete systems Finite State Machines Transitions Timing Update functions Determinacy and Receptiveness 1 Discrete Systems Operates in sequence
More informationDistributed Systems Principles and Paradigms
Distributed Systems Principles and Paradigms Chapter 6 (version April 7, 28) Maarten van Steen Vrije Universiteit Amsterdam, Faculty of Science Dept. Mathematics and Computer Science Room R4.2. Tel: (2)
More informationSimulation & Modeling Event-Oriented Simulations
Simulation & Modeling Event-Oriented Simulations Outline Simulation modeling characteristics Concept of Time A DES Simulation (Computation) DES System = model + simulation execution Data Structures Program
More informationEE382 Processor Design Winter 1999 Chapter 2 Lectures Clocking and Pipelining
Slide 1 EE382 Processor Design Winter 1999 Chapter 2 Lectures Clocking and Pipelining Slide 2 Topics Clocking Clock Parameters Latch Types Requirements for reliable clocking Pipelining Optimal pipelining
More informationTime Synchronization
Massachusetts Institute of Technology Lecture 7 6.895: Advanced Distributed Algorithms March 6, 2006 Professor Nancy Lynch Time Synchronization Readings: Fan, Lynch. Gradient clock synchronization Attiya,
More informationModelling Real-Time Systems. Henrik Ejersbo Jensen Aalborg University
Modelling Real-Time Systems Henrik Ejersbo Jensen Aalborg University Hybrid & Real Time Systems Control Theory Plant Continuous sensors actuators Task TaskTask Controller Program Discrete Computer Science
More informationFinally the Weakest Failure Detector for Non-Blocking Atomic Commit
Finally the Weakest Failure Detector for Non-Blocking Atomic Commit Rachid Guerraoui Petr Kouznetsov Distributed Programming Laboratory EPFL Abstract Recent papers [7, 9] define the weakest failure detector
More informationApproximate Synchrony: An Abstraction for Distributed Time-Synchronized Systems
Approximate Synchrony: An Abstraction for Distributed Time-Synchronized Systems Ankush Desai David Broman John Eidson Shaz Qadeer Sanjit A. Seshia Electrical Engineering and Computer Sciences University
More informationDeterministic Consensus Algorithm with Linear Per-Bit Complexity
Deterministic Consensus Algorithm with Linear Per-Bit Complexity Guanfeng Liang and Nitin Vaidya Department of Electrical and Computer Engineering, and Coordinated Science Laboratory University of Illinois
More informationInterplay of security and clock synchronization"
July 13, 2010, P. R. Kumar " This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License." See http://creativecommons.org/licenses/by-nc-nd/3.0/" Interplay
More informationAsynchronous Models For Consensus
Distributed Systems 600.437 Asynchronous Models for Consensus Department of Computer Science The Johns Hopkins University 1 Asynchronous Models For Consensus Lecture 5 Further reading: Distributed Algorithms
More information6.852: Distributed Algorithms Fall, Class 10
6.852: Distributed Algorithms Fall, 2009 Class 10 Today s plan Simulating synchronous algorithms in asynchronous networks Synchronizers Lower bound for global synchronization Reading: Chapter 16 Next:
More informationEE 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2016
EE 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2016 Discrete Event Simulation Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley)
More informationEnergy-Efficient Broadcast Scheduling. Speed-Controlled Transmission Channels
for Speed-Controlled Transmission Channels Joint work with Christian Gunia from Freiburg University in ISAAC 06. 25.10.07 Outline Problem Definition and Motivation 1 Problem Definition and Motivation 2
More informationChandy-Lamport Snapshotting
Chandy-Lamport Snapshotting COS 418: Distributed Systems Precept 8 Themis Melissaris and Daniel Suo [Content adapted from I. Gupta] Agenda What are global snapshots? The Chandy-Lamport algorithm Why does
More information1 Introduction During the execution of a distributed computation, processes exchange information via messages. The message exchange establishes causal
Quasi-Synchronous heckpointing: Models, haracterization, and lassication D. Manivannan Mukesh Singhal Department of omputer and Information Science The Ohio State University olumbus, OH 43210 (email: fmanivann,singhalg@cis.ohio-state.edu)
More informationAn introduction to Uppaal and Timed Automata MVP5 1
An introduction to Uppaal and Timed Automata MVP5 1 What is Uppaal? (http://www.uppaal.com/) A simple graphical interface for drawing extended finite state machines (automatons + shared variables A graphical
More informationGradient Clock Synchronization
Noname manuscript No. (will be inserted by the editor) Rui Fan Nancy Lynch Gradient Clock Synchronization the date of receipt and acceptance should be inserted later Abstract We introduce the distributed
More informationA Formal Model of Clock Domain Crossing and Automated Verification of Time-Triggered Hardware
A Formal Model of Clock Domain Crossing and Automated Verification of Time-Triggered Hardware Julien Schmaltz Institute for Computing and Information Sciences Radboud University Nijmegen The Netherlands
More informationData Gathering and Personalized Broadcasting in Radio Grids with Interferences
Data Gathering and Personalized Broadcasting in Radio Grids with Interferences Jean-Claude Bermond a,, Bi Li a,b, Nicolas Nisse a, Hervé Rivano c, Min-Li Yu d a Coati Project, INRIA I3S(CNRS/UNSA), Sophia
More informationOverview: Synchronous Computations
Overview: Synchronous Computations barriers: linear, tree-based and butterfly degrees of synchronization synchronous example 1: Jacobi Iterations serial and parallel code, performance analysis synchronous
More informationRadio Network Clustering from Scratch
Radio Network Clustering from Scratch Fabian Kuhn, Thomas Moscibroda, Roger Wattenhofer {kuhn,moscitho,wattenhofer}@inf.ethz.ch Department of Computer Science, ETH Zurich, 8092 Zurich, Switzerland Abstract.
More informationAN INFORMATION THEORY APPROACH TO WIRELESS SENSOR NETWORK DESIGN
AN INFORMATION THEORY APPROACH TO WIRELESS SENSOR NETWORK DESIGN A Thesis Presented to The Academic Faculty by Bryan Larish In Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy
More informationDetecting Wormhole Attacks in Wireless Networks Using Local Neighborhood Information
Detecting Wormhole Attacks in Wireless Networks Using Local Neighborhood Information W. Znaidi M. Minier and JP. Babau Centre d'innovations en Télécommunication & Intégration de services wassim.znaidi@insa-lyon.fr
More informationTask Models and Scheduling
Task Models and Scheduling Jan Reineke Saarland University June 27 th, 2013 With thanks to Jian-Jia Chen at KIT! Jan Reineke Task Models and Scheduling June 27 th, 2013 1 / 36 Task Models and Scheduling
More informationTime, Clocks, and the Ordering of Events in a Distributed System
Time, Clocks, and the Ordering of Events in a Distributed System Motivating example: a distributed compilation service FTP server storing source files, object files, executable file stored files have timestamps,
More informationQuantum Wireless Sensor Networks
Quantum Wireless Sensor Networks School of Computing Queen s University Canada ntional Computation Vienna, August 2008 Main Result Quantum cryptography can solve the problem of security in sensor networks.
More informationDISTRIBUTED COMPUTER SYSTEMS
DISTRIBUTED COMPUTER SYSTEMS SYNCHRONIZATION Dr. Jack Lange Computer Science Department University of Pittsburgh Fall 2015 Topics Clock Synchronization Physical Clocks Clock Synchronization Algorithms
More informationEmbedded Systems 14. Overview of embedded systems design
Embedded Systems 14-1 - Overview of embedded systems design - 2-1 Point of departure: Scheduling general IT systems In general IT systems, not much is known about the computational processes a priori The
More informationSyntax: form ::= A: lin j E: lin ::= 3 lin j lin ^ lin j :lin j bool lin lin is a temporal formula dened over a global sequence. bool is true in g if
Introduction 1 Goals of the lecture: Weak Conjunctive Predicates Logic for global predicates Weak conjunctive algorithm References: Garg and Waldecker 94 Syntax: form ::= A: lin j E: lin ::= 3 lin j lin
More informationEmbedded Systems Design: Optimization Challenges. Paul Pop Embedded Systems Lab (ESLAB) Linköping University, Sweden
of /4 4 Embedded Systems Design: Optimization Challenges Paul Pop Embedded Systems Lab (ESLAB) Linköping University, Sweden Outline! Embedded systems " Example area: automotive electronics " Embedded systems
More informationRollback-Recovery. Uncoordinated Checkpointing. p!! Easy to understand No synchronization overhead. Flexible. To recover from a crash:
Rollback-Recovery Uncoordinated Checkpointing Easy to understand No synchronization overhead p!! Flexible can choose when to checkpoint To recover from a crash: go back to last checkpoint restart How (not)to
More informationDecentralized Detection In Wireless Sensor Networks
Decentralized Detection In Wireless Sensor Networks Milad Kharratzadeh Department of Electrical & Computer Engineering McGill University Montreal, Canada April 2011 Statistical Detection and Estimation
More informationMultiple Bits Distributed Moving Horizon State Estimation for Wireless Sensor Networks. Ji an Luo
Multiple Bits Distributed Moving Horizon State Estimation for Wireless Sensor Networks Ji an Luo 2008.6.6 Outline Background Problem Statement Main Results Simulation Study Conclusion Background Wireless
More informationPropositional Logic: Models and Proofs
Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505
More informationRobustness Analysis of Networked Systems
Robustness Analysis of Networked Systems Roopsha Samanta The University of Texas at Austin Joint work with Jyotirmoy V. Deshmukh and Swarat Chaudhuri January, 0 Roopsha Samanta Robustness Analysis of Networked
More informationReal-Time Course. Clock synchronization. June Peter van der TU/e Computer Science, System Architecture and Networking
Real-Time Course Clock synchronization 1 Clocks Processor p has monotonically increasing clock function C p (t) Clock has drift rate For t1 and t2, with t2 > t1 (1-ρ)(t2-t1)
More informationOptimal clock synchronization revisited: Upper and lower bounds in real-time systems
Research Report 71/006, Technische Universität Wien, Institut für Technische Informatik, 006 July 5, 006 Optimal clock synchronization revisited: Upper and lower bounds in real-time systems Heinrich Moser
More informationData Gathering and Personalized Broadcasting in Radio Grids with Interferences
Data Gathering and Personalized Broadcasting in Radio Grids with Interferences Jean-Claude Bermond a,b,, Bi Li b,a,c, Nicolas Nisse b,a, Hervé Rivano d, Min-Li Yu e a Univ. Nice Sophia Antipolis, CNRS,
More informationIEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 43, NO. 5, MAY
IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 43, NO. 5, MAY 1998 631 Centralized and Decentralized Asynchronous Optimization of Stochastic Discrete-Event Systems Felisa J. Vázquez-Abad, Christos G. Cassandras,
More informationFigure 10.1 Skew between computer clocks in a distributed system
Figure 10.1 Skew between computer clocks in a distributed system Network Instructor s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 Pearson Education 2001
More informationA model-based approach to control over packet-switching networks, with application to Industrial Ethernet
A model-based approach to control over packet-switching networks, with application to Industrial Ethernet Universitá di Pisa Centro di Ricerca Interdipartimentale E. Piaggio Laurea specialistica in Ingegneria
More informationRecap. CS514: Intermediate Course in Operating Systems. What time is it? This week. Reminder: Lamport s approach. But what does time mean?
CS514: Intermediate Course in Operating Systems Professor Ken Birman Vivek Vishnumurthy: TA Recap We ve started a process of isolating questions that arise in big systems Tease out an abstract issue Treat
More informationDistributed Systems 8L for Part IB
Distributed Systems 8L for Part IB Handout 2 Dr. Steven Hand 1 Clocks Distributed systems need to be able to: order events produced by concurrent processes; synchronize senders and receivers of messages;
More informationDistributed Algorithms
Distributed Algorithms December 17, 2008 Gerard Tel Introduction to Distributed Algorithms (2 nd edition) Cambridge University Press, 2000 Set-Up of the Course 13 lectures: Wan Fokkink room U342 email:
More informationDistributed Systems Fundamentals
February 17, 2000 ECS 251 Winter 2000 Page 1 Distributed Systems Fundamentals 1. Distributed system? a. What is it? b. Why use it? 2. System Architectures a. minicomputer mode b. workstation model c. processor
More informationInterval Temporal Logics over Strongly Discrete Linear Orders: the Complete Picture
Interval Temporal Logics over Strongly Discrete Linear Orders: the Complete Picture D.Bresolin, D. Della Monica, A. Montanari, P. Sala, G. Sciavicco ICE-TCS, School of Computer Science, Reykjavik University,
More informationDesign of Control Modules for Use in a Globally Asynchronous, Locally Synchronous Design Methodology
Design of Control Modules for Use in a Globally Asynchronous, Locally Synchronous Design Methodology Pradnya Deokar Department of Electrical and Computer Engineering, VLSI Design Research Laboratory, Southern
More information1 Introduction During the execution of a distributed computation, processes exchange information via messages. The message exchange establishes causal
TR No. OSU-ISR-5/96-TR33, Dept. of omputer and Information Science, The Ohio State University. Quasi-Synchronous heckpointing: Models, haracterization, and lassication D. Manivannan Mukesh Singhal Department
More informationAnalysis of Bounds on Hybrid Vector Clocks
Analysis of Bounds on Hybrid Vector Clocks Sorrachai Yingchareonthawornchai 1, Sandeep Kulkarni 2, and Murat Demirbas 3 Michigan State University 1,2 University at Buffalo 3 (OPODIS 2015) Motivation A
More informationCausality and physical time
Logical Time Causality and physical time Causality is fundamental to the design and analysis of parallel and distributed computing and OS. Distributed algorithms design Knowledge about the progress Concurrency
More informationClock Synchronization with Bounded Global and Local Skew
Clock Synchronization with ounded Global and Local Skew Distributed Computing Christoph Lenzen, ETH Zurich Thomas Locher, ETH Zurich Roger Wattenhofer, ETH Zurich October 2008 Motivation: No Global Clock
More informationCS 425 / ECE 428 Distributed Systems Fall Indranil Gupta (Indy) Oct. 5, 2017 Lecture 12: Time and Ordering All slides IG
CS 425 / ECE 428 Distributed Systems Fall 2017 Indranil Gupta (Indy) Oct. 5, 2017 Lecture 12: Time and Ordering All slides IG Why Synchronization? You want to catch a bus at 6.05 pm, but your watch is
More informationChapter 5 A Modified Scheduling Algorithm for The FIP Fieldbus System
Chapter 5 A Modified Scheduling Algorithm for The FIP Fieldbus System As we stated before FIP is one of the fieldbus systems, these systems usually consist of many control loops that communicate and interact
More informationFault-Tolerant Consensus
Fault-Tolerant Consensus CS556 - Panagiota Fatourou 1 Assumptions Consensus Denote by f the maximum number of processes that may fail. We call the system f-resilient Description of the Problem Each process
More informationBarrier. Overview: Synchronous Computations. Barriers. Counter-based or Linear Barriers
Overview: Synchronous Computations Barrier barriers: linear, tree-based and butterfly degrees of synchronization synchronous example : Jacobi Iterations serial and parallel code, performance analysis synchronous
More information5958 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 56, NO. 12, DECEMBER 2010
5958 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 56, NO. 12, DECEMBER 2010 Capacity Theorems for Discrete, Finite-State Broadcast Channels With Feedback and Unidirectional Receiver Cooperation Ron Dabora
More information