SlideShare una empresa de Scribd logo
1 de 33
1
A Methodology to Predict the
Performance of Distributed
Simulation Systems
Daniele Gianni1,2, Giuseppe Iazeolla2, and Andrea D’Ambrogio2
daniele.gianni@esa.int
1European Space Agency
{iazeolla, dambro}@info.uniroma2.it
2Dept. of Computer Science
University of Rome TorVergata
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010),
May 17 – 19, 2010, Atlanta, GA, US
Methodology Objective
 A local simulator is available
 We wish to turn it into a distributed simulator
 Before implementing it (i.e. at design time) we
wonder: will its execution time be shorter that
local simulator execution time?
 (In some cases the distributed version may run
slower than the equivalent local version)
 Methodology objective: predict (at design
time) distributed simulator execution time
 If prediction meets performance requirements,
then implement it
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 2
3
Presentation Overview
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
 Terminology
 Problem Statement
 Methodology Presentation
• Modelling Assumptions / Execution Graph /
Performance Model / Model Parameterization
 Case of Study
• Simulated System / OMNET++ Simulator /
Model Prediction / Model Validation
Terminology
  = Simulated System
 SL() =  Local Simulator (LS)
 SD() =  Distributed Simulator (DS)
 PM(SD()) = Performance Model to predict
SD() execution time
424th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Problem Statement
 We want to simulate 
  presents intrinsic parallelism
 Will SD() be faster than SL()?
524th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Predictive Evaluation Process
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 6
build
SL(Σ)
SL(Σ)
exec time
OK?
Stop
identify
tentative
partitioning
build and
evaluate
prediction model
PM(SD(Σ))
pred
exec time
SD(Σ)
OK?
alternative
partitioning?
Stop
build
SD(Σ)
NO
YES
NO
YES
NO
YES
Modelling Assumptions
 Communication between federates is
based on a decentralized RTI
 Federation time management is
conservative
 Hosts’ CPUs and communication networks
are the only machinery devices affecting
the federation execution
 We consider SD() consisting of 2
federates (however the model can be
immediately generalized to n federates)
724th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Model Building
 Identification of machinery devices and
their interconnections
 Derivation of the Execution Graph (an
extended flow chart whose blocks are
associated to device time requests)
 Derivation of the Performance Model
(Extended Queueing Network)
 Model parameterization based on data
