You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(24) |
Sep
(14) |
Oct
(13) |
Nov
(5) |
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(2) |
Feb
(53) |
Mar
(29) |
Apr
(5) |
May
(11) |
Jun
(3) |
Jul
(7) |
Aug
(48) |
Sep
(10) |
Oct
(8) |
Nov
(1) |
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(9) |
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(2) |
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <mkr...@us...> - 2008-08-20 13:13:47
|
Revision: 228
http://gridsim.svn.sourceforge.net/gridsim/?rev=228&view=rev
Author: mkrystek
Date: 2008-08-20 13:13:52 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
Added Paths:
-----------
branches/gssim/faq.txt
Removed Paths:
-------------
branches/gssim/trunk/faq.txt
Copied: branches/gssim/faq.txt (from rev 227, branches/gssim/trunk/faq.txt)
===================================================================
--- branches/gssim/faq.txt (rev 0)
+++ branches/gssim/faq.txt 2008-08-20 13:13:52 UTC (rev 228)
@@ -0,0 +1,458 @@
+# Frequently Asked Questions (FAQ)
+# Maintained by Anthony Sulistio
+# $Id: faq.txt,v 1.7 2007/09/01 02:46:01 anthony Exp $
+
+Please read this document, FAQ, examples, API, etc before contacting us.
+Moreover, look at the previous questions at the below website:
+http://sourceforge.net/mail/?group_id=94592
+
+Send any queries and feedbacks to gridsim-users @ lists.sourceforge.net
+
+---------------------------------------------------------
+Q: Where can I find gridbroker, visual modeler, ... ?
+
+A: If you are looking for applications or programs built on top of GridSim,
+such as gridbroker or Visual Modeler, they can be found below:
+http://www.gridbus.org/gridsim/release.html
+
+---------------------------------------------------------
+Q: I want to run the gridsim simulation on my computer but i can't because
+ Jcreator don't see the gridsim package. Please send to me the steps of
+ how compile and run the simulation.
+
+A: Go to GridSim website and there is an instruction on how to use it with
+ JCreator. http://www.gridbus.org/gridsim/paper/jcreator.pdf
+
+ If you use JBuilder or Eclipse, the instructions can be found below:
+ http://www.gridbus.org/gridsim/paper/jbuilder.pdf
+ http://www.gridbus.org/gridsim/paper/eclipse.pdf
+
+---------------------------------------------------------
+Q: I would like to do some experiments for my research work on grid computing
+ using the simulator package that you have. Using the simulator,
+ can I simulate a grid environment with service providers requestors,
+ administartors etc. on a PC environment? Please pass on some resources,
+ links, and white papers and links where from I should download.
+
+Q: please help me by sending GridSim Package, give instructions and
+ also technical help to complete my project successfully.
+
+A: The best way to learn GridSim is by downloading it from below:
+ http://www.gridbus.org/gridsim/
+
+ Go through the provided examples.
+ In the website, it contains links to papers about GridSim.
+
+ As long as you have JDK version 1.4 onwards, you can run GridSim
+ on a PC. However, if you run a huge simulation, you'd probably needs
+ bigger RAM and CPU.
+
+---------------------------------------------------------
+Q: Will GridSim require Globus?
+
+A: Why don't you download the GridSim toolkit and have a try?
+ Also, please read the README file.
+
+---------------------------------------------------------
+Q: How do you compile and run GridSim application?
+
+A: For example, if you want to run Example1
+
+ In Unix/Linux:
+ * go to the directory of where Example1 resides, i.e.
+ at command prompt type: cd $GRIDSIM/examples/Example01
+ * to compile type: javac -classpath $GRIDSIM/gridsim.jar:. Example1.java
+ * to run type: java -classpath gridsim.jar:. Example1
+
+ In Windows:
+ * go to the directory of where Example1 resides, i.e.
+ at command prompt type: cd %GRIDSIM%\examples\Example01
+ * to compile type: javac -classpath %GRIDSIM%\gridsim.jar;. Example1.java
+ * to run type: java -classpath gridsim.jar;. Example1
+
+
+ The main difference is the use of ":" for Unix/Linux, and ";" for Windows
+ NOTE: $GRIDSIM or %GRIDSIM% is the location of the GridSim Toolkit package.
+ Also, inside gridsim.jar contains SimJava v2.0 classes. Hence,
+ you do not need to install SimJava libraries.
+
+---------------------------------------------------------
+Q: When I run GridSim application, I have the following error message:
+ Exception in thread "main" java.lang.NoClassDefFoundError: Example1
+
+A: You need the classpath to refer to the directory where Example1.java
+ located. For Example, to run in Windows:
+ java -classpath gridsim.jar;. Example1
+
+ where Example1 is the classname you want to execute
+
+---------------------------------------------------------
+Q: My GridSim application runs perfectly, however, after the end of simulation
+ it just hang without exiting properly.
+
+A: The problem may be caused by not closing GridSim entities, such as
+ GridStatistics, I/O ports, etc. Each class that extends GridSim with
+ a networked I/O ports must use terminate the I/O entities by using
+ terminateIOEntities() before exiting body() method.
+
+ Another cause for this problem is the number of Grid user entities.
+ Before the start of a GridSim application, you need to intialize the GridSim
+ package using GridSim.init(). The method requires to have the number of
+ Grid user entities. If the number is different from the actual Grid user
+ entities, your GridSim application will hang or can't exit properly.
+
+---------------------------------------------------------
+Q: I am creating a network topology using GridSim. When I run the experiment,
+I have the following exception message:
+
+java.lang.NullPointerException
+ at gridsim.net.RIPRouter.getScheduler(RIPRouter.java:451)
+ at gridsim.net.RIPRouter.getScheduler(RIPRouter.java:401)
+ at gridsim.net.RIPRouter.processNetPacket(RIPRouter.java:302)
+ at gridsim.net.RIPRouter.processEvent(RIPRouter.java:270)
+ at gridsim.net.Router.body(Router.java:267)
+ at eduni.simjava.Sim_entity.run(Sim_entity.java:603)
+
+A: Network exception message is generally caused by 2 things:
+- If you created a new router or link entity, it hasn't been registered to
+GridInformationService class; OR
+
+- GridSim needs few seconds for all network entities to be registered and
+for the network entity to fill in its routing table dynamically.
+Currently, GridSim uses a flooding approach for locating the neighbour
+routers. Hence, these routers need time to receive all the replies.
+I think this could be the main cause of the exception message.
+
+---------------------------------------------------------
+Q: When running GridSim Example 4, 5 and 6 I got an infinite loop
+ saying: "Waiting to get list of resources".
+
+A: In GridSim 2.1, GridSim.getGridResourceList() uses a message event
+ to tell GIS (GridInformationService) entity to send the GridResource
+ list. This causes a significant delay and a bit redundant.
+
+ In GridSim 2.2, GridSim.getGridResourceList() directly uses a
+ method call to GIS entity rather than a message passing.
+ This makes the operation a lot faster. However, during the early stage
+ of simulation, a GridResource might be slow in registering its service
+ to GIS. Hence, the GridResource list is always empty and causing
+ an infinite loop.
+
+ To solve this problem, inside the while() loop, put the following
+ code:
+ // need to pause for a while to wait GridResources finish
+ // registering to GIS
+ super.gridSimHold(1.0); // hold by 1 second
+
+ So, you wait 1 second later to get GridResource list.
+
+---------------------------------------------------------
+Q: When I tried to run GridSim Example4, I have the following error message:
+ java.lang.IncompatibleClassChangeError
+ at Example4.body(Example4.java:70)
+ at eduni.simjava.Sim_entity.run(Sim_entity.java:603)
+
+A: I am not sure what is the exact problem. However, this is mainly
+ caused by older release of SimJava. GridSim Toolkit 2.2 and above now use
+ SimJava2. Simply recompile the Example4.java will solve this
+ problem.
+
+ NOTE: This problem is also effected GridSim Example6.
+
+---------------------------------------------------------
+Q: When I tried to run GridSim Example1, I have the following error message:
+ Exception in thread "main" eduni.simjava.Sim_exception:
+ Sim_entity: Entity names can't contain spaces.
+ at eduni.simjava.Sim_entity.<init>(Sim_entity.java:154)
+ at gridsim.GridSim.<init>(GridSim.java:149)
+ at gridsim.GridResource.<init>(GridResource.java:93)
+ at Example1.createGridResource(Example1.java:188)
+ at Example1.main(Example1.java:57)
+
+A: GridSim Toolkit 2.2 and above now use SimJava2. SimJava2 is more strict about
+ a valid entity name compare to previous release. Hence, to fix this
+ problem is to remove the unnecessary empty space, i.e.
+ "GridResource 0" becomes "GridResource_0"
+
+---------------------------------------------------------
+Q: Are there any type of applications that I can simulate with GridSim?
+
+A: GridSim provides the grid simulation environment (with resources and
+ users), but you need to write codes specifically for the application you
+ want to simulate, e.g. a resource broker Nimrod/G is written to call
+ GridSim classes.
+
+---------------------------------------------------------
+Q: How do I create Gridlets with compute I/O requirements?
+
+A: Gridlets with compute I/O requirements are simulated through their file
+ sizes (input) and output sizez (output) parameters.
+ See Figure 16 of the GridSim paper.
+
+---------------------------------------------------------
+Q: I have a question on network simulation in Gridsim.
+ In my understanding, entities with networking capability must define
+ input and output port. Both ports are "connected" to a simulated network.
+ How does Gridsim models network link and its characteristics, especially
+ bandwidth, since I couldn't find class that models this network link?
+ Does Gridsim also simulate bandwidth-sharing if there are several IOdata
+ are sent using the same link?
+
+A: Not supported in the older versions. Currently GridSim uses very
+ simple network model.
+
+ Since GridSim ver3.1, it has a realistic network model. However,
+ advanced network features are not supported.
+
+---------------------------------------------------------
+Q: Is GridSim tool kit provides any help in solving problems for dynamical
+ resource allocation upon failure?
+
+A: GridSim provides mechanism to reserve, but policy of reservation and
+ how to handle failures etc. is up to server's provider and consumers
+ to define.
+
+---------------------------------------------------------
+Q: How do you model the gridlet execution in time_shared resource?
+
+A: Just creating a Gridlet is sufficient. It runs on both time and space
+ shared machines.
+
+---------------------------------------------------------
+Q: Does each gridlet can only be processed by only one PE?
+
+A: For older GridSim versions, it runs one PE.
+ Since GridSim ver3.0, each Gridlet can ask to be run on multiple PEs.
+ However, it is up to the scheduler to handle this.
+ At the moment, by default, TimeShared and SpaceShared scheduler executes
+ an incoming Gridlet to only 1 PE.
+
+---------------------------------------------------------
+Q: Is the model for parallel job included inside the GridSim?
+
+A: It is up users to model parallel application job at the higher level
+ (develop on top of gridsim).
+
+---------------------------------------------------------
+Q: When I run GridSim, I have the following error message:
+ Sim_system:Error - past event detected!
+ Time: 0.0, event time: -XXXXX.X event type: 1
+ Where XXXXX.X is a negative number that varies.
+
+A: It appears like this error comes up for one of the following scenarios:
+ - an entity or object waits for a specific event. However, the response
+ event type is different.
+ - some events are not captured.
+ - GridSim runs under multi-threaded environment. Hence, some events might
+ be accidentally deleted or being changed by other thread to wait for
+ a different response that doesn't exist, etc ...
+
+---------------------------------------------------------
+Q: Does GridSim currently support the usage of any wireless network standard
+when specifying network topology?
+
+A: No. We have NOT done so much about wireless network support in GridSim.
+ But if you are willing, we could explore this with you.
+
+---------------------------------------------------------
+Q: Does GridSim support multiple simulations or runs in a single program?
+
+A: No. Currently, GridSim only allows a single experiment to run in a main()
+ method. Hence, to calculate a confidence interval, you need to do this
+ manually.
+
+---------------------------------------------------------
+Q: Does GridSim run in a cluster or a PC?
+
+A: GridSim runs in a PC as a stand-alone program with multiple threads.
+ This means if you want to run in a cluster, you just need to request 1 node.
+
+---------------------------------------------------------
+Q: I came across three variables: peak load, off-peak load and holiday load.
+ I understand from the study I have done that these variables represent
+ the load factor. I do not fully get what this means and was hoping that
+ you could help me out so I can progress further with my work.
+
+A: These load factors are influencing the total execution time
+ of a job in a given resource.
+ If you set these loads to zero, means this resource is idle / free.
+ If you want to write a resource scheduler, like SpaceShared or TimeShared
+ then these load factors are important.
+
+---------------------------------------------------------
+Q: for the Gridlet class, what are the units of file size, length, and output?
+
+A: the unit of file size and output is in byte.
+ For the Gridlet length, the unit is in MI (Millions Instructions).
+ A CPU clock is measured in MIPS (Millions Instructions Per Second) as
+ suggested by SPEC.
+
+---------------------------------------------------------
+Q: In the previous releases of GridSim you had to use
+GridSim class to send messages to other entities. The provided "send" methods
+included a parameter to indicate the sender of the request. It is no clear how
+to indicate this with the "send" methods provided by the GridSimCore class. The
+lack of ID information in the event raises an exception in the GridResource
+class. Reading the source code of the GridResource class I've realized that the
+way to send the ID of the sender could be the following:
+
+super.send(resourceId, GridSimTags.SCHEDULE_NOW,
+GridSimTags.RESOURCE_CHARACTERISTICS, new Integer(this.get_id()));
+
+This solves the first problem but generates a new exception in other class:
+Exception in thread "Thread-7" java.lang.ArrayIndexOutOfBoundsException: -1
+ at java.util.ArrayList.get(ArrayList.java:323)
+ at eduni.simjava.Sim_system.send(Sim_system.java:600)
+ at eduni.simjava.Sim_entity.sim_schedule(Sim_entity.java:342)
+ at gridsim.net.Output.defaultSend(Unknown Source)
+ at gridsim.net.Output.body(Unknown Source)
+ at eduni.simjava.Sim_entity.run(Sim_entity.java:603)
+
+I've read the source of the Output class, but I've not found a solution to the
+problem. Do you know where can be the problem?
+
+A: The problem was in the "baudRate" attribute that wasn't initialized.
+So using GridSim(String name, double baudRate) the problem was solved.
+
+---------------------------------------------------------
+
+
+
+Questions related to GridBroker
+===============================
+
+Q: How do you compile and run GridBroker application?
+
+A: Similar to compile and to run GridSim. Instead of using gridsim.jar,
+ you use gridbroker.jar. Inside this jar file, it contains GridBroker,
+ GridSim and SimJava classes.
+
+ Please do not use recent GridSim release jar file when running this broker
+ (see the below question).
+
+---------------------------------------------------------
+Q: I have executed all gridsim examples. But while executing gridbroker
+i.e C:\gridsimtoolkit-4.0\application\gridbroker\example\Example1.java
+it gives following error after initializing gridsim:
+
+Initialising...
+Starting GridSim version 4.0
+Entities started.
+java.lang.IncompatibleClassChangeError
+ at gridbroker.Broker.body( Broker.java:649)
+ at eduni.simjava.Sim_entity.run(Sim_entity.java:603)
+
+
+A: read the README.txt file located under $GRIDSIM/application/gridbroker.
+./gridbroker.jar - A jar file containing GridBroker, GridSim v2.1, and
+ SimJava v1.2 classes.
+NOTE: No updates or improvements on GridBroker package since GridSim v2.1,
+hence, it is more stable under GridSim v2.1 and SimJava v1.2 release.
+
+You cant mixed up jars from different class versions.
+That's why you have this error message.
+
+---------------------------------------------------------
+Q: I want to create a specific application. Is it necessary to build on top
+ of GridBroker?
+
+A: You are expected to develop an application on top of GridSim,
+ instead of GridBroker. GridBroker is included to demonstrate the
+ capability of GridSim in simulating the Grid environment and a
+ Nimrod/G like deadline and budget constraint scheduling system.
+
+---------------------------------------------------------
+Q: The application generates the files: tracefile, stat.txt, g14.sched1,
+ g14.sched2, g14.sched3, g14.sched31, g14.sched4, g14.sched5, g14.sched6.
+ What are the meaning of these files?
+
+A: These files contains statistical results of the simulation that are of
+ interest to the GridSim user (ie. you).
+
+ When running a GridBroker application, it will produce the following files:
+
+ stat.txt -> created by GridSim class during GridSim.init() to create
+ a GridStatistics object for statistical purposes
+
+ tracefile -> created by the SimJava package to trace every events
+ that are performed by SimJava, GridSim and GridBroker
+ during the simulation.
+
+ g14.sched* -> All of these files are created by Broker class.
+ When we create an UserEntity object, it will
+ automatically creates a Broker object.
+
+ Description on the g14.sched* files:
+ g14.sched1 is about Gridlets finished report.
+ g14.sched2 is about Gridlets processing expenses report.
+ g14.sched3 is about Gridlets on resource report.
+ g14.sched31 is about Gridlets committed for resource report.
+ g14.sched4 is same as g14.sched1, however this file only
+ displays the overall result or summary of g14.sched1 file.
+
+ g14.sched5 is same as g14.sched2, however this file only
+ displays the overall result or summary of g14.sched2 file.
+
+ g14.sched6 is same as g14.sched3, however this file only
+ displays the overall result or summary of g14.sched3 file.
+
+ NOTE: Explanations about the content of each file are mentioned in
+ GridBroker example section.
+
+---------------------------------------------------------
+
+
+Questions related to VisualModeler
+==================================
+
+
+Q: What is VisualModeler (VM)?
+
+A: It is a program that generates GridBroker source code.
+ With VM, you can specify how many grid users and resources for your
+ simulation. After finish generating the GridBroker source code, you
+ can then compile and run the program using the GridBroker jar file.
+
+---------------------------------------------------------
+Q: How do I run VisualModeler?
+
+A: To run it, just type:
+ java -jar visualmodeler.jar
+
+---------------------------------------------------------
+Q: I have the following warning message when trying to run VisualModeler.
+ Jun 29, 2003 5:36:56 PM java.util.prefs.FileSystemPreferences$3 run
+ WARNING: Could not create system preferences directory.
+ System preferences are unusable.
+
+A: That's the JDK1.4 Preferences API, used to manage system-wide and per-user
+ preferences. On Windows, the implementation uses the Windows Registry;
+ on Unix/Linux, it uses the file system.
+
+ The warning means Java (used under a user) tries to write preference files
+ in the root-owned directory that contains Java. This may be caused
+ by the way Java installed.
+
+ To solve this problem is run VisualModeler under root. Java will
+ automatically creates system preferences directory. Possibly in
+ /etc/.java/.systemPrefs
+
+ Go to the following website to know more about this:
+ http://java.sun.com/j2se/1.4.1/install-linux.html
+
+---------------------------------------------------------
+
+Q: When I tried to run code generated from VisualModeler,
+ I have the following error message:
+ Exception in thread "main" eduni.simjava.Sim_exception:
+ Sim_entity: Entity names can't contain spaces.
+ at eduni.simjava.Sim_entity.<init>(Sim_entity.java:154)
+ at gridsim.GridSim.<init>(GridSim.java:149)
+ at gridsim.GridResource.<init>(GridResource.java:93)
+ at Example1.createGridResource(Example1.java:188)
+ at Example1.main(Example1.java:57)
+
+A: GridSim Toolkit 2.2 and above now use SimJava2. SimJava2 is more strict about
+ a valid entity name compare to the previous release. Hence, to fix this
+ problem is to remove the unnecessary empty space, i.e.
+ "GridResource 0" becomes "GridResource_0"
Deleted: branches/gssim/trunk/faq.txt
===================================================================
--- branches/gssim/trunk/faq.txt 2008-08-20 13:12:31 UTC (rev 227)
+++ branches/gssim/trunk/faq.txt 2008-08-20 13:13:52 UTC (rev 228)
@@ -1,458 +0,0 @@
-# Frequently Asked Questions (FAQ)
-# Maintained by Anthony Sulistio
-# $Id: faq.txt,v 1.7 2007/09/01 02:46:01 anthony Exp $
-
-Please read this document, FAQ, examples, API, etc before contacting us.
-Moreover, look at the previous questions at the below website:
-http://sourceforge.net/mail/?group_id=94592
-
-Send any queries and feedbacks to gridsim-users @ lists.sourceforge.net
-
----------------------------------------------------------
-Q: Where can I find gridbroker, visual modeler, ... ?
-
-A: If you are looking for applications or programs built on top of GridSim,
-such as gridbroker or Visual Modeler, they can be found below:
-http://www.gridbus.org/gridsim/release.html
-
----------------------------------------------------------
-Q: I want to run the gridsim simulation on my computer but i can't because
- Jcreator don't see the gridsim package. Please send to me the steps of
- how compile and run the simulation.
-
-A: Go to GridSim website and there is an instruction on how to use it with
- JCreator. http://www.gridbus.org/gridsim/paper/jcreator.pdf
-
- If you use JBuilder or Eclipse, the instructions can be found below:
- http://www.gridbus.org/gridsim/paper/jbuilder.pdf
- http://www.gridbus.org/gridsim/paper/eclipse.pdf
-
----------------------------------------------------------
-Q: I would like to do some experiments for my research work on grid computing
- using the simulator package that you have. Using the simulator,
- can I simulate a grid environment with service providers requestors,
- administartors etc. on a PC environment? Please pass on some resources,
- links, and white papers and links where from I should download.
-
-Q: please help me by sending GridSim Package, give instructions and
- also technical help to complete my project successfully.
-
-A: The best way to learn GridSim is by downloading it from below:
- http://www.gridbus.org/gridsim/
-
- Go through the provided examples.
- In the website, it contains links to papers about GridSim.
-
- As long as you have JDK version 1.4 onwards, you can run GridSim
- on a PC. However, if you run a huge simulation, you'd probably needs
- bigger RAM and CPU.
-
----------------------------------------------------------
-Q: Will GridSim require Globus?
-
-A: Why don't you download the GridSim toolkit and have a try?
- Also, please read the README file.
-
----------------------------------------------------------
-Q: How do you compile and run GridSim application?
-
-A: For example, if you want to run Example1
-
- In Unix/Linux:
- * go to the directory of where Example1 resides, i.e.
- at command prompt type: cd $GRIDSIM/examples/Example01
- * to compile type: javac -classpath $GRIDSIM/gridsim.jar:. Example1.java
- * to run type: java -classpath gridsim.jar:. Example1
-
- In Windows:
- * go to the directory of where Example1 resides, i.e.
- at command prompt type: cd %GRIDSIM%\examples\Example01
- * to compile type: javac -classpath %GRIDSIM%\gridsim.jar;. Example1.java
- * to run type: java -classpath gridsim.jar;. Example1
-
-
- The main difference is the use of ":" for Unix/Linux, and ";" for Windows
- NOTE: $GRIDSIM or %GRIDSIM% is the location of the GridSim Toolkit package.
- Also, inside gridsim.jar contains SimJava v2.0 classes. Hence,
- you do not need to install SimJava libraries.
-
----------------------------------------------------------
-Q: When I run GridSim application, I have the following error message:
- Exception in thread "main" java.lang.NoClassDefFoundError: Example1
-
-A: You need the classpath to refer to the directory where Example1.java
- located. For Example, to run in Windows:
- java -classpath gridsim.jar;. Example1
-
- where Example1 is the classname you want to execute
-
----------------------------------------------------------
-Q: My GridSim application runs perfectly, however, after the end of simulation
- it just hang without exiting properly.
-
-A: The problem may be caused by not closing GridSim entities, such as
- GridStatistics, I/O ports, etc. Each class that extends GridSim with
- a networked I/O ports must use terminate the I/O entities by using
- terminateIOEntities() before exiting body() method.
-
- Another cause for this problem is the number of Grid user entities.
- Before the start of a GridSim application, you need to intialize the GridSim
- package using GridSim.init(). The method requires to have the number of
- Grid user entities. If the number is different from the actual Grid user
- entities, your GridSim application will hang or can't exit properly.
-
----------------------------------------------------------
-Q: I am creating a network topology using GridSim. When I run the experiment,
-I have the following exception message:
-
-java.lang.NullPointerException
- at gridsim.net.RIPRouter.getScheduler(RIPRouter.java:451)
- at gridsim.net.RIPRouter.getScheduler(RIPRouter.java:401)
- at gridsim.net.RIPRouter.processNetPacket(RIPRouter.java:302)
- at gridsim.net.RIPRouter.processEvent(RIPRouter.java:270)
- at gridsim.net.Router.body(Router.java:267)
- at eduni.simjava.Sim_entity.run(Sim_entity.java:603)
-
-A: Network exception message is generally caused by 2 things:
-- If you created a new router or link entity, it hasn't been registered to
-GridInformationService class; OR
-
-- GridSim needs few seconds for all network entities to be registered and
-for the network entity to fill in its routing table dynamically.
-Currently, GridSim uses a flooding approach for locating the neighbour
-routers. Hence, these routers need time to receive all the replies.
-I think this could be the main cause of the exception message.
-
----------------------------------------------------------
-Q: When running GridSim Example 4, 5 and 6 I got an infinite loop
- saying: "Waiting to get list of resources".
-
-A: In GridSim 2.1, GridSim.getGridResourceList() uses a message event
- to tell GIS (GridInformationService) entity to send the GridResource
- list. This causes a significant delay and a bit redundant.
-
- In GridSim 2.2, GridSim.getGridResourceList() directly uses a
- method call to GIS entity rather than a message passing.
- This makes the operation a lot faster. However, during the early stage
- of simulation, a GridResource might be slow in registering its service
- to GIS. Hence, the GridResource list is always empty and causing
- an infinite loop.
-
- To solve this problem, inside the while() loop, put the following
- code:
- // need to pause for a while to wait GridResources finish
- // registering to GIS
- super.gridSimHold(1.0); // hold by 1 second
-
- So, you wait 1 second later to get GridResource list.
-
----------------------------------------------------------
-Q: When I tried to run GridSim Example4, I have the following error message:
- java.lang.IncompatibleClassChangeError
- at Example4.body(Example4.java:70)
- at eduni.simjava.Sim_entity.run(Sim_entity.java:603)
-
-A: I am not sure what is the exact problem. However, this is mainly
- caused by older release of SimJava. GridSim Toolkit 2.2 and above now use
- SimJava2. Simply recompile the Example4.java will solve this
- problem.
-
- NOTE: This problem is also effected GridSim Example6.
-
----------------------------------------------------------
-Q: When I tried to run GridSim Example1, I have the following error message:
- Exception in thread "main" eduni.simjava.Sim_exception:
- Sim_entity: Entity names can't contain spaces.
- at eduni.simjava.Sim_entity.<init>(Sim_entity.java:154)
- at gridsim.GridSim.<init>(GridSim.java:149)
- at gridsim.GridResource.<init>(GridResource.java:93)
- at Example1.createGridResource(Example1.java:188)
- at Example1.main(Example1.java:57)
-
-A: GridSim Toolkit 2.2 and above now use SimJava2. SimJava2 is more strict about
- a valid entity name compare to previous release. Hence, to fix this
- problem is to remove the unnecessary empty space, i.e.
- "GridResource 0" becomes "GridResource_0"
-
----------------------------------------------------------
-Q: Are there any type of applications that I can simulate with GridSim?
-
-A: GridSim provides the grid simulation environment (with resources and
- users), but you need to write codes specifically for the application you
- want to simulate, e.g. a resource broker Nimrod/G is written to call
- GridSim classes.
-
----------------------------------------------------------
-Q: How do I create Gridlets with compute I/O requirements?
-
-A: Gridlets with compute I/O requirements are simulated through their file
- sizes (input) and output sizez (output) parameters.
- See Figure 16 of the GridSim paper.
-
----------------------------------------------------------
-Q: I have a question on network simulation in Gridsim.
- In my understanding, entities with networking capability must define
- input and output port. Both ports are "connected" to a simulated network.
- How does Gridsim models network link and its characteristics, especially
- bandwidth, since I couldn't find class that models this network link?
- Does Gridsim also simulate bandwidth-sharing if there are several IOdata
- are sent using the same link?
-
-A: Not supported in the older versions. Currently GridSim uses very
- simple network model.
-
- Since GridSim ver3.1, it has a realistic network model. However,
- advanced network features are not supported.
-
----------------------------------------------------------
-Q: Is GridSim tool kit provides any help in solving problems for dynamical
- resource allocation upon failure?
-
-A: GridSim provides mechanism to reserve, but policy of reservation and
- how to handle failures etc. is up to server's provider and consumers
- to define.
-
----------------------------------------------------------
-Q: How do you model the gridlet execution in time_shared resource?
-
-A: Just creating a Gridlet is sufficient. It runs on both time and space
- shared machines.
-
----------------------------------------------------------
-Q: Does each gridlet can only be processed by only one PE?
-
-A: For older GridSim versions, it runs one PE.
- Since GridSim ver3.0, each Gridlet can ask to be run on multiple PEs.
- However, it is up to the scheduler to handle this.
- At the moment, by default, TimeShared and SpaceShared scheduler executes
- an incoming Gridlet to only 1 PE.
-
----------------------------------------------------------
-Q: Is the model for parallel job included inside the GridSim?
-
-A: It is up users to model parallel application job at the higher level
- (develop on top of gridsim).
-
----------------------------------------------------------
-Q: When I run GridSim, I have the following error message:
- Sim_system:Error - past event detected!
- Time: 0.0, event time: -XXXXX.X event type: 1
- Where XXXXX.X is a negative number that varies.
-
-A: It appears like this error comes up for one of the following scenarios:
- - an entity or object waits for a specific event. However, the response
- event type is different.
- - some events are not captured.
- - GridSim runs under multi-threaded environment. Hence, some events might
- be accidentally deleted or being changed by other thread to wait for
- a different response that doesn't exist, etc ...
-
----------------------------------------------------------
-Q: Does GridSim currently support the usage of any wireless network standard
-when specifying network topology?
-
-A: No. We have NOT done so much about wireless network support in GridSim.
- But if you are willing, we could explore this with you.
-
----------------------------------------------------------
-Q: Does GridSim support multiple simulations or runs in a single program?
-
-A: No. Currently, GridSim only allows a single experiment to run in a main()
- method. Hence, to calculate a confidence interval, you need to do this
- manually.
-
----------------------------------------------------------
-Q: Does GridSim run in a cluster or a PC?
-
-A: GridSim runs in a PC as a stand-alone program with multiple threads.
- This means if you want to run in a cluster, you just need to request 1 node.
-
----------------------------------------------------------
-Q: I came across three variables: peak load, off-peak load and holiday load.
- I understand from the study I have done that these variables represent
- the load factor. I do not fully get what this means and was hoping that
- you could help me out so I can progress further with my work.
-
-A: These load factors are influencing the total execution time
- of a job in a given resource.
- If you set these loads to zero, means this resource is idle / free.
- If you want to write a resource scheduler, like SpaceShared or TimeShared
- then these load factors are important.
-
----------------------------------------------------------
-Q: for the Gridlet class, what are the units of file size, length, and output?
-
-A: the unit of file size and output is in byte.
- For the Gridlet length, the unit is in MI (Millions Instructions).
- A CPU clock is measured in MIPS (Millions Instructions Per Second) as
- suggested by SPEC.
-
----------------------------------------------------------
-Q: In the previous releases of GridSim you had to use
-GridSim class to send messages to other entities. The provided "send" methods
-included a parameter to indicate the sender of the request. It is no clear how
-to indicate this with the "send" methods provided by the GridSimCore class. The
-lack of ID information in the event raises an exception in the GridResource
-class. Reading the source code of the GridResource class I've realized that the
-way to send the ID of the sender could be the following:
-
-super.send(resourceId, GridSimTags.SCHEDULE_NOW,
-GridSimTags.RESOURCE_CHARACTERISTICS, new Integer(this.get_id()));
-
-This solves the first problem but generates a new exception in other class:
-Exception in thread "Thread-7" java.lang.ArrayIndexOutOfBoundsException: -1
- at java.util.ArrayList.get(ArrayList.java:323)
- at eduni.simjava.Sim_system.send(Sim_system.java:600)
- at eduni.simjava.Sim_entity.sim_schedule(Sim_entity.java:342)
- at gridsim.net.Output.defaultSend(Unknown Source)
- at gridsim.net.Output.body(Unknown Source)
- at eduni.simjava.Sim_entity.run(Sim_entity.java:603)
-
-I've read the source of the Output class, but I've not found a solution to the
-problem. Do you know where can be the problem?
-
-A: The problem was in the "baudRate" attribute that wasn't initialized.
-So using GridSim(String name, double baudRate) the problem was solved.
-
----------------------------------------------------------
-
-
-
-Questions related to GridBroker
-===============================
-
-Q: How do you compile and run GridBroker application?
-
-A: Similar to compile and to run GridSim. Instead of using gridsim.jar,
- you use gridbroker.jar. Inside this jar file, it contains GridBroker,
- GridSim and SimJava classes.
-
- Please do not use recent GridSim release jar file when running this broker
- (see the below question).
-
----------------------------------------------------------
-Q: I have executed all gridsim examples. But while executing gridbroker
-i.e C:\gridsimtoolkit-4.0\application\gridbroker\example\Example1.java
-it gives following error after initializing gridsim:
-
-Initialising...
-Starting GridSim version 4.0
-Entities started.
-java.lang.IncompatibleClassChangeError
- at gridbroker.Broker.body( Broker.java:649)
- at eduni.simjava.Sim_entity.run(Sim_entity.java:603)
-
-
-A: read the README.txt file located under $GRIDSIM/application/gridbroker.
-./gridbroker.jar - A jar file containing GridBroker, GridSim v2.1, and
- SimJava v1.2 classes.
-NOTE: No updates or improvements on GridBroker package since GridSim v2.1,
-hence, it is more stable under GridSim v2.1 and SimJava v1.2 release.
-
-You cant mixed up jars from different class versions.
-That's why you have this error message.
-
----------------------------------------------------------
-Q: I want to create a specific application. Is it necessary to build on top
- of GridBroker?
-
-A: You are expected to develop an application on top of GridSim,
- instead of GridBroker. GridBroker is included to demonstrate the
- capability of GridSim in simulating the Grid environment and a
- Nimrod/G like deadline and budget constraint scheduling system.
-
----------------------------------------------------------
-Q: The application generates the files: tracefile, stat.txt, g14.sched1,
- g14.sched2, g14.sched3, g14.sched31, g14.sched4, g14.sched5, g14.sched6.
- What are the meaning of these files?
-
-A: These files contains statistical results of the simulation that are of
- interest to the GridSim user (ie. you).
-
- When running a GridBroker application, it will produce the following files:
-
- stat.txt -> created by GridSim class during GridSim.init() to create
- a GridStatistics object for statistical purposes
-
- tracefile -> created by the SimJava package to trace every events
- that are performed by SimJava, GridSim and GridBroker
- during the simulation.
-
- g14.sched* -> All of these files are created by Broker class.
- When we create an UserEntity object, it will
- automatically creates a Broker object.
-
- Description on the g14.sched* files:
- g14.sched1 is about Gridlets finished report.
- g14.sched2 is about Gridlets processing expenses report.
- g14.sched3 is about Gridlets on resource report.
- g14.sched31 is about Gridlets committed for resource report.
- g14.sched4 is same as g14.sched1, however this file only
- displays the overall result or summary of g14.sched1 file.
-
- g14.sched5 is same as g14.sched2, however this file only
- displays the overall result or summary of g14.sched2 file.
-
- g14.sched6 is same as g14.sched3, however this file only
- displays the overall result or summary of g14.sched3 file.
-
- NOTE: Explanations about the content of each file are mentioned in
- GridBroker example section.
-
----------------------------------------------------------
-
-
-Questions related to VisualModeler
-==================================
-
-
-Q: What is VisualModeler (VM)?
-
-A: It is a program that generates GridBroker source code.
- With VM, you can specify how many grid users and resources for your
- simulation. After finish generating the GridBroker source code, you
- can then compile and run the program using the GridBroker jar file.
-
----------------------------------------------------------
-Q: How do I run VisualModeler?
-
-A: To run it, just type:
- java -jar visualmodeler.jar
-
----------------------------------------------------------
-Q: I have the following warning message when trying to run VisualModeler.
- Jun 29, 2003 5:36:56 PM java.util.prefs.FileSystemPreferences$3 run
- WARNING: Could not create system preferences directory.
- System preferences are unusable.
-
-A: That's the JDK1.4 Preferences API, used to manage system-wide and per-user
- preferences. On Windows, the implementation uses the Windows Registry;
- on Unix/Linux, it uses the file system.
-
- The warning means Java (used under a user) tries to write preference files
- in the root-owned directory that contains Java. This may be caused
- by the way Java installed.
-
- To solve this problem is run VisualModeler under root. Java will
- automatically creates system preferences directory. Possibly in
- /etc/.java/.systemPrefs
-
- Go to the following website to know more about this:
- http://java.sun.com/j2se/1.4.1/install-linux.html
-
----------------------------------------------------------
-
-Q: When I tried to run code generated from VisualModeler,
- I have the following error message:
- Exception in thread "main" eduni.simjava.Sim_exception:
- Sim_entity: Entity names can't contain spaces.
- at eduni.simjava.Sim_entity.<init>(Sim_entity.java:154)
- at gridsim.GridSim.<init>(GridSim.java:149)
- at gridsim.GridResource.<init>(GridResource.java:93)
- at Example1.createGridResource(Example1.java:188)
- at Example1.main(Example1.java:57)
-
-A: GridSim Toolkit 2.2 and above now use SimJava2. SimJava2 is more strict about
- a valid entity name compare to the previous release. Hence, to fix this
- problem is to remove the unnecessary empty space, i.e.
- "GridResource 0" becomes "GridResource_0"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 13:12:22
|
Revision: 227
http://gridsim.svn.sourceforge.net/gridsim/?rev=227&view=rev
Author: mkrystek
Date: 2008-08-20 13:12:31 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
Added Paths:
-----------
branches/gssim/changelog.txt
Removed Paths:
-------------
branches/gssim/trunk/changelog.txt
Copied: branches/gssim/changelog.txt (from rev 226, branches/gssim/trunk/changelog.txt)
===================================================================
--- branches/gssim/changelog.txt (rev 0)
+++ branches/gssim/changelog.txt 2008-08-20 13:12:31 UTC (rev 227)
@@ -0,0 +1,148 @@
+# Changelog for GridSim Toolkit
+# Maintained by Anthony Sulistio
+# $Id: changelog.txt,v 1.7 2007/09/01 02:40:12 anthony Exp $
+
+
+Changes from 4.0 to 4.1
+- add a new functionality that supports resource failures during runtime.
+ This work was done in collaboration with Agustin Caminero from
+ Universidad de Castilla La Mancha (UCLM), Spain.
+- fix few bugs in the code and examples.
+
+=======================================================================
+Changes from 3.3 to 4.0
+- add two major new features: auction model and data grid
+- add a new packet scheduler for the network package
+- add a network reader to read a network topology from a file and automatically
+creates and link routers
+- modify some of the network classes to incorporate this new packet scheduler
+- fix few bugs
+
+=======================================================================
+Changes from 3.2 to 3.3
+No new additions, it mainly about bug fixes:
+- for a Regional GIS feature (discovered by Agustin Caminero).
+Classes affected: AbstractGIS and RegionalGIS
+
+- inside GridSim class (discovered by Sai Rahul Reddy) for the below methods:
+ * getResourceCharacteristics()
+ * getResourceDynamicInfo()
+It will cause an exception because waiting for the next incoming event, which
+might not the correct tag. Hence, use filtering instead.
+
+- Example 4, 5, and 6 (discovered by Sai Rahul Reddy) should not have
+gridlet.setResourceParameter( resourceID[id], resourceCost[id] );
+This is because inside the gridresource already call this method.
+It will create a new Resource object inside the gridlet.
+
+- a networked GridSim entity can not send a null data to itself (discovered
+by Uros Cibej).
+
+- a Gridlet must have a ToS for Differentiated network.
+
+- for advanced reservation feature, queryBusyTime() and queryFreeTime()
+needs to know a time zone from user (discovered by Jakub Milkiewicz).
+
+
+=======================================================================
+Changes from 3.1 to 3.2
+- incorporates multiple regional GridInformationService (GIS) entities
+ connected in a network topology. With this functionality, a resource
+ registers to its regional GIS entity. In addition, a regional GIS entity
+ can communicate/query to other GIS entities about their local resources.
+ In summary, this functionality allows a Virtual Organization (VO) scenario.
+
+- incorporates a functionality to select/filter an event from the incoming
+ entity's queue based on some constraints.
+
+- bug fixes in sending and receiving acknowledgement in GridSim and
+ AdvanceReservation class.
+
+=======================================================================
+Changes from 3.0 to 3.1
+- incorporates a network extension into GridSim.
+ Now, resources and other entities can be linked in a network topology.
+ Network elements like routers and links can be extended for more
+ functionality. The schedulers being used can be modified to support
+ other scheduling paradigms like EDF, Delay Jitter regulator etc.
+ In addition, data sent over the network is automatically packetised depending
+ on the Maximum Transmission Unit (MTU) of a link.
+
+ This work was done in collaboration with Gokul Poduval and Chen-Khong Tham
+ from Computer Communication Networks (CCN) Lab,
+ National University of Singapore (NUS).
+
+- incorporates a background traffic functionality based on a probabilistic
+ distribution. This is useful for simulating over a public network
+ where the network is congested.
+
+- incorporates a functionality that reads workload traces taken from
+ supercomputers for simulating a realistic grid environment.
+
+- adds ant build file to compile GridSim source files.
+
+=======================================================================
+Changes from 2.2 to 3.0
+- adds new functionalities, especially regarding to advanced reservation
+ mechanisms. GridSim has the framework / infrastructure to handle
+ advanced reservation functionalities, such as:
+ * create a new reservation
+ * commit a reservation
+ * cancel an existing reservation
+ * modify an existing reservation
+ * query the status of an existing reservation
+
+- make GridResource and GridInformationService class to be more extensible.
+- modify the overall GridSim architecture to incorporate advanced reservation
+ functionalities. In addition, this new architecture is more extensible and
+ easier to create your own GridResource and/or GridInformationService entity.
+- add different ways to initialize GridSim, see GridSim.init() methods for
+ more details.
+- fix minor bugs and encoding problem on example source code.
+
+=======================================================================
+Changes from 2.1 to 2.2
+- adds new functionalities regarding to Job or Gridlet migration.
+ New methods in GridSim class are
+ * gridletCancel(): cancels a Gridlet executed in a GridResource
+ * gridletMove(): moves a Gridlet to a different GridResource
+ * gridletPause(): pauses an executed Gridlet
+ * gridletResume(): resumes a previously paused Gridlet
+ * gridletStatus(): queries the status of a Gridlet
+
+- each Job or Gridlet has its own activity log or history.
+ Therefore, you can view where this Gridlet being assigned to and
+ how long the execution takes.
+
+- decouples both Time-Shared and Space-Shared allocation policy
+ from inside GridResource class into separate classes. This way,
+ new allocation policy can be made and integrated into the GridSim
+ Toolkit easily without the need to recompile and reconstruct
+ the whole package.
+
+- rewritten Time-Shared and Space-Shared allocation policy to
+ incorporate Gridlet migration and new functionalities.
+
+- uses the new version of SimJava, i.e. version 2 instead of 1.2
+- fix minor bugs
+
+
+=======================================================================
+Changes from 2.0 to 2.1
+- clean up GridSim and GridBroker source code.
+- add more documentation to GridSim, GridBroker and VisualModeler source code.
+- use Java's code convention to GridSim and GridBroker. Hence, they are
+ plenty of deprecated methods.
+- fix minor bugs.
+- add examples of how to use GridSim and GridBroker.
+- grouped together the classes into jar file.
+- optimize VisualModeler code especially regarding to generate Java and XML
+ file.
+
+
+=======================================================================
+Changes from 1.1 to 2.0
+- separate GridSim and GridBroker into separate package and directory.
+- add VisualModeler component.
+
+
Deleted: branches/gssim/trunk/changelog.txt
===================================================================
--- branches/gssim/trunk/changelog.txt 2008-08-20 13:11:04 UTC (rev 226)
+++ branches/gssim/trunk/changelog.txt 2008-08-20 13:12:31 UTC (rev 227)
@@ -1,148 +0,0 @@
-# Changelog for GridSim Toolkit
-# Maintained by Anthony Sulistio
-# $Id: changelog.txt,v 1.7 2007/09/01 02:40:12 anthony Exp $
-
-
-Changes from 4.0 to 4.1
-- add a new functionality that supports resource failures during runtime.
- This work was done in collaboration with Agustin Caminero from
- Universidad de Castilla La Mancha (UCLM), Spain.
-- fix few bugs in the code and examples.
-
-=======================================================================
-Changes from 3.3 to 4.0
-- add two major new features: auction model and data grid
-- add a new packet scheduler for the network package
-- add a network reader to read a network topology from a file and automatically
-creates and link routers
-- modify some of the network classes to incorporate this new packet scheduler
-- fix few bugs
-
-=======================================================================
-Changes from 3.2 to 3.3
-No new additions, it mainly about bug fixes:
-- for a Regional GIS feature (discovered by Agustin Caminero).
-Classes affected: AbstractGIS and RegionalGIS
-
-- inside GridSim class (discovered by Sai Rahul Reddy) for the below methods:
- * getResourceCharacteristics()
- * getResourceDynamicInfo()
-It will cause an exception because waiting for the next incoming event, which
-might not the correct tag. Hence, use filtering instead.
-
-- Example 4, 5, and 6 (discovered by Sai Rahul Reddy) should not have
-gridlet.setResourceParameter( resourceID[id], resourceCost[id] );
-This is because inside the gridresource already call this method.
-It will create a new Resource object inside the gridlet.
-
-- a networked GridSim entity can not send a null data to itself (discovered
-by Uros Cibej).
-
-- a Gridlet must have a ToS for Differentiated network.
-
-- for advanced reservation feature, queryBusyTime() and queryFreeTime()
-needs to know a time zone from user (discovered by Jakub Milkiewicz).
-
-
-=======================================================================
-Changes from 3.1 to 3.2
-- incorporates multiple regional GridInformationService (GIS) entities
- connected in a network topology. With this functionality, a resource
- registers to its regional GIS entity. In addition, a regional GIS entity
- can communicate/query to other GIS entities about their local resources.
- In summary, this functionality allows a Virtual Organization (VO) scenario.
-
-- incorporates a functionality to select/filter an event from the incoming
- entity's queue based on some constraints.
-
-- bug fixes in sending and receiving acknowledgement in GridSim and
- AdvanceReservation class.
-
-=======================================================================
-Changes from 3.0 to 3.1
-- incorporates a network extension into GridSim.
- Now, resources and other entities can be linked in a network topology.
- Network elements like routers and links can be extended for more
- functionality. The schedulers being used can be modified to support
- other scheduling paradigms like EDF, Delay Jitter regulator etc.
- In addition, data sent over the network is automatically packetised depending
- on the Maximum Transmission Unit (MTU) of a link.
-
- This work was done in collaboration with Gokul Poduval and Chen-Khong Tham
- from Computer Communication Networks (CCN) Lab,
- National University of Singapore (NUS).
-
-- incorporates a background traffic functionality based on a probabilistic
- distribution. This is useful for simulating over a public network
- where the network is congested.
-
-- incorporates a functionality that reads workload traces taken from
- supercomputers for simulating a realistic grid environment.
-
-- adds ant build file to compile GridSim source files.
-
-=======================================================================
-Changes from 2.2 to 3.0
-- adds new functionalities, especially regarding to advanced reservation
- mechanisms. GridSim has the framework / infrastructure to handle
- advanced reservation functionalities, such as:
- * create a new reservation
- * commit a reservation
- * cancel an existing reservation
- * modify an existing reservation
- * query the status of an existing reservation
-
-- make GridResource and GridInformationService class to be more extensible.
-- modify the overall GridSim architecture to incorporate advanced reservation
- functionalities. In addition, this new architecture is more extensible and
- easier to create your own GridResource and/or GridInformationService entity.
-- add different ways to initialize GridSim, see GridSim.init() methods for
- more details.
-- fix minor bugs and encoding problem on example source code.
-
-=======================================================================
-Changes from 2.1 to 2.2
-- adds new functionalities regarding to Job or Gridlet migration.
- New methods in GridSim class are
- * gridletCancel(): cancels a Gridlet executed in a GridResource
- * gridletMove(): moves a Gridlet to a different GridResource
- * gridletPause(): pauses an executed Gridlet
- * gridletResume(): resumes a previously paused Gridlet
- * gridletStatus(): queries the status of a Gridlet
-
-- each Job or Gridlet has its own activity log or history.
- Therefore, you can view where this Gridlet being assigned to and
- how long the execution takes.
-
-- decouples both Time-Shared and Space-Shared allocation policy
- from inside GridResource class into separate classes. This way,
- new allocation policy can be made and integrated into the GridSim
- Toolkit easily without the need to recompile and reconstruct
- the whole package.
-
-- rewritten Time-Shared and Space-Shared allocation policy to
- incorporate Gridlet migration and new functionalities.
-
-- uses the new version of SimJava, i.e. version 2 instead of 1.2
-- fix minor bugs
-
-
-=======================================================================
-Changes from 2.0 to 2.1
-- clean up GridSim and GridBroker source code.
-- add more documentation to GridSim, GridBroker and VisualModeler source code.
-- use Java's code convention to GridSim and GridBroker. Hence, they are
- plenty of deprecated methods.
-- fix minor bugs.
-- add examples of how to use GridSim and GridBroker.
-- grouped together the classes into jar file.
-- optimize VisualModeler code especially regarding to generate Java and XML
- file.
-
-
-=======================================================================
-Changes from 1.1 to 2.0
-- separate GridSim and GridBroker into separate package and directory.
-- add VisualModeler component.
-
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 13:10:54
|
Revision: 226
http://gridsim.svn.sourceforge.net/gridsim/?rev=226&view=rev
Author: mkrystek
Date: 2008-08-20 13:11:04 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
Added Paths:
-----------
branches/gssim/javadoc.sh
Removed Paths:
-------------
branches/gssim/trunk/javadoc.sh
Copied: branches/gssim/javadoc.sh (from rev 225, branches/gssim/trunk/javadoc.sh)
===================================================================
--- branches/gssim/javadoc.sh (rev 0)
+++ branches/gssim/javadoc.sh 2008-08-20 13:11:04 UTC (rev 226)
@@ -0,0 +1,33 @@
+
+## A script to run javadoc (Anthony Sept 2004).
+
+year="2007" # year
+ver="v4.1" # version number
+
+dir=./source # source directory that contains Java files
+doc=./doc # output directory
+
+# Only creates GridSim javadoc.
+javadoc -author -version -package -noqualifier java.* \
+ -windowtitle 'GridSim '$ver' API Specification' \
+ -doctitle '<b>GridSim</b> '$ver' API Specification' \
+ -header '<b>GridSim</b><br><font size='-1'>'$ver'</font>' \
+ -bottom 'The University of Melbourne, Australia, '$year \
+ -d $doc -breakiterator \
+ -tag pre:a:"Pre Condition:" \
+ -tag post:a:"Post Condition:" \
+ -tag invariant:t:"Invariant:" \
+ $dir/gridsim/*.java \
+ $dir/gridsim/util/*.java \
+ $dir/gridsim/net/*.java \
+ $dir/gridsim/filter/*.java \
+ $dir/gridsim/index/*.java \
+ $dir/gridsim/resFailure/*.java \
+ $dir/gridsim/auction/*.java \
+ $dir/gridsim/datagrid/*.java \
+ $dir/gridsim/datagrid/filter/*.java \
+ $dir/gridsim/datagrid/index/*.java \
+ $dir/gridsim/datagrid/storage/*.java
+
+echo "javadoc is done ...."
+
Deleted: branches/gssim/trunk/javadoc.sh
===================================================================
--- branches/gssim/trunk/javadoc.sh 2008-08-20 13:09:36 UTC (rev 225)
+++ branches/gssim/trunk/javadoc.sh 2008-08-20 13:11:04 UTC (rev 226)
@@ -1,33 +0,0 @@
-
-## A script to run javadoc (Anthony Sept 2004).
-
-year="2007" # year
-ver="v4.1" # version number
-
-dir=./source # source directory that contains Java files
-doc=./doc # output directory
-
-# Only creates GridSim javadoc.
-javadoc -author -version -package -noqualifier java.* \
- -windowtitle 'GridSim '$ver' API Specification' \
- -doctitle '<b>GridSim</b> '$ver' API Specification' \
- -header '<b>GridSim</b><br><font size='-1'>'$ver'</font>' \
- -bottom 'The University of Melbourne, Australia, '$year \
- -d $doc -breakiterator \
- -tag pre:a:"Pre Condition:" \
- -tag post:a:"Post Condition:" \
- -tag invariant:t:"Invariant:" \
- $dir/gridsim/*.java \
- $dir/gridsim/util/*.java \
- $dir/gridsim/net/*.java \
- $dir/gridsim/filter/*.java \
- $dir/gridsim/index/*.java \
- $dir/gridsim/resFailure/*.java \
- $dir/gridsim/auction/*.java \
- $dir/gridsim/datagrid/*.java \
- $dir/gridsim/datagrid/filter/*.java \
- $dir/gridsim/datagrid/index/*.java \
- $dir/gridsim/datagrid/storage/*.java
-
-echo "javadoc is done ...."
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 13:09:27
|
Revision: 225
http://gridsim.svn.sourceforge.net/gridsim/?rev=225&view=rev
Author: mkrystek
Date: 2008-08-20 13:09:36 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
Added Paths:
-----------
branches/gssim/source/
Removed Paths:
-------------
branches/gssim/trunk/source/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 13:07:55
|
Revision: 224
http://gridsim.svn.sourceforge.net/gridsim/?rev=224&view=rev
Author: mkrystek
Date: 2008-08-20 13:08:05 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
Added Paths:
-----------
branches/gssim/jars/
Removed Paths:
-------------
branches/gssim/trunk/jars/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 13:05:27
|
Revision: 223
http://gridsim.svn.sourceforge.net/gridsim/?rev=223&view=rev
Author: mkrystek
Date: 2008-08-20 13:05:34 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
Added Paths:
-----------
branches/gssim/examples/
Removed Paths:
-------------
branches/gssim/trunk/examples/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:31:36
|
Revision: 222
http://gridsim.svn.sourceforge.net/gridsim/?rev=222&view=rev
Author: mkrystek
Date: 2008-08-20 12:31:46 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:31:21
|
Revision: 221
http://gridsim.svn.sourceforge.net/gridsim/?rev=221&view=rev
Author: mkrystek
Date: 2008-08-20 12:31:31 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:31:05
|
Revision: 220
http://gridsim.svn.sourceforge.net/gridsim/?rev=220&view=rev
Author: mkrystek
Date: 2008-08-20 12:31:16 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:30:50
|
Revision: 219
http://gridsim.svn.sourceforge.net/gridsim/?rev=219&view=rev
Author: mkrystek
Date: 2008-08-20 12:31:00 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:30:35
|
Revision: 218
http://gridsim.svn.sourceforge.net/gridsim/?rev=218&view=rev
Author: mkrystek
Date: 2008-08-20 12:30:45 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:30:21
|
Revision: 217
http://gridsim.svn.sourceforge.net/gridsim/?rev=217&view=rev
Author: mkrystek
Date: 2008-08-20 12:30:29 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:30:03
|
Revision: 216
http://gridsim.svn.sourceforge.net/gridsim/?rev=216&view=rev
Author: mkrystek
Date: 2008-08-20 12:30:11 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:27:22
|
Revision: 215
http://gridsim.svn.sourceforge.net/gridsim/?rev=215&view=rev
Author: mkrystek
Date: 2008-08-20 12:27:32 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:27:04
|
Revision: 214
http://gridsim.svn.sourceforge.net/gridsim/?rev=214&view=rev
Author: mkrystek
Date: 2008-08-20 12:27:14 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:26:47
|
Revision: 213
http://gridsim.svn.sourceforge.net/gridsim/?rev=213&view=rev
Author: mkrystek
Date: 2008-08-20 12:26:57 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:26:32
|
Revision: 212
http://gridsim.svn.sourceforge.net/gridsim/?rev=212&view=rev
Author: mkrystek
Date: 2008-08-20 12:26:39 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:26:12
|
Revision: 211
http://gridsim.svn.sourceforge.net/gridsim/?rev=211&view=rev
Author: mkrystek
Date: 2008-08-20 12:26:22 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:25:54
|
Revision: 210
http://gridsim.svn.sourceforge.net/gridsim/?rev=210&view=rev
Author: mkrystek
Date: 2008-08-20 12:26:04 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:25:34
|
Revision: 209
http://gridsim.svn.sourceforge.net/gridsim/?rev=209&view=rev
Author: mkrystek
Date: 2008-08-20 12:25:43 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:25:16
|
Revision: 208
http://gridsim.svn.sourceforge.net/gridsim/?rev=208&view=rev
Author: mkrystek
Date: 2008-08-20 12:25:26 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:24:58
|
Revision: 207
http://gridsim.svn.sourceforge.net/gridsim/?rev=207&view=rev
Author: mkrystek
Date: 2008-08-20 12:25:08 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:24:43
|
Revision: 206
http://gridsim.svn.sourceforge.net/gridsim/?rev=206&view=rev
Author: mkrystek
Date: 2008-08-20 12:24:53 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:23:12
|
Revision: 205
http://gridsim.svn.sourceforge.net/gridsim/?rev=205&view=rev
Author: mkrystek
Date: 2008-08-20 12:23:22 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
Added Paths:
-----------
branches/gssim/build.xml
Removed Paths:
-------------
branches/gssim/trunk/build.xml
Copied: branches/gssim/build.xml (from rev 204, branches/gssim/trunk/build.xml)
===================================================================
--- branches/gssim/build.xml (rev 0)
+++ branches/gssim/build.xml 2008-08-20 12:23:22 UTC (rev 205)
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+
+<!-- September 2004
+Build file or Makefile for GridSim.
+NOTE: Make sure you have installed 'ant' and put the location of it into
+ your path so you can access it anywhere.
+ 'ant' can be downloadable from http://ant.apache.org/
+
+Usage:
+* type 'ant' to compile all gridsim source files and put them into
+ classes/ directory
+* type 'ant makejar' to compile the source files (if necessary) and to create
+ a jar file into jar/ directory
+
+NOTE: rule for javadoc is not included yet. Use javadoc.sh script instead under
+ Unix/Linux environment.
+
+Acknowledgement: Thank to Uros Cibej for providing this file and instruction on
+ how to use it.
+-->
+
+
+<project name="GridSim" basedir="." default="build">
+ <description>
+ This is the build file for GridSim
+ </description>
+
+ <!-- location to store Java classes -->
+ <property name="class.dir" location="./classes" />
+
+ <!-- location to store GridSim source files -->
+ <property name="src.dir" location="./source/gridsim" />
+
+ <!-- location to store jar files -->
+ <property name="jar.dir" location="./jars" />
+
+ <!-- location to store Javadoc files -->
+ <property name="doc.dir" location="./doc" />
+
+ <!-- location to use SimJava libraries -->
+ <property name="classpath" location="${jar.dir}/simjava2.jar" />
+
+
+
+ <target name="prepare">
+ <mkdir dir="${class.dir}" />
+ </target>
+
+ <!-- rule to compile GridSim source files -->
+ <target name="build" depends="prepare">
+ <javac srcdir="${src.dir}" destdir="${class.dir}" classpath="${classpath}" />
+ </target>
+
+ <!-- rule for making a jar file.
+ NOTE:
+ * The new jar file is named as "new_gridsim.jar" to avoid overriding
+ the existing jar file.
+ * The new jar file only contains gridsim classes NOT SimJava2.
+ -->
+ <target name="makejar" depends="build">
+ <echo>Compiling a new jar file, named: "new_gridsim.jar".</echo>
+ <echo>This jar file only contains GridSim classes but not SimJava2.</echo>
+ <jar destfile="${jar.dir}/new_gridsim.jar" basedir="${class.dir}" />
+ </target>
+
+</project>
+
+
Deleted: branches/gssim/trunk/build.xml
===================================================================
--- branches/gssim/trunk/build.xml 2008-08-20 12:19:46 UTC (rev 204)
+++ branches/gssim/trunk/build.xml 2008-08-20 12:23:22 UTC (rev 205)
@@ -1,68 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- September 2004
-Build file or Makefile for GridSim.
-NOTE: Make sure you have installed 'ant' and put the location of it into
- your path so you can access it anywhere.
- 'ant' can be downloadable from http://ant.apache.org/
-
-Usage:
-* type 'ant' to compile all gridsim source files and put them into
- classes/ directory
-* type 'ant makejar' to compile the source files (if necessary) and to create
- a jar file into jar/ directory
-
-NOTE: rule for javadoc is not included yet. Use javadoc.sh script instead under
- Unix/Linux environment.
-
-Acknowledgement: Thank to Uros Cibej for providing this file and instruction on
- how to use it.
--->
-
-
-<project name="GridSim" basedir="." default="build">
- <description>
- This is the build file for GridSim
- </description>
-
- <!-- location to store Java classes -->
- <property name="class.dir" location="./classes" />
-
- <!-- location to store GridSim source files -->
- <property name="src.dir" location="./source/gridsim" />
-
- <!-- location to store jar files -->
- <property name="jar.dir" location="./jars" />
-
- <!-- location to store Javadoc files -->
- <property name="doc.dir" location="./doc" />
-
- <!-- location to use SimJava libraries -->
- <property name="classpath" location="${jar.dir}/simjava2.jar" />
-
-
-
- <target name="prepare">
- <mkdir dir="${class.dir}" />
- </target>
-
- <!-- rule to compile GridSim source files -->
- <target name="build" depends="prepare">
- <javac srcdir="${src.dir}" destdir="${class.dir}" classpath="${classpath}" />
- </target>
-
- <!-- rule for making a jar file.
- NOTE:
- * The new jar file is named as "new_gridsim.jar" to avoid overriding
- the existing jar file.
- * The new jar file only contains gridsim classes NOT SimJava2.
- -->
- <target name="makejar" depends="build">
- <echo>Compiling a new jar file, named: "new_gridsim.jar".</echo>
- <echo>This jar file only contains GridSim classes but not SimJava2.</echo>
- <jar destfile="${jar.dir}/new_gridsim.jar" basedir="${class.dir}" />
- </target>
-
-</project>
-
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mkr...@us...> - 2008-08-20 12:19:36
|
Revision: 204
http://gridsim.svn.sourceforge.net/gridsim/?rev=204&view=rev
Author: mkrystek
Date: 2008-08-20 12:19:46 +0000 (Wed, 20 Aug 2008)
Log Message:
-----------
Added Paths:
-----------
branches/gssim/trunk/
branches/gssim/trunk/.classpath
branches/gssim/trunk/.project
Added: branches/gssim/trunk/.classpath
===================================================================
--- branches/gssim/trunk/.classpath (rev 0)
+++ branches/gssim/trunk/.classpath 2008-08-20 12:19:46 UTC (rev 204)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="source"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="jars/simjava2.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: branches/gssim/trunk/.project
===================================================================
--- branches/gssim/trunk/.project (rev 0)
+++ branches/gssim/trunk/.project 2008-08-20 12:19:46 UTC (rev 204)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>gridsiim_svn</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|