malawski / cloudworkflowsimulator

Other
24 stars 20 forks source link

WADPDS provisioning bug #121

Closed Mequrel closed 8 years ago

Mequrel commented 10 years ago

mequrel@mequrel-VirtualBox:~/cloudworkflowsimulator$ ./scripts/runners/run_simulation_locally.sh "--application GENOME --input-dir ../cws-testy/ --output-file simulation/wadpdsglobal --distribution pareto_unsorted --algorithm WADPDS --storage-manager global --ensemble-size 2 --storage-manager-read=30000000 --storage-manager-write=10000000" simulation/wadpdsglobal

.......... ..WARNING: Cost exceeded budget: 31.0>30.444444444444443 deadline: 21902.88888888889 ...WARNING: Cost exceeded budget: 31.0>30.444444444444443 deadline: 29564.555555555562 ..... .......... .......... .....WARNING: Cost exceeded budget: 44.0>43.77777777777777 deadline: 29564.555555555562 ..... .......... .......... .WARNING: Cost exceeded budget: 58.0>57.1111111111111 deadline: 19349.0 .......WARNING: Cost exceeded budget: 58.0>57.1111111111111 deadline: 37226.22222222223 .. .........Exception in thread "main" java.lang.RuntimeException: Utilization is not >= 0.0 at cws.core.provisioner.SimpleUtilizationBasedProvisioner.provisionResources(Unknown Source) at cws.core.WorkflowEngine.processEvent(Unknown Source) at cws.core.cloudsim.CWSSimEntity.processEvent(Unknown Source) at org.cloudbus.cloudsim.core.SimEntity.run(SimEntity.java:406) at org.cloudbus.cloudsim.core.CloudSim.runClockTick(CloudSim.java:518) at org.cloudbus.cloudsim.core.CloudSim.run(CloudSim.java:882) at org.cloudbus.cloudsim.core.CloudSim.startSimulation(CloudSim.java:188) at cws.core.cloudsim.CloudSimWrapper.startSimulation(Unknown Source) at cws.core.algorithms.DynamicAlgorithm.simulateInternal(Unknown Source) at cws.core.algorithms.Algorithm.simulate(Unknown Source) at cws.core.simulation.Simulation.runTest(Unknown Source) at cws.core.simulation.Simulation.main(Unknown Source)

aciepiela commented 8 years ago

This was addressed by: https://github.com/malawski/cloudworkflowsimulator/pull/151 (dividing int by int issue)