from the RTI implementation and from the
local simulator
824th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Execution Graph
9
START
Fork
Local
Initialization
Execution (LEXI)
HLA
Initialization
Federate2
Start RTI Interface
Federate1
C1S
SN0
C0
Local
Execution
(LEX)
Exit
Test
HLA RTI
Service
Execution
(HLAR)
Semaphore
MT1
HLA
Execution
Wait
(HLAF-Wait)
LEW
HLA Execution
Exit
(HLAF-Ex)
Release
Semaphore
MT1
Join
S1
C1RL
C1
SM1
C1
SM4
p1RTI
END
p1QUIT
C1RL
SC
C1RC2
From Federate 2's SM4
C1S
PoTMT1
p1NSYNC
p1SYNC
SM2
AND
AND
SM1
HLA
Initialization
C2S
Local
Execution
(LEX)
Exit
Test
HLA RTI
Service
Execution
(HLAR)
Semaphore
MT2
HLA
Execution
Wait
(HLAF-Wait)
S2
C2RL
C2
SM1
C2
SM4
p2RTI
p2QUIT
C2RL
SC
C2RC1
From Federate 1's SM4
C2S
PoTMT2
p2NSYNC
p2SYNC
SM2
AND
AND
SM0
C0
B1
B2
B2S2
B2S1
B2S3
PoTMT1MT1
Release
Test
END
SM3
p1SYNC
1 – p1SYNC
LEW
HLA Execution
Exit
(HLAF-Ex)
Release
Semaphore
MT2
PoTMT2MT2
Release
Test
END
SM3
p2SYNC
1 – p2SYNC
SM1
LS Segments
HLA Segments
Local
Initialization
Execution (LEXI)
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Federate 1 Execution Graph (B1)
10
Local
Execution
(LEX)
Exit
Test
HLA RTI
Service
Execution
(HLAR)
Semaphore
MT1
Join
C1
SM1
C1
SM4
p1RTI
END
p1QUIT
PoTMT1
p1NSYNC
p1SYNC
AND
C0
B1
LS Segments
HLA Segments
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Federate 1 Execution Graph (B2)
1124th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
HLA
Execution
Wait
(HLAF-Wait)
LEW
HLA Execution
Exit
(HLAF-Ex)
Release
Semaphore
MT1
C1RL
p1QUIT
C1RL
SC
C1RC2
From Federate 2's SM4
SM2
AND
SM1
B2
B2S2
B2S1
B2S3
PoTMT1MT1
Release
Test
END
SM3
p1SYNC
1 – p1SYNC
LS Segments
HLA Segments
Performance Model
12
CPU1
A21
RMT1
S1
SC12
AMT1
Sink
Sink
Source
FederateAmbassador
services entry point
RTIAmbassador services invocationSimulation
System start-up
command
(initialization phase
not modelled)
FederateAmbassador
services exit point
C0
C1RL2
C1RC2
Join Sink
SN0
SN2
SN1
SN3
SN4
C1RC2
Net12
R12
CHLA1
C1
C1
SA1
PoT21
C0
PoTMT1PoTMT1
p1SYNC-FA
1-p1SYNC-FA
C1RC2
PoT12
p1QUIT
Federate 1
Fork
SN0
p1SYNC-FA
1-p1SYNC-FA
C1
C1RL2
C1
C1
SN1
CPU2
A12
RMT2
S2
SC21
AMT2
Sink
Sink
FederateAmbassador
services entry point
RTIAmbassador services invocation
FederateAmbassador
services exit point
C1RL2
C2RC1
SN2
SN1
SN3
SN4
C2RC1
Net21
R21
CHLA2
C2
C2
SA2
PoT12
PoTMT2PoTMT2
p2SYNC-FA
1-p2SYNC-FA
C2RC1
PoT21
P2QUIT
Federate 2
P2SYNC-FA
1-p2SYNC-FA
C2
C2RL1
C2
C2
SN1
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Performance Model - SN0
1324th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
CPU1
A21
RMT1
S1
SC12
AMT1
Sink
Sink
Source
FederateAmbassador
services entry point
RTIAmbassador services invocationSimulation
System start-up
command
(initialization phase
not modelled)
FederateAmbassador
services exit point
C0
C1RL2
C1RC2
Join Sink
SN2
SN1
SN3
SN4
C1RC2
Net12
R12
CHLA1
C1
C1
SA1
PoT21
C0
PoTMT1PoTMT1
p1SYNC-FA
1-p1SYNC-FA
C1RC2
PoT12
p1QUIT
Federate 1
Fork
SN0
p1SYNC-FA
1-p1SYNC-FA
C1
C1RL2
C1
C1
SN1
Federate 2
SN0
Performance Model - Federate 1 SN1
1424th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
CPU1
A21
RMT1
S1
SC12
AMT1
Sink
Sink
FederateAmbassador
services entry point
RTIAmbassador services invocation
FederateAmbassador
services exit point
C1RL2
C1RC2
SN2
SN1
SN3
SN4
C1RC2
Net12
R12
CHLA1
C1
C1
SA1
PoT21
PoTMT1PoTMT1
p1SYNC-FA
1-p1SYNC-FA
C1RC2
PoT12
p1QUIT
Federate 1
p1SYNC-FA
1-p1SYNC-FA
C1
C1RL2
C1
C1
SN1
Performance Model - Federate 1 SN2
1524th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
CPU1
A21
RMT1
S1
SC12
AMT1
Sink
Sink
FederateAmbassador
services entry point
RTIAmbassador services invocation
FederateAmbassador
services exit point
C1RL2
C1RC2
SN2
SN1
SN3
SN4
C1RC2
Net12
R12
CHLA1
C1
C1
SA1
PoT21
PoTMT1PoTMT1
p1SYNC-FA
1-p1SYNC-FA
C1RC2
PoT12
p1QUIT
Federate 1
p1SYNC-FA
1-p1SYNC-FA
C1
C1RL2
C1
C1
SN1
Performance Model - Federate 1 SN3
1624th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
CPU1
A21
RMT1
S1
SC12
AMT1
Sink
Sink
FederateAmbassador
services entry point
RTIAmbassador services invocation
FederateAmbassador
services exit point
C1RL2
C1RC2
SN2
SN1
SN3
SN4
C1RC2
Net12
R12
CHLA1
C1
C1
SA1
PoT21
PoTMT1PoTMT1
p1SYNC-FA
1-p1SYNC-FA
C1RC2
PoT12
p1QUIT
Federate 1
p1SYNC-FA
1-p1SYNC-FA
C1
C1RL2
C1
C1
SN1
Performance Model - Federate 1 SN4
1724th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
CPU1
A21
RMT1
S1
SC12
AMT1
Sink
Sink
FederateAmbassador
services entry point
RTIAmbassador services invocation
FederateAmbassador
services exit point
C1RL2
C1RC2
SN2
SN1
SN3
SN4
C1RC2
Net12
R12
CHLA1
C1
C1
SA1
PoT21
PoTMT1PoTMT1
p1SYNC-FA
1-p1SYNC-FA
C1RC2
PoT12
p1QUIT
Federate 1
p1SYNC-FA
1-p1SYNC-FA
C1
C1RL2
C1
C1
SN1
Performance Model – Job Flow
18
CPU1
A21
RMT1
S1
SC12
AMT1
Sink
Sink
Source
FederateAmbassador
services entry point
RTIAmbassador services invocationSimulation
System start-up
command
(initialization phase
not modelled)
FederateAmbassador
services exit point
C0
C1RL2
C1RC2
Join Sink
SN0
SN2
SN1
SN3
SN4
C1RC2
Net12
R12
CHLA1
C1
C1
SA1
PoT21
C0
PoTMT1PoTMT1
p1SYNC-FA
1-p1SYNC-FA
C1RC2
PoT12
p1QUIT
Federate 1
Fork
SN0
p1SYNC-FA
1-p1SYNC-FA
C1
C1RL2
C1
C1
SN1
CPU2
A12
RMT2
S2
SC21
AMT2
Sink
Sink
FederateAmbassador
services entry point
RTIAmbassador services invocation
FederateAmbassador
services exit point
C1RL2
C2RC1
SN2
SN1
SN3
SN4
C2RC1
Net21
R21
CHLA2
C2
C2
SA2
PoT12
PoTMT2PoTMT2
p2SYNC-FA
1-p2SYNC-FA
C2RC1
PoT21
P2QUIT
Federate 2
P2SYNC-FA
1-p2SYNC-FA
C2
C2RL1
C2
C2
SN1
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Model Parameterization
 Procedure to determine model parameters
