hi, I'm a beginner and now working for virtual network embedding, can u give me some reference or source code in virtual network embedding? If u have, please, I need it.regards
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
package org.cloudbus.cloudsim.examples;import java.util.List;import org.cloudbus.cloudsim.DatacenterBroker;import org.cloudbus.cloudsim.DatacenterCharacteristics;import org.cloudbus.cloudsim.Log;import org.cloudbus.cloudsim.Vm;import org.cloudbus.cloudsim.core.CloudSim;import org.cloudbus.cloudsim.core.CloudSimTags;import org.cloudbus.cloudsim.core.SimEvent;public class RoundRobinDatacenterBroker extends DatacenterBroker {public RoundRobinDatacenterBroker(String name) throws Exception {super(name);}@Overrideprotected void processResourceCharacteristics(SimEvent ev) {DatacenterCharacteristics characteristics = (DatacenterCharacteristics) ev.getData();getDatacenterCharacteristicsList().put(characteristics.getId(), characteristics);if (getDatacenterCharacteristicsList().size() == getDatacenterIdsList().size()) {createVmsInDatacenter(getDatacenterIdsList());}};protected void createVmsInDatacenter(List<Integer> datacenterIds) {// send as much vms as possible for this datacenter before trying the next oneint requestedVms = 0;int i = 0;for (Vm vm : getVmList()) {int datacenterId = datacenterIds.get(i++ % datacenterIds.size());String datacenterName = CloudSim.getEntityName(datacenterId);if (!getVmsToDatacentersMap().containsKey(vm.getId())) {Log.printLine(CloudSim.clock() + ": " + getName() + ": Trying to Create VM #" + vm.getId() + " in " + datacenterName);sendNow(datacenterId, CloudSimTags.VM_CREATE_ACK, vm);requestedVms++;}}setVmsRequested(requestedVms);setVmsAcks(0);};}
Is there any error please modify it and send me again.
Thanx.
--
--
--
Hi All,We've just released a new version of CloudSim: 3.0.1. This is mainly a bug fix release. The following updates have been made:- Made the CloudletSchedulerTimeShared.getCapacity method protected, to facilitate the development of new cloudlet schedulers.- Fixed in PeList: problem in the generics declaration.- Fixed Issue #40: Inconsistencies on the return of Cloudlet.isCloudletFinished() and the Cloudlet status.- Fixed Issue #35: Default behaviour of Cloudlet may lead to unnecessary usage of heap space.- Fixed bug when searching for Cloudlets to cancel in cloudletSchedulerTimeshared- Fixed Issue #34: Call getVm(vmId, userId) Function had swaped parameters in several parts of the Datacenter class.- Fixed misleading comment on Example 4 that said that capacity of created VMs were different.- Fixed comment on example 2, which said that MIPS requirements were different. Actually, they are the same.- Fixed the ant building problem: added Flanagan's library to the classpath; updated the readme.txtThe new version can be downloaded from the usual place: http://code.google.com/p/cloudsim/downloads/listIf you find any new issues, please submit bug reports: http://code.google.com/p/cloudsim/issues/listEnjoy!Best regards,The CloudSim Team
hello siri am Deepak studying M.Tech degree
thankscan you tell me some cloud computing problems which are never implemented before or hint me something which is new so that i will able to found the problem easilyplease help me someone
----
--
--
--
--
Hi Sowmia,
badis--
Badis
--
--
--
Hi soumeni answered instead Anton, i apologize. if u want to write for eg. SJF u should change policy of the broker. in cloudsim, the broker policy is compeletely abstract. u can work on broker policy in this way that this entity, sort the jobs in short to long the submit them to hosts to executing. for vms on hosts the cloudsim both apply RR and FCFS so u can use one of them.CheersNedaOn Thu, Jan 17, 2013 at 10:31 PM, Soumen Santra <soum...@gmail.com> wrote:
Hi,Anton,
Actually I want to implement FCFS or shortest job first or roundrobin scheduling algorithm.But I don't know where I write down the code.Please send me any one of the above mentioned code and the process how to run that?please help me out.
On Thu, Jan 17, 2013 at 3:26 AM, Anton Beloglazov <anton.be...@gmail.com> wrote:
Hi Soumen,What do you mean by changed code?Best regards,AntonOn Thu, Jan 17, 2013 at 4:59 AM, Soumen Santra <soum...@gmail.com> wrote:
Dear Anton,
can you send changed code of any one of ur mentioned example??pls help me out.
On Tue, Jan 15, 2013 at 4:52 AM, Anton Beloglazov <anton.be...@gmail.com> wrote:
Hi Soumen,As I wrote earlier, there are a few options to implement algorithms, for example:1. Distributing requests for creating new VMs across data centers -> DatacenterBroker2. Allocating application requests (cloudlets) to VMs -> DatacenterBroker3. Placing VMs on physical hosts inside a data center -> VmAllocationPolicy4. Scheduling VMs on a host -> VmScheduler5. Scheduling cloudlets within a VM -> CloudletSchedulerBest regards,AntonOn Tue, Jan 15, 2013 at 5:30 AM, Soumen Santra <soum...@gmail.com> wrote:
Hi,Anton,
I want to implement a dynamic algorithm to balancing the load in VMs.If u have any codes please send me.Or tell me how to do this.In which class I should change the source code and how?Please help me out.
On Mon, Jan 14, 2013 at 3:32 AM, Anton Beloglazov <anton.be...@gmail.com> wrote:
Hi Soumen,
First of all, what exactly does you algorithm do? Allocates VMs to hosts? Or cloudlets to VMs?Best regards,AntonOn Mon, Jan 14, 2013 at 5:48 AM, Soumen Santra <soum...@gmail.com> wrote:
Hi,Anton
thanx but i understood all these examples.But where I attached my code.I am a beginner with cloudsim so can u send me ur mail once again.can u elaborate the steps how to write my new algorithm code and where?pls help me out.
On Sun, Jan 13, 2013 at 5:05 AM, Anton Beloglazov <anton.be...@gmail.com> wrote:
------------------Hi Soumen,Please see the pointers to where to implement algorithms in my previous email. In regard to examples, please see the examples included in the CloudSim package:Best regards,AntonOn Sun, Jan 13, 2013 at 6:30 AM, soumen santra <soum...@gmail.com> wrote:
Dear Anton,
I want to write a new algorithm for dynamic load balancing.Pls tell me where I write the code.If u have any example of code then pls send me.I think about roundrobin but I can't understand where I import this code.pls help me out.
On Saturday, October 27, 2012 4:41:49 AM UTC+5:30, Anton Beloglazov wrote:--Hi Soumen,There are a few options:1. Distributing requests for new VM across data centers -> DatacenterBroker2. Allocating application requests (cloudlets) to VMs -> DatacenterBroker3. Placing VMs on physical hosts inside a data center -> VmAllocationPolicyBest regards,AntonOn Sat, Oct 27, 2012 at 7:12 AM, Soumen Santra <soum...@gmail.com> wrote:
Dear Anton,
Hi, I am working on cloud , try to create a dynamic load balancing algorithm. I would like to know how can I simulate this idea in cloudsim?
With RegardsOn Fri, Oct 26, 2012 at 3:56 AM, Anton Beloglazov <anton.be...@gmail.com> wrote:
--Hi Fazel,I'm still not exactly sure what you need, but you can simulate multiple Clouds as multiple data centers, and manager request allocation across them by extending the DatacenterBroker class.Best regards,AntonOn Thu, Oct 25, 2012 at 5:46 PM, m fazel <fazel...@gmail.com> wrote:
Dear Anton,
Actually I am working on cloud @ home to implement interoperability among clouds. I would like to know how can I simulate this idea in cloudsim?
thanks for attention.
With Regards
--
--
--
--
---
You received this message because you are subscribed to the Google Groups "cloudsim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Cong,I'm not familiar with virtual network embedding, but I suggest you to have a look at the network package of CloudSim and the corresponding examples. You may be able to use some of that code for your purposes. The network package is described in the following paper:Anton--On Mon, Oct 22, 2012 at 1:50 PM, Cong Wang <cong...@gmail.com> wrote:hi, I'm a beginner and now working for virtual network embedding, can u give me some reference or source code in virtual network embedding? If u have, please, I need it.regards--
Hi All,We've just released a new version of CloudSim: 3.0.1. This is mainly a bug fix release. The following updates have been made:- Made the CloudletSchedulerTimeShared.getCapacity method protected, to facilitate the development of new cloudlet schedulers.
- Fixed PeList: problem in the generics declaration.
Hi All,We've just released a new version of CloudSim: 3.0.1. This is mainly a bug fix release. The following updates have been made:- Made the CloudletSchedulerTimeShared.getCapacity method protected, to facilitate the development of new cloudlet schedulers.
- Fixed in PeList: problem in the generics declaration.
--
---
You received this message because you are subscribed to a topic in the Google Groups "cloudsim" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cloudsim/scWcKGr06R8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cloudsim+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi All,We've just released a new version of CloudSim: 3.0.1. This is mainly a bug fix release. The following updates have been made:- Made the CloudletSchedulerTimeShared.getCapacity method protected, to facilitate the development of new cloudlet schedulers.- Fixed in PeList: problem in the generics declaration.- Fixed Issue #40: Inconsistencies on the return of Cloudlet.isCloudletFinished() and the Cloudlet status.- Fixed Issue #35: Default behaviour of Cloudlet may lead to unnecessary usage of heap space.- Fixed bug when searching for Cloudlets to cancel in cloudletSchedulerTimeshared- Fixed Issue #34: Call getVm(vmId, userId) Function had swaped parameters in several parts of the Datacenter class.- Fixed misleading comment on Example 4 that said that capacity of created VMs were different.- Fixed comment on example 2, which said that MIPS requirements were different. Actually, they are the same.- Fixed the ant building problem: added Flanagan's library to the classpath; updated the readme.txtThe new version can be downloaded from the usual place: http://code.google.com/p/cloudsim/downloads/listIf you find any new issues, please submit bug reports: http://code.google.com/p/cloudsim/issues/listEnjoy!Best regards,The CloudSim Team
Hello,VmAllocationPolicy is responsible for finding a host to place a new VM on using the allocateHostForVm method. Another method, optimizeAllocation, is responsible for adapting the current placement of VMs. The optimizeAllocation method can be called from the updateCloudletProcessing method of the Datacenter class (currently, this is only done for PowerDatacenter, but you can easily add this to the Datacenter class by modifying or extending it). The optimizeAllocation method accepts a list of VMs as an argument, and is supposed to return a migration map - a list of mappings between VMs selected for migration and destination hosts. Please see the subclasses of VmAllocationPolicy included in the power package as examples. Please also have a look at the updateCloudletProcessing method of the Datacenter class for an example of initiating VM migrations according to the received migration map.To use your own VM placement / load balancing / consolidation algorithms, you just need to extend the VmAllocationPolicy class and implement your algorithms as the methods described above.Best regards,AntonOn Tue, Nov 6, 2012 at 2:37 PM, ajithex <aji...@gmail.com> wrote:
Dear Anton,Can you tell us more about the VmAllocationPolicy for using dynamic load balancing algorithm.Many users in this group want to know about this.Everyone wants to apply their own load balancing algorithm specially on vmallocation policy.If you can describe us with short of example that will be very thankful.Looking forward for a favourable reply.--
On Saturday, October 27, 2012 4:41:49 AM UTC+5:30, Anton Beloglazov wrote:Hi Soumen,There are a few options:1. Distributing requests for new VM across data centers -> DatacenterBroker2. Allocating application requests (cloudlets) to VMs -> DatacenterBroker3. Placing VMs on physical hosts inside a data center -> VmAllocationPolicyBest regards,AntonOn Sat, Oct 27, 2012 at 7:12 AM, Soumen Santra <soum...@gmail.com> wrote:
Dear Anton,
Hi, I am working on cloud , try to create a dynamic load balancing algorithm. I would like to know how can I simulate this idea in cloudsim?
With RegardsOn Fri, Oct 26, 2012 at 3:56 AM, Anton Beloglazov <anton.be...@gmail.com> wrote:
--Hi Fazel,I'm still not exactly sure what you need, but you can simulate multiple Clouds as multiple data centers, and manager request allocation across them by extending the DatacenterBroker class.Best regards,AntonOn Thu, Oct 25, 2012 at 5:46 PM, m fazel <fazel...@gmail.com> wrote:
Dear Anton,
Actually I am working on cloud @ home to implement interoperability among clouds. I would like to know how can I simulate this idea in cloudsim?
thanks for attention.
With Regards
--
--
--
---
You received this message because you are subscribed to a topic in the Google Groups "cloudsim" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cloudsim/scWcKGr06R8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cloudsim+unsubscribe@googlegroups.com.
Hi Divya,Events are differentiated by tags. When you send an event, you specify the ID of the receiver. When it receives the event, it checks the tag to determine the event type. Then, the method for handling that type of events should be called.Best regards,AntonOn Wed, Jan 30, 2013 at 5:01 AM, divya B <divyabo...@gmail.com> wrote:
dear siri want to send an event from datacenter to datacenterand one more for datacenter to broker.we have send method which include getid, delay , tag,data.then how i came to know where this event is scheduled.how to differentiated a internal event and external event .sorry if i asked silly questionthanks--
---
You received this message because you are subscribed to the Google Groups "cloudsim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You need to install it: http://ant.apache.org/manual/install.htmlBest regards,AntonOn Tue, Jan 22, 2013 at 8:34 PM, Sowmia Ramu <sowmia...@gmail.com> wrote:
Hi Anton,I have downloaded Ant but am confused in which part of the cloudsim directory I should place it.Thanks & Regards,Sowmia Ramu.--