SlideShare a Scribd company logo
1 of 16
Logical Time
2010/10/15
Yoshi
Interfacing the On-Chip Networks
Timing Model
Happen-Before Relation
• A well-known problem, discovered by Leslie
Lamport
• The model is easy, but the discussion is very
theoretical and difficult
• References
– Time, Clocks, and the Ordering of Events in a
Distributed System”, which received the PODC
Influential Paper Award in 2000
– http://en.wikipedia.org/wiki/Happened-before
– http://en.wikipedia.org/wiki/Leslie_Lamport
Assumption
• Asynchronous network model with universal
reliable FIFO buffer
– Where universal is a term to say that it is based on
I/O automation model
Trace
• External actions
• The trace of an execution α of A, denoted by trace(α),
is the subsequence of α consisting of all the external
actions
• We say β is a trace of A if β is the trace of an
execution of A
• Denote the set of traces of A by traces(A)
Fairness
• Explanation
– Never let a process/component have no chance to
get its turn to run
• Formal definition
– If α is finite, then C is not enabled in the final state
of α
– If α is infinite, then α contains either infinitely
many events from C or infinitely many
occurrences of states in which C is not enabled
Indistinguishable
• Let α and α’ are two executions of a system, to
a process i, if i has the properties in α and α’
– The same sequence of states
– The same sequence of outgoing messages
– The same sequence of incoming messages
• We say that α is indistinguishable from α’ to
process i, denoted α ḭ α,
• This definition can be extended to r rounds
(more than one time communications)
Theorem
• Let A be an asynchronous send/receive system
with universal reliable FIFO channels, and let β
be a fair trace of A.
• Let γ be a sequence obtained by reordering the
events in β while preserving the β ordering.
Then γ is also a fair trace of A
Corollary
• Let A be an asynchronous send/receive system
with universal reliable FIFO channels, and let α
be a fair execution of A.
• Let γ be a sequence that is obtained by
reordering the events in β = trace(α) while
preserving the β ordering.
• Then there is a fair execution α’ of A such that
trace(α’)= γ and such that α and α’ are
indistinguishable to every process Pi
Theorem for Logical Time
• Let α be a fair execution of a send/receive network
system A with universal reliable FIFO channels and let
ltime be a logical-time assignment for α. Then there is
another fair execution of A such that
– α’ contains the same events as α
– The events in α’ occur in the order of their ltimes in α
– α‘ is indistinguishable from α to every process automation
• In short, the order of events of each particular process
must be the same in α and α’.
• However, It permits events at different processes to be
reordered.
An Example of Logical-Time
Assignment
1 2 3
Send/receive diagram for execution α
Results of Different Assignments
1 2 3
A logical-time assignment for α
2
3
4
7
10
9
8
1
5
6
1 2 3
Send/receive diagram for reordered
execution α‘
2
3
4
7
10
9
8
1
5
6
Logical t = 7.5
1 2 3
Dotted line for t = 7.5
2
3
4
7
10
9
8
1
5
6
1 2 3
Reordered execution α’ with horizontal
line for t = 7.5
2
3
4
7
10
9
8
1
5
6
Summary
• FIFO still holds (?)
– It should be, in most general assumptions
• According to the discussion above, we
conclude that our simulation methodology
gives the corrects results (outputs)
• We further handle the relative speed between
PEs and routers by tuning the clock speeds of
them
Routing and Link Speed Descriptions

More Related Content

What's hot

0.5mln packets per second with Erlang
0.5mln packets per second with Erlang0.5mln packets per second with Erlang
0.5mln packets per second with ErlangMaxim Kharchenko
 
LarKC Tutorial at ISWC 2009 - Parallelisation
LarKC Tutorial at ISWC 2009 - ParallelisationLarKC Tutorial at ISWC 2009 - Parallelisation
LarKC Tutorial at ISWC 2009 - ParallelisationLarKC
 
CILK/CILK++ and Reducers
CILK/CILK++ and ReducersCILK/CILK++ and Reducers
CILK/CILK++ and ReducersYunming Zhang
 
RoboCon 2019: Welcome back! What's new since RoboCon 2018?
RoboCon 2019: Welcome back! What's new since RoboCon 2018?RoboCon 2019: Welcome back! What's new since RoboCon 2018?
RoboCon 2019: Welcome back! What's new since RoboCon 2018?Pekka Klärck
 
LarKC Tutorial at ISWC 2009 - Urban Computing
LarKC Tutorial at ISWC 2009 - Urban ComputingLarKC Tutorial at ISWC 2009 - Urban Computing
LarKC Tutorial at ISWC 2009 - Urban ComputingLarKC
 