from SL() and RTI (as instance of
simulation infrastructure)
 From EG, performance engineering
standard procedures can derive:
• For each class of jobs
• Service times at each center (i.e.: tCPU1, tCPU2,
tNet12, and tNet21)
• Routing probabilities (i.e.: p1QUIT, p2QUIT,
p1SYNC, and p2SYNC)
1924th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Case of Study
Simulated System (LS)
2024th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Case of Study
DS partitioning
2124th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
 Hardware
• Host 1 and Host 2 connected by a MAN
• RTT = 20.5 ms
• Bandwidth = 94 KB/s
 SD() consisting of 2 federates
• Federate 1: simulates S1 and S2 and is run by
Host 1
• Federate 2: simulates S3 and S4 and is run by
Host 2
22
Case of Study
Hardware and SD() Configuration
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
 We consider two scenarios (A and B)
 Scenario A
light processing times to simulate S1 through S4,
specifically DCPU = 10 ms wall-clock time to for
each processing
 Scenario B:
heavy processing times to simulate S1 through S4,
specifically DCPU = 500 ms wall-clock time for each
processing
23
Case of Study
Problem Domain
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
 Is SD() faster than SL() in Scenario A?
 Is SD() faster than SL() in Scenario B?
24
Case of Study
Problem Statement
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
 Scenario A: DCPU = 10 ms (light processing)
 Scenario B: DCPU = 500 ms (heavy processing)
 In scenario B, will the parallelization speed-up
compensate the HLA overhead? I.e. is
predicted SD() execution time shorter than
SL() time?
 Can we give a YES answer in the Predictive
Evaluation Process, and then proceed to
implement SD()?
25
Case of Study
Design Question
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
26
OMNet++ Performance Model Implementation
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
27
Model prediction
Scenario
Simulation
System
Execution Time
(sec)
A
SL() 5
SD() 17
B
SL() 1400
SD() 846
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Model Validation
 The execution time prediction has been
validated by:
• implementing the actual DS system, and
• measuring and comparing
 the actual execution time
with
 the predicted execution time
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 28
29
Model Validation
Scenario SD()
predicted execution time
(sec)
SD()
actual execution time
(sec)
A 17 20
B 846 880
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
Conclusions
 We have introduced a predictive methodology
that given
• a simulation model
• a distributed simulation infrastructure
• a model partitioning, and
• a set of distributed hosts
Enables simulator designers to predict the
distributed simulator execution time
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 30
Conclusions
 We have shown an example application to
the evaluation of the distribution of
 a local simulator SL()
over a metropolitan area network
 in the cases of
• light event processing times (Scenario A)
• heavy event processing times (Scenario B)
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 31
Conclusions
 We have validated the execution time
