<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/gridsim/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/gridsim/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/gridsim/bugs/</id><updated>2014-02-26T13:41:37.899000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>GridSim [Want to change scheduling]</title><link href="https://sourceforge.net/p/gridsim/bugs/5/" rel="alternate"/><published>2014-02-26T13:41:37.899000Z</published><updated>2014-02-26T13:41:37.899000Z</updated><author><name>Faisal Haroon</name><uri>https://sourceforge.net/u/faisalharoon-4/</uri></author><id>https://sourceforge.net81410ecf693a0cfef9f54600c941491916b77ef4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i donot know where to join gridsim discussion forum thats why i put my query here.&lt;/p&gt;
&lt;p&gt;i am working on my MS thesis. kindly guide me how i can change schedule i.e. now its using FCFS and i want to change with shortest job first. kindly suggest me how to do this.&lt;br /&gt;
i have reviewed the basic 10 examples of grid sim.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Faisal&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GridSim version</title><link href="https://sourceforge.net/p/gridsim/bugs/4/" rel="alternate"/><published>2008-02-20T09:57:43Z</published><updated>2008-02-20T09:57:43Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net99abe0b61e23fd20ca2fe896454262e5f954d5a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In the GridSim.java there was left old code:&lt;/p&gt;
&lt;p&gt;public static void startGridSimulation() throws NullPointerException&lt;br /&gt;
{&lt;br /&gt;
System.out.println("Starting GridSim version 4.0");&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;which result in little confusing outputs - I was not sure if I am using GridSim 4.0 or new 4.1 version :-)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dalibor Klusacek&lt;br /&gt;
xklusac@fi.muni.cz&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gridlet history is created regardless the value of traceFlag</title><link href="https://sourceforge.net/p/gridsim/bugs/3/" rel="alternate"/><published>2008-01-15T03:32:44Z</published><updated>2008-01-15T03:32:44Z</updated><author><name>Marcos Dias de Assuncao</name><uri>https://sourceforge.net/u/userid-1411937/</uri></author><id>https://sourceforge.netc90a3e28954713bcccb7fa69081f798b2d5e29a7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is a bug in the Workload class. When using this class to read a workload trace and create Gridlets, the Gridlets are created with the record history option set to true, regardless the value passed as traceFlag in the GridSim.init() methods.&lt;/p&gt;
&lt;p&gt;At workload class contains:&lt;br /&gt;
protected void submitGridlet(int id, long submitTime, &lt;br /&gt;
int runTime, int numProc) {&lt;br /&gt;
// create the gridlet&lt;br /&gt;
int len = runTime * rating_;      // calculate a job length for each PE&lt;br /&gt;
Gridlet gl = new Gridlet(id, len, size_, size_);&lt;br /&gt;
...&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;While the Gridlet class contains:&lt;/p&gt;
&lt;p&gt;public Gridlet(int gridletID, double gridletLength,&lt;br /&gt;
long gridletFileSize, long gridletOutputSize) {&lt;br /&gt;
this(gridletID, gridletLength, gridletFileSize, gridletOutputSize, 0);&lt;br /&gt;
this.record_ = true;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;The history of a Gridlet is stored in an attribute of StringBuffer type. Once the simulation is complete, each history has a size of approximately 670 bytes. This becomes a memory bottleneck for simulations with a large number of jobs. As GridSim is supposed to be a Grid simulator, that scenario is not unlikely.&lt;/p&gt;
&lt;p&gt;Therefore, Workload class should read the value of traceFlag and generate the history of Gridlets only when the user requests it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Wrong value is returned</title><link href="https://sourceforge.net/p/gridsim/bugs/2/" rel="alternate"/><published>2007-10-04T18:51:44Z</published><updated>2007-10-04T18:51:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd4d27d6fa3df09cb092c7ff9ee53bfd01318f362</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The method gridsim.Accumulator.getStandardDeviation() returns the value of variance, not a standard deviation. It would be preferable to rename this method to "getVariance()" and implement the "getStandardDeviation()" as:&lt;/p&gt;
&lt;p&gt;public double getStandardDeviation() {&lt;br /&gt;
return Math.sqrt(getVariance());&lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;Stanislaw Szczepanowski&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Size of a reply to a query for free/busy times</title><link href="https://sourceforge.net/p/gridsim/bugs/1/" rel="alternate"/><published>2007-09-22T02:10:43Z</published><updated>2007-09-22T02:10:43Z</updated><author><name>Marcos Dias de Assuncao</name><uri>https://sourceforge.net/u/userid-1411937/</uri></author><id>https://sourceforge.net0e676d78e925e811fee72dcb1dc8dfba5a2dfbc7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The method replyTimeReservation(int,  int, ArrayList, double) of the class ARPolicy may not provide the proper size of a reply to query for free or busy periods.&lt;/p&gt;
&lt;p&gt;The size is calculated correctly in the following snippet of code:&lt;/p&gt;
&lt;p&gt;int size = SIZE;&lt;br /&gt;
if (result != null) {&lt;br /&gt;
size = (4*8) + result.size();  // 3 longs + array size + overheads&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;However, the reply is sent in the following manner:&lt;/p&gt;
&lt;p&gt;super.sim_schedule(super.outputPort_,0,GridSimTags.RETURN_AR_QUERY_TIME, new IO_data(array, SIZE, destID) );&lt;/p&gt;
&lt;p&gt;Therefore, if the result is not null, the message size provided will be incorrect.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Marcos&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>