ishitab / cloudsim

Automatically exported from code.google.com/p/cloudsim
0 stars 0 forks source link

SanStorage confused #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Through reading the source code of CloudSim,an issue confused me for a long 
time,in the SanStorage class, method in addFile   file.getSize() * bandwidth 
why not file.getSize() /bandwidth

best regards. 

Please provide any additional information below.

public double addFile(File file) {
        double time = super.addFile(file);

        time += networkLatency;
        time += file.getSize() * bandwidth;

        return time;
    }

Original issue reported on code.google.com by tanya33k...@gmail.com on 19 Feb 2012 at 3:03

GoogleCodeExporter commented 8 years ago

Original comment by rodrigo.calheiros on 22 Feb 2012 at 10:35

GoogleCodeExporter commented 8 years ago

Original comment by rodrigo.calheiros on 22 Feb 2012 at 10:37

GoogleCodeExporter commented 8 years ago

Original comment by rodrigo.calheiros on 14 Jan 2013 at 11:11

GoogleCodeExporter commented 8 years ago
I think also that this is a rearly bug. can you please check. The correct time 
should be calculated with time(sec)= filesize(byte) / bandwidth (byte/sec) 

Original comment by jrad.fo...@googlemail.com on 4 Feb 2013 at 4:46