prediction by
• implementing the actual DS simulator
• measuring and comparing
the actual execution time with
the predicted execution time
24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 32
Acknowledgements
3324th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
FIRB Projects “Performance Evaluation of Complex
Systems”, “Software frameworks and technologies
for the development of open-source distributed
simulation code”, (Italian Ministry of Research and
CERTIA Research Center of the University of Roma
TorVergata); FP7 euHeart Project (European
Commission); Research Fellowship of the
European Space Agency.
Ylenia Cannone and Luca Marcheggiani for their
implementation and validation of the OMNet++
simulator.

Más contenido relacionado

Similar a A Methodology to Predict the Performance of Distributed Simulation Systems

Holistic Analysis and Optimization of Heterogeneous Fault-Tolerant Embedded S...
Holistic Analysis and Optimization of Heterogeneous Fault-Tolerant Embedded S...Holistic Analysis and Optimization of Heterogeneous Fault-Tolerant Embedded S...
Holistic Analysis and Optimization of Heterogeneous Fault-Tolerant Embedded S...
paupo
 
Use of abstraction for generating timing models for hierarchical
Use of abstraction for generating timing models for hierarchicalUse of abstraction for generating timing models for hierarchical
Use of abstraction for generating timing models for hierarchical
IAEME Publication
 
XDAQ_AP_LNL-INFN_27112014
XDAQ_AP_LNL-INFN_27112014XDAQ_AP_LNL-INFN_27112014
XDAQ_AP_LNL-INFN_27112014
Andrea PETRUCCI
 

Similar a A Methodology to Predict the Performance of Distributed Simulation Systems (20)

Network simulator
Network simulatorNetwork simulator
Network simulator
 
SCA Next Part 1 - Software Defined Radio (SDR) Webcast Slides
SCA Next Part 1 - Software Defined Radio (SDR) Webcast SlidesSCA Next Part 1 - Software Defined Radio (SDR) Webcast Slides
SCA Next Part 1 - Software Defined Radio (SDR) Webcast Slides
 
Ontology Summit - Track D Standards Summary & Provocative Use Cases
Ontology Summit - Track D Standards Summary & Provocative Use CasesOntology Summit - Track D Standards Summary & Provocative Use Cases
Ontology Summit - Track D Standards Summary & Provocative Use Cases
 
The CAOS framework: democratize the acceleration of compute intensive applica...
The CAOS framework: democratize the acceleration of compute intensive applica...The CAOS framework: democratize the acceleration of compute intensive applica...
The CAOS framework: democratize the acceleration of compute intensive applica...
 
Embedded Logic Flip-Flops: A Conceptual Review
Embedded Logic Flip-Flops: A Conceptual ReviewEmbedded Logic Flip-Flops: A Conceptual Review
Embedded Logic Flip-Flops: A Conceptual Review
 
Holistic Analysis and Optimization of Heterogeneous Fault-Tolerant Embedded S...
Holistic Analysis and Optimization of Heterogeneous Fault-Tolerant Embedded S...Holistic Analysis and Optimization of Heterogeneous Fault-Tolerant Embedded S...
Holistic Analysis and Optimization of Heterogeneous Fault-Tolerant Embedded S...
 
Plan_design and FPGA implement of MIMO OFDM SDM systems
Plan_design and FPGA implement of MIMO OFDM SDM systemsPlan_design and FPGA implement of MIMO OFDM SDM systems
Plan_design and FPGA implement of MIMO OFDM SDM systems
 
Analytical Modeling of End-to-End Delay in OpenFlow Based Networks
Analytical Modeling of End-to-End Delay in OpenFlow Based NetworksAnalytical Modeling of End-to-End Delay in OpenFlow Based Networks
Analytical Modeling of End-to-End Delay in OpenFlow Based Networks
 
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
 
SuperAGILE Standard Orbital data Analysis pipeline
SuperAGILE Standard Orbital  data Analysis pipelineSuperAGILE Standard Orbital  data Analysis pipeline
SuperAGILE Standard Orbital data Analysis pipeline
 
BFSK RT In FPGA Thesis Pres Jps
BFSK RT In FPGA Thesis Pres JpsBFSK RT In FPGA Thesis Pres Jps
BFSK RT In FPGA Thesis Pres Jps
 
Cs 704 d set2
Cs 704 d set2Cs 704 d set2
Cs 704 d set2
 
Findings in clus 2019
Findings in clus 2019Findings in clus 2019
Findings in clus 2019
 
Transport SDN & OpenDaylight Use Cases in Korea
Transport SDN & OpenDaylight Use Cases in KoreaTransport SDN & OpenDaylight Use Cases in Korea
Transport SDN & OpenDaylight Use Cases in Korea
 