Transformer Mods for Document Length Inputs
Transformer Mods for Document Length InputsTransformer Mods for Document Length Inputs
Transformer Mods for Document Length InputsSujit Pal
 
Presentation
PresentationPresentation
PresentationLior Boim
 
Lec11 semaphores
Lec11 semaphoresLec11 semaphores
Lec11 semaphoresanandammca
 
Ecet 345 Enthusiastic Study / snaptutorial.com
Ecet 345 Enthusiastic Study / snaptutorial.comEcet 345 Enthusiastic Study / snaptutorial.com
Ecet 345 Enthusiastic Study / snaptutorial.comStephenson34
 
Java.util.concurrent.concurrent hashmap
Java.util.concurrent.concurrent hashmapJava.util.concurrent.concurrent hashmap
Java.util.concurrent.concurrent hashmapSrinivasan Raghvan
 
Protocol testing course content
Protocol testing course contentProtocol testing course content
Protocol testing course contentsanjib_agrawala
 
Максим Харченко. Erlang lincx
Максим Харченко. Erlang lincxМаксим Харченко. Erlang lincx
Максим Харченко. Erlang lincxAlina Dolgikh
 
Access to non local names
Access to non local namesAccess to non local names
Access to non local namesVarsha Kumar
 

What's hot (16)

0.5mln packets per second with Erlang
0.5mln packets per second with Erlang0.5mln packets per second with Erlang
0.5mln packets per second with Erlang
 
LarKC Tutorial at ISWC 2009 - Parallelisation
LarKC Tutorial at ISWC 2009 - ParallelisationLarKC Tutorial at ISWC 2009 - Parallelisation
LarKC Tutorial at ISWC 2009 - Parallelisation
 
Semaphore
SemaphoreSemaphore
Semaphore
 
CILK/CILK++ and Reducers
CILK/CILK++ and ReducersCILK/CILK++ and Reducers
CILK/CILK++ and Reducers
 
RoboCon 2019: Welcome back! What's new since RoboCon 2018?
RoboCon 2019: Welcome back! What's new since RoboCon 2018?RoboCon 2019: Welcome back! What's new since RoboCon 2018?
RoboCon 2019: Welcome back! What's new since RoboCon 2018?
 
LarKC Tutorial at ISWC 2009 - Urban Computing
LarKC Tutorial at ISWC 2009 - Urban ComputingLarKC Tutorial at ISWC 2009 - Urban Computing
LarKC Tutorial at ISWC 2009 - Urban Computing
 
Transformer Mods for Document Length Inputs
Transformer Mods for Document Length InputsTransformer Mods for Document Length Inputs
Transformer Mods for Document Length Inputs
 
Presentation
PresentationPresentation
Presentation
 
Mit cilk
Mit cilkMit cilk
Mit cilk
 
Lec11 semaphores
Lec11 semaphoresLec11 semaphores
Lec11 semaphores
 
Ecet 345 Enthusiastic Study / snaptutorial.com
Ecet 345 Enthusiastic Study / snaptutorial.comEcet 345 Enthusiastic Study / snaptutorial.com
Ecet 345 Enthusiastic Study / snaptutorial.com
 
Java 8 streams
Java 8 streams Java 8 streams
Java 8 streams
 
Java.util.concurrent.concurrent hashmap
Java.util.concurrent.concurrent hashmapJava.util.concurrent.concurrent hashmap
Java.util.concurrent.concurrent hashmap
 
Protocol testing course content
Protocol testing course contentProtocol testing course content
Protocol testing course content
 
Максим Харченко. Erlang lincx
Максим Харченко. Erlang lincxМаксим Харченко. Erlang lincx
Максим Харченко. Erlang lincx
 
Access to non local names
Access to non local namesAccess to non local names
Access to non local names
 

Similar to Logical Time

Privacy Preserving State Transitions on Ethereum
Privacy Preserving State Transitions on EthereumPrivacy Preserving State Transitions on Ethereum
Privacy Preserving State Transitions on EthereumClearmatics
 
Verification with LoLA: 4 Using LoLA
Verification with LoLA: 4 Using LoLAVerification with LoLA: 4 Using LoLA
Verification with LoLA: 4 Using LoLAUniversität Rostock
 
Performance Enhancement with Pipelining
Performance Enhancement with PipeliningPerformance Enhancement with Pipelining
Performance Enhancement with PipeliningAneesh Raveendran
 
basics of stochastic and queueing theory
basics of stochastic and queueing theorybasics of stochastic and queueing theory
basics of stochastic and queueing theoryjyoti daddarwal
 
