March 2006
To understand on how to use GridSim, please go through the examples provided below. Example 1 - 6 are mainly for beginners, whereas the rest describes more complex GridSim functionalities.
At the moment, GridSim has two allocation policies or scheduling algorithms, i.e. First Come First Service (as described in SpaceShared.java) and Round Robin (as described in TimeShared.java). If you are interested in writing a new scheduling algorithm of a resource, then look closely on Example 8.
These examples are also included in the download package.
This example shows how to create one Grid resource with three machines.
List of files:
This example shows how to create one or more Grid
users. A Grid user contains one or more Gridlets.
Therefore, this example also shows how to create
Gridlets with and without using GridSimRandom class.
List of files:
This example shows how two GridSim entities interact
with each other.
List of files:
This example shows how a grid user submits its
Gridlets or tasks to one grid resource entity.
List of files:
This example shows how a grid user submits its
Gridlets or task to many grid resource entities.
List of files: