Questions tagged [cloudsim]

CloudSim is a framework for modeling and simulation of Cloud Computing Infrastructures and Services.

94 questions
0
votes
2 answers

how does (int)exp.sample() work in the code?

ExponentialDistribution exp = new ExponentialDistribution(4.0); for(int i = 1; i < 20; i++){ timestamp[i] = (int)exp.sample() + 1+timestamp[i-1]; Here timestamp is an array of integers and a random value is assigned to it with…
0
votes
1 answer

how to change scheduling policy in cloudsim?

I want to change the default scheduling policy of cloudsim which is FCFS. To update the default policy, i need to make changes in submitCloudlets() method of DatacenterBroker class or also need to update few other methods ??
geeky
  • 1
  • 2
0
votes
0 answers

cloudsim: How to compile source classes?

how i should compile and build classes of the sources folder!! (example datacenter.java or cloudlet.java .... ) To test ANT, I just extracted cloudsim from .zip and try to build without making any changes in any file. I followed the instructions of…
geeky
  • 1
  • 2
0
votes
1 answer

CloudSim: need way to introduce performance degradation in VMs at certain simulation time

In Cloudsim, I need to introduce SLA violation at a particular time of the simulation e.g. from 600 to 1200 and from 2400 to 4000 (just an example). Such SLA violation needs to show a shortfall of mips from 600-1200 and 2400-4000 simulation times so…
0
votes
1 answer

Cloudsim: Update VM

I am working on an algorithm to select the VM for deploying the Cloudlet(task). Now, I need to update the VM's current allocated ram whenever a cloudlet finished it's execution. I don't know where I need to do this. I tried this in…
Gokul
  • 3,101
  • 4
  • 27
  • 45
0
votes
0 answers

java profiling for cloudsim

I am simulating a very large trace file from Google data using CloudSim. The simulations takes very very long time to complete (Simulating one day data needs 2 days to complete and simulation 3 days data takes more than 15 days). I profiled my code…
0
votes
1 answer

CloudSim: Adding components

All! Now, I'm designing a cloud storage simulation using CloudSim, but wondering that CloudSim provides a function to write data on a physical disk. If not, where do I add the component?
0
votes
1 answer

CloudSim: Monitoring Vm Cpu Utilization and BW Utilization in constant intervals

In CloudSim package, I want to monitor Cpu utilization and bandwidth utilization of each vm in constant intervals (for example every 5 min) when vms are running cloudlets. How can I do it? Thanks
M_R
  • 1
  • 1
  • 1
0
votes
1 answer

Cloudsim Physical Machine Creation

Is it possible to create a new physical machine in the VmAllocationPolicy file? Usually it is done while creating datacenter.But i wanted to add one during VM Allocation if none of the existing Physical machine can accommodate the VM.
user3753682
  • 187
  • 4
  • 13
-1
votes
1 answer

How can I fix the following problem regarding the variable?

I have a class and inside it there is a baseDir variable which has been defined as follows: public class experiment { for (int exp = 0; exp < experimentCnt; exp++) { String dirString = config.getClass().getSimpleName() + "_" +…
Hami
  • 101
  • 2
  • 8
-1
votes
1 answer

How to fix - Exception in thread "main" java.lang.NullPointerException - in Eclipse

I wanted to create Cloudsim simulation in Eclipse IDE. I have make sure there is no significant error that should gives problem to the program. But when I run the program, this issue appear. Exception in thread "main"…
-1
votes
1 answer

Elasticity with cloudsim

I'm working on a task scheduling method for cloud computing, the problem is l wanna create VMs during the run time in order to have elasticity and decrease the task rejection rate, but I dont know how to do this and where should I put the code for…
-1
votes
1 answer

How to implement retry FTT in cloudsim using No optimization algorithm?

Please help me in modifying algorithm for retry? is this algorithm makes sense ? Is it ok our need changes ? plz guide ?
Fahad Khan
  • 35
  • 6
-1
votes
1 answer

CloudReports (Cloudsim Extension) on Cloudlet migrations gives error Null Exception

I'm Kind new in Cloudsim and CloudReports Extension so i don't know why when running the CloudReports simulator it gives this Error: nullpointerexception at org.cloudbus.cloudsim.power.powerdatacenter.processcloudletsubmit(powerdatacenter.java:269)…
appy
  • 1
  • 3
-1
votes
1 answer

how to call optimizeAllocation to migrate vms in cloudsim

i m working on cloudsim to implement an genetic algorithm to find the optimal placement of vms in hosts. in the begening i need to put vms randomly ( i created a class that extends from VmAllocationPolicy ) then i need to optimize vm allocation by…