2012 S&P Paper Reading Session1
2012 S&P Paper Reading Session12012 S&P Paper Reading Session1
2012 S&P Paper Reading Session1Chong-Kuan Chen
 
Pipelining of Processors
Pipelining of ProcessorsPipelining of Processors
Pipelining of ProcessorsGaditek
 
Ch-7-Part-2-Distributed-System.pptx
Ch-7-Part-2-Distributed-System.pptxCh-7-Part-2-Distributed-System.pptx
Ch-7-Part-2-Distributed-System.pptxKabindra Koirala
 
Queuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depthQueuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depthIdcIdk1
 
Reactconf 2014 - Event Stream Processing
Reactconf 2014 - Event Stream ProcessingReactconf 2014 - Event Stream Processing
Reactconf 2014 - Event Stream ProcessingAndy Piper
 
Dynamic time warping and PIC 16F676 for control of devices
Dynamic time warping and PIC 16F676 for control of devicesDynamic time warping and PIC 16F676 for control of devices
Dynamic time warping and PIC 16F676 for control of devicesRoger Gomes
 
Runtimeenvironment
RuntimeenvironmentRuntimeenvironment
RuntimeenvironmentAnusuya123
 

Similar to Logical Time (20)

C++ scalable network_io
C++ scalable network_ioC++ scalable network_io
C++ scalable network_io
 
ME-314- Control Engineering - Week 02
ME-314- Control Engineering - Week 02ME-314- Control Engineering - Week 02
ME-314- Control Engineering - Week 02
 
Planificacion
PlanificacionPlanificacion
Planificacion
 
Privacy Preserving State Transitions on Ethereum
Privacy Preserving State Transitions on EthereumPrivacy Preserving State Transitions on Ethereum
Privacy Preserving State Transitions on Ethereum
 
Unit 3
Unit 3Unit 3
Unit 3
 
Verification with LoLA: 4 Using LoLA
Verification with LoLA: 4 Using LoLAVerification with LoLA: 4 Using LoLA
Verification with LoLA: 4 Using LoLA
 
Applications of queue
Applications of queueApplications of queue
Applications of queue
 
Unit 06 dbms
Unit 06 dbmsUnit 06 dbms
Unit 06 dbms
 
Performance Enhancement with Pipelining
Performance Enhancement with PipeliningPerformance Enhancement with Pipelining
Performance Enhancement with Pipelining
 
basics of stochastic and queueing theory
basics of stochastic and queueing theorybasics of stochastic and queueing theory
basics of stochastic and queueing theory
 
Pipelining slides
Pipelining slides Pipelining slides
Pipelining slides
 
Coa.ppt2
Coa.ppt2Coa.ppt2
Coa.ppt2
 
Unit - 5 Pipelining.pptx
Unit - 5 Pipelining.pptxUnit - 5 Pipelining.pptx
Unit - 5 Pipelining.pptx
 
2012 S&P Paper Reading Session1
2012 S&P Paper Reading Session12012 S&P Paper Reading Session1
2012 S&P Paper Reading Session1
 
Pipelining of Processors
Pipelining of ProcessorsPipelining of Processors
Pipelining of Processors
 
Ch-7-Part-2-Distributed-System.pptx
Ch-7-Part-2-Distributed-System.pptxCh-7-Part-2-Distributed-System.pptx
Ch-7-Part-2-Distributed-System.pptx
 
Queuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depthQueuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depth
 
Reactconf 2014 - Event Stream Processing
Reactconf 2014 - Event Stream ProcessingReactconf 2014 - Event Stream Processing
Reactconf 2014 - Event Stream Processing
 
Dynamic time warping and PIC 16F676 for control of devices
Dynamic time warping and PIC 16F676 for control of devicesDynamic time warping and PIC 16F676 for control of devices
Dynamic time warping and PIC 16F676 for control of devices
 
Runtimeenvironment
RuntimeenvironmentRuntimeenvironment
Runtimeenvironment
 

More from Yoshi Shih-Chieh Huang

Usage and Comparisons of Control Group in Android AOSP: Marshmallow and Before
Usage and Comparisons of Control Group in Android AOSP: Marshmallow and BeforeUsage and Comparisons of Control Group in Android AOSP: Marshmallow and Before
Usage and Comparisons of Control Group in Android AOSP: Marshmallow and BeforeYoshi Shih-Chieh Huang
 
On the End-to-End Traffic Prediction in the On-Chip Networks
On the End-to-End Traffic Prediction in the On-Chip NetworksOn the End-to-End Traffic Prediction in the On-Chip Networks
On the End-to-End Traffic Prediction in the On-Chip NetworksYoshi Shih-Chieh Huang
 
