26.08.2013 Views

3.1 MB - Evernote

3.1 MB - Evernote

3.1 MB - Evernote

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

78<br />

Validation of the Parallel Simulator<br />

label. It can be seen that all the missing parameters were set to their expected default<br />

values.<br />

6.2 Validation 2<br />

This validation evaluates the basic GPSS functionality of the parallel simulator. This<br />

includes the basic scheduling and the movement of Transactions as well as the correct<br />

processing of the GPSS blocks. The simulation model used for this contains only a<br />

single partition but otherwise all possible GPSS block types and entities. There is even a<br />

TRANSFER block that transfers Transactions with a probability of 0.5. The model is<br />

shown below:<br />

PARTITION Partition1,4<br />

STORAGE Storage1,2<br />

GENERATE 3,2<br />

QUEUE Queue1<br />

ENTER Storage1,1<br />

ADVANCE 5,3<br />

LEAVE Storage1,1<br />

DEPART Queue1<br />

TRANSFER 0.5,Label1<br />

SEIZE Facility1<br />

RELEASE Facility1<br />

Label1 TERMINATE 1<br />

Simulation model file model_validation2.gps<br />

The model is simulated with the log4j loggers parallelJavaGpssSimulator.simulation<br />

and parallelJavaGpssSimulator.gpss set to DEBUG (see configuration file proactive-<br />

log4j at the corresponding sub folder on the attached CD). The last of these two loggers<br />

will result in a very detailed logging of the GPSS processing and Transaction<br />

movement. For this reason the Termination Counter is kept very small, i.e. set to 4 so<br />

that the simulation is stopped after 4 Transactions have been terminated. Otherwise the<br />

output log would be too long to be useful. The deployment descriptor XML file is set to<br />

a single ProActive node as the model contains exactly one partition and the simulation<br />

will require only one LP.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!