15.01.2015 Views

D5.9: Extended Simulation Environment - Phosphorus

D5.9: Extended Simulation Environment - Phosphorus

D5.9: Extended Simulation Environment - Phosphorus

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.

D5.6 - <strong>Extended</strong> <strong>Simulation</strong> <strong>Environment</strong><br />

Figure 2 Node simulation cycle.<br />

4 Optical Grid simulator<br />

4.1 Introduction<br />

The <strong>Phosphorus</strong> project addresses several key technical issues to enable on-demand, end to end network<br />

services in an optical grid environment. In WP5 innovative architectures and algorithms have been proposed,<br />

which are not, however, easy to test in a real life test bed. Therefore, in [1] we developed a simulator that<br />

implements an optical grid network and a detailed job model that corresponds to a wide range of applications.<br />

In the context of the present deliverable, we have extended the simulator, by implementing an additional key<br />

feature and by optimizing important operations of it, so as to reach a certain performance level.<br />

4.2 Overview<br />

The simulator is written in Java and its base classes make up a discrete-event simulator, which models a<br />

chronological sequence of events, each marking a change in the state of the system. The basic flow of the<br />

simulator is as follows:<br />

1. The various entities (switches, resources, clients …) are initialized.<br />

2. System variables and the main clock are initialized.<br />

3. An initial event is scheduled, i.e. an initial event is put into the event list from which a chain reaction of<br />

other events will occur.<br />

4. While the simulator does not reach its ending condition<br />

a. Set clock to next event time.<br />

b. Execute the next event and remove it from the event queue.<br />

Project:<br />

<strong>Phosphorus</strong><br />

Deliverable Number: <br />

Date of Issue: 2009-03-31<br />

EC Contract No.: 034115<br />

Document Code: <br />

19

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

Saved successfully!

Ooh no, something went wrong!