Introduction to amazon web service (clean)
Introduction to amazon web service (clean)Introduction to amazon web service (clean)
Introduction to amazon web service (clean)Yoshi Shih-Chieh Huang
 

More from Yoshi Shih-Chieh Huang (7)

Architectural modeling
Architectural modelingArchitectural modeling
Architectural modeling
 
Flash knowledge
Flash knowledgeFlash knowledge
Flash knowledge
 
Usage and Comparisons of Control Group in Android AOSP: Marshmallow and Before
Usage and Comparisons of Control Group in Android AOSP: Marshmallow and BeforeUsage and Comparisons of Control Group in Android AOSP: Marshmallow and Before
Usage and Comparisons of Control Group in Android AOSP: Marshmallow and Before
 
Short intro to project butter
Short intro to project butterShort intro to project butter
Short intro to project butter
 
Attackboard slides dac12-0605
Attackboard slides dac12-0605Attackboard slides dac12-0605
Attackboard slides dac12-0605
 
On the End-to-End Traffic Prediction in the On-Chip Networks
On the End-to-End Traffic Prediction in the On-Chip NetworksOn the End-to-End Traffic Prediction in the On-Chip Networks
On the End-to-End Traffic Prediction in the On-Chip Networks
 
Introduction to amazon web service (clean)
Introduction to amazon web service (clean)Introduction to amazon web service (clean)
Introduction to amazon web service (clean)
 

Recently uploaded

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 

Recently uploaded (20)

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 

Logical Time

  • 4. Happen-Before Relation • A well-known problem, discovered by Leslie Lamport • The model is easy, but the discussion is very theoretical and difficult • References – Time, Clocks, and the Ordering of Events in a Distributed System”, which received the PODC Influential Paper Award in 2000 – http://en.wikipedia.org/wiki/Happened-before – http://en.wikipedia.org/wiki/Leslie_Lamport
  • 5. Assumption • Asynchronous network model with universal reliable FIFO buffer – Where universal is a term to say that it is based on I/O automation model
  • 6. Trace • External actions • The trace of an execution α of A, denoted by trace(α), is the subsequence of α consisting of all the external actions • We say β is a trace of A if β is the trace of an execution of A • Denote the set of traces of A by traces(A)
  • 7. Fairness • Explanation – Never let a process/component have no chance to get its turn to run • Formal definition – If α is finite, then C is not enabled in the final state of α – If α is infinite, then α contains either infinitely many events from C or infinitely many occurrences of states in which C is not enabled
  • 8. Indistinguishable • Let α and α’ are two executions of a system, to a process i, if i has the properties in α and α’ – The same sequence of states – The same sequence of outgoing messages – The same sequence of incoming messages • We say that α is indistinguishable from α’ to process i, denoted α ḭ α, • This definition can be extended to r rounds (more than one time communications)
  • 9. Theorem • Let A be an asynchronous send/receive system with universal reliable FIFO channels, and let β be a fair trace of A. • Let γ be a sequence obtained by reordering the events in β while preserving the β ordering. Then γ is also a fair trace of A
  • 10. Corollary • Let A be an asynchronous send/receive system with universal reliable FIFO channels, and let α be a fair execution of A. • Let γ be a sequence that is obtained by reordering the events in β = trace(α) while preserving the β ordering. • Then there is a fair execution α’ of A such that trace(α’)= γ and such that α and α’ are indistinguishable to every process Pi
  • 11. Theorem for Logical Time • Let α be a fair execution of a send/receive network system A with universal reliable FIFO channels and let ltime be a logical-time assignment for α. Then there is another fair execution of A such that – α’ contains the same events as α – The events in α’ occur in the order of their ltimes in α – α‘ is indistinguishable from α to every process automation • In short, the order of events of each particular process must be the same in α and α’. • However, It permits events at different processes to be reordered.
  • 12. An Example of Logical-Time Assignment 1 2 3 Send/receive diagram for execution α
  • 13. Results of Different Assignments 1 2 3 A logical-time assignment for α 2 3 4 7 10 9 8 1 5 6 1 2 3 Send/receive diagram for reordered execution α‘ 2 3 4 7 10 9 8 1 5 6
  • 14. Logical t = 7.5 1 2 3 Dotted line for t = 7.5 2 3 4 7 10 9 8 1 5 6 1 2 3 Reordered execution α’ with horizontal line for t = 7.5 2 3 4 7 10 9 8 1 5 6
  • 15. Summary • FIFO still holds (?) – It should be, in most general assumptions • According to the discussion above, we conclude that our simulation methodology gives the corrects results (outputs) • We further handle the relative speed between PEs and routers by tuning the clock speeds of them
  • 16. Routing and Link Speed Descriptions