Use of abstraction for generating timing models for hierarchical
Use of abstraction for generating timing models for hierarchicalUse of abstraction for generating timing models for hierarchical
Use of abstraction for generating timing models for hierarchical
 
Specification and Detection of SOA Antipatterns
Specification and Detection of SOA AntipatternsSpecification and Detection of SOA Antipatterns
Specification and Detection of SOA Antipatterns
 
XDAQ_AP_LNL-INFN_27112014
XDAQ_AP_LNL-INFN_27112014XDAQ_AP_LNL-INFN_27112014
XDAQ_AP_LNL-INFN_27112014
 
FPL'2014 - FlexTiles Workshop - 7 - FlexTiles Emulation platform
FPL'2014 - FlexTiles Workshop - 7 - FlexTiles Emulation platformFPL'2014 - FlexTiles Workshop - 7 - FlexTiles Emulation platform
FPL'2014 - FlexTiles Workshop - 7 - FlexTiles Emulation platform
 
Digital Signal Processinf (DSP) Course Outline
Digital Signal Processinf (DSP) Course OutlineDigital Signal Processinf (DSP) Course Outline
Digital Signal Processinf (DSP) Course Outline
 
presentation
presentationpresentation
presentation
 

Más de Daniele Gianni

Más de Daniele Gianni (20)

Integrated modeling and simulation framework for wireless sensor networks
Integrated modeling and simulation framework for wireless sensor networksIntegrated modeling and simulation framework for wireless sensor networks
Integrated modeling and simulation framework for wireless sensor networks
 
Simulation assisted elicitation and validation of behavioral specifications f...
Simulation assisted elicitation and validation of behavioral specifications f...Simulation assisted elicitation and validation of behavioral specifications f...
Simulation assisted elicitation and validation of behavioral specifications f...
 
Validation of Spacecraft Behaviour Using a Collaborative Approach
Validation of Spacecraft Behaviour Using a Collaborative ApproachValidation of Spacecraft Behaviour Using a Collaborative Approach
Validation of Spacecraft Behaviour Using a Collaborative Approach
 
Modules for reusable and collaborative modeling of biological mathematical sy...
Modules for reusable and collaborative modeling of biological mathematical sy...Modules for reusable and collaborative modeling of biological mathematical sy...
Modules for reusable and collaborative modeling of biological mathematical sy...
 
DDML a support for communication in m&s
DDML a support for communication in m&sDDML a support for communication in m&s
DDML a support for communication in m&s
 
Collaborative modeling and co simulation with destecs - a pilot study
Collaborative modeling and co simulation with destecs - a pilot studyCollaborative modeling and co simulation with destecs - a pilot study
Collaborative modeling and co simulation with destecs - a pilot study
 
Collaborative engineering solutions and challenges in the development of spac...
Collaborative engineering solutions and challenges in the development of spac...Collaborative engineering solutions and challenges in the development of spac...
Collaborative engineering solutions and challenges in the development of spac...
 
Collaborative development and cataloguing of simulation and calculation model...
Collaborative development and cataloguing of simulation and calculation model...Collaborative development and cataloguing of simulation and calculation model...
Collaborative development and cataloguing of simulation and calculation model...
 
AFIS ambassodorship presentation
AFIS ambassodorship presentationAFIS ambassodorship presentation
AFIS ambassodorship presentation
 
A vision on collaborative computation of things for personalized analyses
A vision on collaborative computation of things for personalized analysesA vision on collaborative computation of things for personalized analyses
A vision on collaborative computation of things for personalized analyses
 
A package system for maintaining large model distributions in vle software
A package system for maintaining large model distributions in vle softwareA package system for maintaining large model distributions in vle software
A package system for maintaining large model distributions in vle software
 
A framework for distributed control and building performance simulation
A framework for distributed control and building performance simulationA framework for distributed control and building performance simulation
A framework for distributed control and building performance simulation
 
A collaborative environment for urban landscape simulation
A collaborative environment for urban landscape simulationA collaborative environment for urban landscape simulation
A collaborative environment for urban landscape simulation
 
System model optimization through functional models execution methodology and...
System model optimization through functional models execution methodology and...System model optimization through functional models execution methodology and...
System model optimization through functional models execution methodology and...
 
Validation of Service Oriented Computing DEVS Simulation Models
Validation of Service Oriented Computing DEVS Simulation ModelsValidation of Service Oriented Computing DEVS Simulation Models
Validation of Service Oriented Computing DEVS Simulation Models
 
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
 
Modular Mathematical Modelling of Biological Systems
Modular Mathematical Modelling of Biological SystemsModular Mathematical Modelling of Biological Systems
Modular Mathematical Modelling of Biological Systems
 
