Cloudsim output

1,666 views
Skip to first unread message

Francis Owusu

unread,
Dec 1, 2011, 6:42:06 AM12/1/11
to cloudsim
Hi
I'm new to cloudsim and would like to know the output of cloudsim and
if there is a file that is created for the output. If I run
example1.java in Netbeans I get the following;

run:
Starting CloudSimExample1...
Initialising...
Starting CloudSim version 2.0
Datacenter_0 is starting...
Broker is starting...
Entities started.
0.0: Broker: Cloud Resource List received with 1 resource(s)
0.0: Broker: Trying to Create VM #0 in Datacenter_0
0.0: Broker: VM #0 has been created in Datacenter #2, Host #0
0.0: Broker: Sending cloudlet 0 to VM #0
400.0: Broker: Cloudlet 0 received
400.0: Broker: All Cloudlets executed. Finishing...
400.0: Broker: Destroying VM #0
Broker is shutting down...
Simulation: No more future events
CloudInformationService: Notify all CloudSim entities for shutting
down.
Datacenter_0 is shutting down...
Broker is shutting down...
Simulation completed.
Simulation completed.

========== OUTPUT ==========
Cloudlet ID STATUS Data center ID VM ID Time Start
Time Finish Time
0 SUCCESS 2 0 400 0
400
*****PowerDatacenter: Datacenter_0*****
User id Debt
3 35.6
**********************************
CloudSimExample1 finished!
BUILD SUCCESSFUL (total time: 0 seconds).

Is this the output from the simulation? Is there a file created for
this output.

Thanks for your help.
Francis

HARISH VADLA

unread,
Dec 1, 2011, 6:51:54 AM12/1/11
to clou...@googlegroups.com
No file will be created for the examples.
--
Regards
V.Harish

Francis Owusu

unread,
Dec 1, 2011, 8:25:42 AM12/1/11
to cloudsim
Thanks very much. Does it mean you use the output from Netbeans to
analyze your simulation? Do you have to modify the class files (import
files)to have your own simulation and output.

Thanks again

> V.Harish- Hide quoted text -
>
> - Show quoted text -

HARISH VADLA

unread,
Dec 1, 2011, 8:31:01 AM12/1/11
to clou...@googlegroups.com
yea you have modify some of the class definition. that depends upon the simulation you choosed. 
--
Regards
V.Harish

Francis Owusu

unread,
Dec 1, 2011, 10:35:26 AM12/1/11
to cloudsim
Thanks very much Harish.

Lohit Kapoor

unread,
Dec 3, 2011, 10:08:44 AM12/3/11
to clou...@googlegroups.com
how i can make federated datacenter in cloudsim?

bhaju

unread,
Apr 8, 2013, 5:32:12 AM4/8/13
to clou...@googlegroups.com
I have run cloudsim but I need to get graphical output showing performance of vm

madhu

unread,
Apr 8, 2013, 6:29:40 AM4/8/13
to clou...@googlegroups.com
go for cloudreports instead of cloudsim


On Mon, Apr 8, 2013 at 3:02 PM, bhaju <dhemant...@gmail.com> wrote:
I have run cloudsim but I need to get graphical output showing performance of vm


--
 
---
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.
 
 

S Vinitha

unread,
Apr 8, 2013, 8:40:50 AM4/8/13
to clou...@googlegroups.com

is it possible to calculate the time taken to upload and download a file in a private cloud using cloud sim .

sagana chinnathambi

unread,
Apr 8, 2013, 9:01:02 AM4/8/13
to clou...@googlegroups.com
if you know help me too
sgn

S Vinitha

unread,
Apr 8, 2013, 9:02:16 AM4/8/13
to clou...@googlegroups.com

my project is about adding security to a file stored in cloud. . do yo have any idea of how to simulate it. .

S Vinitha

unread,
Apr 8, 2013, 9:03:55 AM4/8/13
to clou...@googlegroups.com

if tats not possible. . i at least wanted to do some performance analysis. . i don have any idea to calculate upload time and download time for a file. . if tats possible i can do some analysis. . if yo find through someone. . pls help me

On Apr 8, 2013 6:31 PM, "sagana chinnathambi" <saga...@gmail.com> wrote:

mehdi hosseini

unread,
Apr 8, 2013, 5:11:30 PM4/8/13
to clou...@googlegroups.com
I'm designing an applet in order to show cpu utilization energy and power consumption, vm monitoring, cloudlet monitoring(allocated mips and elapsed length),etc. I will release the code in future. 

megha nayak

unread,
Apr 9, 2013, 12:06:57 AM4/9/13
to clou...@googlegroups.com
Could u pls share ur code wit me as it would help me in m research area.......thanks



Umar

unread,
Apr 9, 2013, 12:17:28 AM4/9/13
to clou...@googlegroups.com
Hi Francis,

if you look for a class called Helper.java, which is in org/cloudbus/examples/power, you will find this method which will output the results of the simulation into a CSV file for you.
public static void printResults


You could try and adapt that into your simulation some how.  I am using it in another class which is called from my simulation.


But if you're looking for an easier solution with better output then I would use Cloud Reports instead of CloudSim.  It is a GUI based cloud simulation tool which is built on top of CloudSim.

S Vinitha

unread,
Apr 9, 2013, 1:59:02 PM4/9/13
to clou...@googlegroups.com

cloud reports is a separate project right. . how to merge it with cloud sim. . if i want to run my cloud sim example 1 using cloud reports. . is it possible to do tat ?

--

S Vinitha

unread,
Apr 9, 2013, 2:00:02 PM4/9/13
to clou...@googlegroups.com

i want the output of cloud sim example 1 to be displayed in gui format using cloud reports. . . can we merge both the things.

Umar

unread,
Apr 9, 2013, 4:29:48 PM4/9/13
to clou...@googlegroups.com
Hi Maya,

I'm not sure how you could do that exactly.  Never attempted it myself.  Have you seen how many classes are involved in CloudReports?  This might be a difficult task to integrate it into the original CloudSim.  But there is something that I have noticed when I was using CloudReports several months ago.  It seems to use CloudSim as a library and CloudSim is just a single jar file.  You might be able to compress the original CloudSim-3.0.2 into a jar file and import it into CloudReports as a library.  Or you could copy all of the CloudSim classes into the CloudReports folder and see if that works.  But like I said, I have not attempted this before and so I don't know if any of these methods will work.



Best of luck.

Umar

S Vinitha

unread,
Apr 9, 2013, 9:05:06 PM4/9/13
to clou...@googlegroups.com

ya but even cloud reports  , i imported as a library into net beans . . .in tat same project, shall i import even cloud sim

S Vinitha

unread,
Apr 10, 2013, 8:13:31 AM4/10/13
to clou...@googlegroups.com

i have created a project in net beans , i imported cloudsim.jar file in it. . i also imported cloudreports . jar in tat. .  now i wanted to integrate cloud sim example 1 wit cloud reports.  do yo know how to proceed it. .

Reply all
Reply to author
Forward
0 new messages