A Model-Based Method for System Reliability Analysis
A Model-Based Method for System Reliability AnalysisA Model-Based Method for System Reliability Analysis
A Model-Based Method for System Reliability Analysis
 
Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...
Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...
Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...
 
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
 

Último

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

A Methodology to Predict the Performance of Distributed Simulation Systems

  • 1. 1 A Methodology to Predict the Performance of Distributed Simulation Systems Daniele Gianni1,2, Giuseppe Iazeolla2, and Andrea D’Ambrogio2 daniele.gianni@esa.int 1European Space Agency {iazeolla, dambro}@info.uniroma2.it 2Dept. of Computer Science University of Rome TorVergata 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 2. Methodology Objective  A local simulator is available  We wish to turn it into a distributed simulator  Before implementing it (i.e. at design time) we wonder: will its execution time be shorter that local simulator execution time?  (In some cases the distributed version may run slower than the equivalent local version)  Methodology objective: predict (at design time) distributed simulator execution time  If prediction meets performance requirements, then implement it 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 2
  • 3. 3 Presentation Overview 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US  Terminology  Problem Statement  Methodology Presentation • Modelling Assumptions / Execution Graph / Performance Model / Model Parameterization  Case of Study • Simulated System / OMNET++ Simulator / Model Prediction / Model Validation
  • 4. Terminology   = Simulated System  SL() =  Local Simulator (LS)  SD() =  Distributed Simulator (DS)  PM(SD()) = Performance Model to predict SD() execution time 424th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 5. Problem Statement  We want to simulate    presents intrinsic parallelism  Will SD() be faster than SL()? 524th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 6. Predictive Evaluation Process 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 6 build SL(Σ) SL(Σ) exec time OK? Stop identify tentative partitioning build and evaluate prediction model PM(SD(Σ)) pred exec time SD(Σ) OK? alternative partitioning? Stop build SD(Σ) NO YES NO YES NO YES
  • 7. Modelling Assumptions  Communication between federates is based on a decentralized RTI  Federation time management is conservative  Hosts’ CPUs and communication networks are the only machinery devices affecting the federation execution  We consider SD() consisting of 2 federates (however the model can be immediately generalized to n federates) 724th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 8. Model Building  Identification of machinery devices and their interconnections  Derivation of the Execution Graph (an extended flow chart whose blocks are associated to device time requests)  Derivation of the Performance Model (Extended Queueing Network)  Model parameterization based on data from the RTI implementation and from the local simulator 824th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 9. Execution Graph 9 START Fork Local Initialization Execution (LEXI) HLA Initialization Federate2 Start RTI Interface Federate1 C1S SN0 C0 Local Execution (LEX) Exit Test HLA RTI Service Execution (HLAR) Semaphore MT1 HLA Execution Wait (HLAF-Wait) LEW HLA Execution Exit (HLAF-Ex) Release Semaphore MT1 Join S1 C1RL C1 SM1 C1 SM4 p1RTI END p1QUIT C1RL SC C1RC2 From Federate 2's SM4 C1S PoTMT1 p1NSYNC p1SYNC SM2 AND AND SM1 HLA Initialization C2S Local Execution (LEX) Exit Test HLA RTI Service Execution (HLAR) Semaphore MT2 HLA Execution Wait (HLAF-Wait) S2 C2RL C2 SM1 C2 SM4 p2RTI p2QUIT C2RL SC C2RC1 From Federate 1's SM4 C2S PoTMT2 p2NSYNC p2SYNC SM2 AND AND SM0 C0 B1 B2 B2S2 B2S1 B2S3 PoTMT1MT1 Release Test END SM3 p1SYNC 1 – p1SYNC LEW HLA Execution Exit (HLAF-Ex) Release Semaphore MT2 PoTMT2MT2 Release Test END SM3 p2SYNC 1 – p2SYNC SM1 LS Segments HLA Segments Local Initialization Execution (LEXI) 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 10. Federate 1 Execution Graph (B1) 10 Local Execution (LEX) Exit Test HLA RTI Service Execution (HLAR) Semaphore MT1 Join C1 SM1 C1 SM4 p1RTI END p1QUIT PoTMT1 p1NSYNC p1SYNC AND C0 B1 LS Segments HLA Segments 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 11. Federate 1 Execution Graph (B2) 1124th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US HLA Execution Wait (HLAF-Wait) LEW HLA Execution Exit (HLAF-Ex) Release Semaphore MT1 C1RL p1QUIT C1RL SC C1RC2 From Federate 2's SM4 SM2 AND SM1 B2 B2S2 B2S1 B2S3 PoTMT1MT1 Release Test END SM3 p1SYNC 1 – p1SYNC LS Segments HLA Segments
  • 12. Performance Model 12 CPU1 A21 RMT1 S1 SC12 AMT1 Sink Sink Source FederateAmbassador services entry point RTIAmbassador services invocationSimulation System start-up command (initialization phase not modelled) FederateAmbassador services exit point C0 C1RL2 C1RC2 Join Sink SN0 SN2 SN1 SN3 SN4 C1RC2 Net12 R12 CHLA1 C1 C1 SA1 PoT21 C0 PoTMT1PoTMT1 p1SYNC-FA 1-p1SYNC-FA C1RC2 PoT12 p1QUIT Federate 1 Fork SN0 p1SYNC-FA 1-p1SYNC-FA C1 C1RL2 C1 C1 SN1 CPU2 A12 RMT2 S2 SC21 AMT2 Sink Sink FederateAmbassador services entry point RTIAmbassador services invocation FederateAmbassador services exit point C1RL2 C2RC1 SN2 SN1 SN3 SN4 C2RC1 Net21 R21 CHLA2 C2 C2 SA2 PoT12 PoTMT2PoTMT2 p2SYNC-FA 1-p2SYNC-FA C2RC1 PoT21 P2QUIT Federate 2 P2SYNC-FA 1-p2SYNC-FA C2 C2RL1 C2 C2 SN1 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 13. Performance Model - SN0 1324th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US CPU1 A21 RMT1 S1 SC12 AMT1 Sink Sink Source FederateAmbassador services entry point RTIAmbassador services invocationSimulation System start-up command (initialization phase not modelled) FederateAmbassador services exit point C0 C1RL2 C1RC2 Join Sink SN2 SN1 SN3 SN4 C1RC2 Net12 R12 CHLA1 C1 C1 SA1 PoT21 C0 PoTMT1PoTMT1 p1SYNC-FA 1-p1SYNC-FA C1RC2 PoT12 p1QUIT Federate 1 Fork SN0 p1SYNC-FA 1-p1SYNC-FA C1 C1RL2 C1 C1 SN1 Federate 2 SN0
  • 14. Performance Model - Federate 1 SN1 1424th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US CPU1 A21 RMT1 S1 SC12 AMT1 Sink Sink FederateAmbassador services entry point RTIAmbassador services invocation FederateAmbassador services exit point C1RL2 C1RC2 SN2 SN1 SN3 SN4 C1RC2 Net12 R12 CHLA1 C1 C1 SA1 PoT21 PoTMT1PoTMT1 p1SYNC-FA 1-p1SYNC-FA C1RC2 PoT12 p1QUIT Federate 1 p1SYNC-FA 1-p1SYNC-FA C1 C1RL2 C1 C1 SN1
  • 15. Performance Model - Federate 1 SN2 1524th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US CPU1 A21 RMT1 S1 SC12 AMT1 Sink Sink FederateAmbassador services entry point RTIAmbassador services invocation FederateAmbassador services exit point C1RL2 C1RC2 SN2 SN1 SN3 SN4 C1RC2 Net12 R12 CHLA1 C1 C1 SA1 PoT21 PoTMT1PoTMT1 p1SYNC-FA 1-p1SYNC-FA C1RC2 PoT12 p1QUIT Federate 1 p1SYNC-FA 1-p1SYNC-FA C1 C1RL2 C1 C1 SN1
  • 16. Performance Model - Federate 1 SN3 1624th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US CPU1 A21 RMT1 S1 SC12 AMT1 Sink Sink FederateAmbassador services entry point RTIAmbassador services invocation FederateAmbassador services exit point C1RL2 C1RC2 SN2 SN1 SN3 SN4 C1RC2 Net12 R12 CHLA1 C1 C1 SA1 PoT21 PoTMT1PoTMT1 p1SYNC-FA 1-p1SYNC-FA C1RC2 PoT12 p1QUIT Federate 1 p1SYNC-FA 1-p1SYNC-FA C1 C1RL2 C1 C1 SN1
  • 17. Performance Model - Federate 1 SN4 1724th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US CPU1 A21 RMT1 S1 SC12 AMT1 Sink Sink FederateAmbassador services entry point RTIAmbassador services invocation FederateAmbassador services exit point C1RL2 C1RC2 SN2 SN1 SN3 SN4 C1RC2 Net12 R12 CHLA1 C1 C1 SA1 PoT21 PoTMT1PoTMT1 p1SYNC-FA 1-p1SYNC-FA C1RC2 PoT12 p1QUIT Federate 1 p1SYNC-FA 1-p1SYNC-FA C1 C1RL2 C1 C1 SN1
  • 18. Performance Model – Job Flow 18 CPU1 A21 RMT1 S1 SC12 AMT1 Sink Sink Source FederateAmbassador services entry point RTIAmbassador services invocationSimulation System start-up command (initialization phase not modelled) FederateAmbassador services exit point C0 C1RL2 C1RC2 Join Sink SN0 SN2 SN1 SN3 SN4 C1RC2 Net12 R12 CHLA1 C1 C1 SA1 PoT21 C0 PoTMT1PoTMT1 p1SYNC-FA 1-p1SYNC-FA C1RC2 PoT12 p1QUIT Federate 1 Fork SN0 p1SYNC-FA 1-p1SYNC-FA C1 C1RL2 C1 C1 SN1 CPU2 A12 RMT2 S2 SC21 AMT2 Sink Sink FederateAmbassador services entry point RTIAmbassador services invocation FederateAmbassador services exit point C1RL2 C2RC1 SN2 SN1 SN3 SN4 C2RC1 Net21 R21 CHLA2 C2 C2 SA2 PoT12 PoTMT2PoTMT2 p2SYNC-FA 1-p2SYNC-FA C2RC1 PoT21 P2QUIT Federate 2 P2SYNC-FA 1-p2SYNC-FA C2 C2RL1 C2 C2 SN1 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 19. Model Parameterization  Procedure to determine model parameters from SL() and RTI (as instance of simulation infrastructure)  From EG, performance engineering standard procedures can derive: • For each class of jobs • Service times at each center (i.e.: tCPU1, tCPU2, tNet12, and tNet21) • Routing probabilities (i.e.: p1QUIT, p2QUIT, p1SYNC, and p2SYNC) 1924th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 20. Case of Study Simulated System (LS) 2024th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 21. Case of Study DS partitioning 2124th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 22.  Hardware • Host 1 and Host 2 connected by a MAN • RTT = 20.5 ms • Bandwidth = 94 KB/s  SD() consisting of 2 federates • Federate 1: simulates S1 and S2 and is run by Host 1 • Federate 2: simulates S3 and S4 and is run by Host 2 22 Case of Study Hardware and SD() Configuration 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 23.  We consider two scenarios (A and B)  Scenario A light processing times to simulate S1 through S4, specifically DCPU = 10 ms wall-clock time to for each processing  Scenario B: heavy processing times to simulate S1 through S4, specifically DCPU = 500 ms wall-clock time for each processing 23 Case of Study Problem Domain 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 24.  Is SD() faster than SL() in Scenario A?  Is SD() faster than SL() in Scenario B? 24 Case of Study Problem Statement 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 25.  Scenario A: DCPU = 10 ms (light processing)  Scenario B: DCPU = 500 ms (heavy processing)  In scenario B, will the parallelization speed-up compensate the HLA overhead? I.e. is predicted SD() execution time shorter than SL() time?  Can we give a YES answer in the Predictive Evaluation Process, and then proceed to implement SD()? 25 Case of Study Design Question 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 26. 26 OMNet++ Performance Model Implementation 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 27. 27 Model prediction Scenario Simulation System Execution Time (sec) A SL() 5 SD() 17 B SL() 1400 SD() 846 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 28. Model Validation  The execution time prediction has been validated by: • implementing the actual DS system, and • measuring and comparing  the actual execution time with  the predicted execution time 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 28
  • 29. 29 Model Validation Scenario SD() predicted execution time (sec) SD() actual execution time (sec) A 17 20 B 846 880 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US
  • 30. Conclusions  We have introduced a predictive methodology that given • a simulation model • a distributed simulation infrastructure • a model partitioning, and • a set of distributed hosts Enables simulator designers to predict the distributed simulator execution time 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 30
  • 31. Conclusions  We have shown an example application to the evaluation of the distribution of  a local simulator SL() over a metropolitan area network  in the cases of • light event processing times (Scenario A) • heavy event processing times (Scenario B) 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 31
  • 32. Conclusions  We have validated the execution time prediction by • implementing the actual DS simulator • measuring and comparing the actual execution time with the predicted execution time 24th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US 32
  • 33. Acknowledgements 3324th ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS 2010), May 17 – 19, 2010, Atlanta, GA, US FIRB Projects “Performance Evaluation of Complex Systems”, “Software frameworks and technologies for the development of open-source distributed simulation code”, (Italian Ministry of Research and CERTIA Research Center of the University of Roma TorVergata); FP7 euHeart Project (European Commission); Research Fellowship of the European Space Agency. Ylenia Cannone and Luca Marcheggiani for their implementation and validation of the OMNet++ simulator.