Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use power package in workflow sim #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

how to use power package in workflow sim #6

wants to merge 4 commits into from

Conversation

muhammadkamran05
Copy link

how to use power package in workflow sim, please guide me

@chenww05
Copy link
Contributor

Hi Muhammad,

WorkflowSim works on top of CloudSim and CloudSim supports power
simulation. You may take a look at their websites and go through there
examples.
https://github.com/WorkflowSim/WorkflowSim-1.0/blob/master/examples/org/cloudbus/cloudsim/examples/power/random/Dvfs.java
What kind of simulation you are interested in?

Weiwei

On 5/19/14 6:08 AM, muhammadkamran05 wrote:

how to use power package in workflow sim, please guide me


    You can merge this Pull Request by running

git pull https://github.com/chenww05/WorkflowSim-1.0 master

Or view, comment on, or merge it at:

#6

    Commit Summary


Reply to this email directly or view it on GitHub
#6.

@smbd1368
Copy link

smbd1368 commented Jan 5, 2015

hi
i need cloudlet dataset for scheduling. and so I need to queue for tasks scheduling algorithm
please help me.

@chenww05
Copy link
Contributor

chenww05 commented Jan 5, 2015

Hi ,

You may find many examples in
https://github.com/WorkflowSim/WorkflowSim-1.0/tree/master/examples/org/workflowsim/examples

Please let me know if you have other questions.

Weiwei

On 1/4/15 9:48 PM, smbd1368 wrote:

i need cloudlet dataset for scheduling. and so I need to queue for
tasks scheduling algorithm

@muhammadkamran05
Copy link
Author

thanks 

 On Monday, January 5, 2015 10:50 PM, Weiwei Chen <[email protected]> wrote:

Hi ,

You may find many examples in
https://github.com/WorkflowSim/WorkflowSim-1.0/tree/master/examples/org/workflowsim/examples

Please let me know if you have other questions.

Weiwei

On 1/4/15 9:48 PM, smbd1368 wrote:

i need cloudlet dataset for scheduling. and so I need to queue for
tasks scheduling algorithm—
Reply to this email directly or view it on GitHub.

@anasjamal
Copy link

how to create a basic workflow?

@smbd1368
Copy link

smbd1368 commented Feb 9, 2015

​​

I cloudsim simulator, according to sources who say the paper, I could not
find the original data.

Data on the site is:

http://www.cs.huji.ac.il/labs/parallel/workload/logs.html

But now another problem is occurring.

The data on this site, exactly, is the simulation data. The data is just a
log of tasks in the data center.

I would like to emulate. And the need to integrate data on this site, and
input cloudsim simulator.

For example, in The Intel Net Batch logs, the data is as follows:

  • job ID (anonymized)
  • group (anonymized)
  • user (anonymized)
  • command (anonymized)
  • submit time (local timestamp)
  • start time (local timestamp)
  • end time (local timestamp)
  • exit status
  • suspend time (seconds)
  • wall time (seconds)
  • user CPU time (seconds total for all threads)
  • system CPU time (seconds total for all threads)
  • max RSS (4KB pages)
  • max VM (4KB pages)
  • machine ID (anonymized)
  • iteration number
  • iteration submit time (local timestamp)
  • memory (GB total for all threads)
  • cores.

But, the simulator Kladsym inputs is as follows:

int vmid = 0;

int mips = 100;

long size = 10000; //image size (MB)

int ram = 512; //vm memory (MB)

long bw = 100;

int pesNumber = 1; //number of cpus

String vmm = "Xen"; //VMM name

int num_user = 1;

int hostId=0;

int ram = 2048; //host memory (MB)

long storage = 1000000; //host storage

int bw = 1000000;

And I can not Matching the two go together.

cloudsim simulator has provided an example, that you can read the data. The
name of class WorkloadFileReader.This code(WorkloadFileReader) can only be
read by the task and not the virtual machine emulator cloudsim love to
enter.

How this data, the virtual machine and data center tasks, valid data
cloudsim I enter?

@chenww05
Copy link
Contributor

Hi Anasjamal,

There are a few examples in
https://github.com/WorkflowSim/WorkflowSim-1.0/tree/master/examples/org/workflowsim/examples

Just follow similar rules as DAX (DAG in XML)

Or you may use WorkflowGenerator
https://confluence.pegasus.isi.edu/display/pegasus/WorkflowGenerator

Weiwei

On 2/9/15 3:59 AM, anasjamal wrote:

how to create a basic workflow?


Reply to this email directly or view it on GitHub
#6 (comment).

@chenww05
Copy link
Contributor

Hi Smbd1368,

Somehow you need to solve this problem offline (out of WorkflowSim) .
Right now WorkflowSim is used to verify your algorithms once you have
the actual runtime. However, it is a good feature that we should add in
the future. The challenge is that we may have different models (how to
convert command line into runtime is pretty difficult). We don't have a
plan to do so right now.

I have opened a bug for it :
#13

However, if you have time to implement this feature, I would really
appreciate if you could submit your codes back to WorkflowSim so that
other users can reuse your work as well.

Weiwei
On 2/9/15 4:30 AM, smbd1368 wrote:

​​

I cloudsim simulator, according to sources who say the paper, I could not
find the original data.

Data on the site is:

http://www.cs.huji.ac.il/labs/parallel/workload/logs.html

But now another problem is occurring.

The data on this site, exactly, is the simulation data. The data is just a
log of tasks in the data center.

I would like to emulate. And the need to integrate data on this site, and
input cloudsim simulator.

For example, in The Intel Net Batch logs, the data is as follows:

  • job ID (anonymized)
  • group (anonymized)
  • user (anonymized)
  • command (anonymized)
  • submit time (local timestamp)
  • start time (local timestamp)
  • end time (local timestamp)
  • exit status
  • suspend time (seconds)
  • wall time (seconds)
  • user CPU time (seconds total for all threads)
  • system CPU time (seconds total for all threads)
  • max RSS (4KB pages)
  • max VM (4KB pages)
  • machine ID (anonymized)
  • iteration number
  • iteration submit time (local timestamp)
  • memory (GB total for all threads)
  • cores.

But, the simulator Kladsym inputs is as follows:

int vmid = 0;

int mips = 100;

long size = 10000; //image size (MB)

int ram = 512; //vm memory (MB)

long bw = 100;

int pesNumber = 1; //number of cpus

String vmm = "Xen"; //VMM name

int num_user = 1;

int hostId=0;

int ram = 2048; //host memory (MB)

long storage = 1000000; //host storage

int bw = 1000000;

And I can not Matching the two go together.

cloudsim simulator has provided an example, that you can read the
data. The
name of class WorkloadFileReader.This code(WorkloadFileReader) can only be
read by the task and not the virtual machine emulator cloudsim love to
enter.

How this data, the virtual machine and data center tasks, valid data
cloudsim I enter?


Reply to this email directly or view it on GitHub
#6 (comment).

@hussinalkhashai
Copy link

i run WorkflowSimBasicExample1 bit it required for me daxpath i writ flow
daxPath = "C:\Users\Hussin\Documents\NetBeansProjects\workflowsimtest/config/dax/Montage_100.xml";
but show message
Initialising...
The simulation has been terminated due to an unexpected error
pleas help me chenww05

@chenww05
Copy link
Contributor

chenww05 commented Oct 6, 2015

You are using Windows system so the path should be "C:\Users\Hussin\Documents\NetBeansProjects\workflowsimtest\config\dax\Montage_100.xml"

@eemuit
Copy link

eemuit commented Jun 18, 2016

Hi chenww05,
I change the code in WorkflowSimBasicExample1 with
Parameters.SchedulingAlgorithm sch_method = Parameters.SchedulingAlgorithm.MINMIN;
And I found that finish times in results of above WorkflowSimBasicExample1.java and MINMINSchedulingAlgorithmExample.java are different. Please help me. Why these results are different?

@chenww05
Copy link
Contributor

They are extending from different file system model

https://github.com/WorkflowSim/WorkflowSim-1.0/blob/master/examples/org/workflowsim/examples/scheduling/MINMINSchedulingAlgorithmExample.java#L40

On 6/17/16 9:18 PM, eemuit wrote:

Hi chenww05,
I change the code in WorkflowSimBasicExample1 with
Parameters.SchedulingAlgorithm sch_method =
Parameters.SchedulingAlgorithm.MINMIN;
And I found that finish times in results of above
WorkflowSimBasicExample1.java and
MINMINSchedulingAlgorithmExample.java are different. Please help me.
Why these results are different?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#6 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ADNGv3ra0zEopIM6b8LSwCQIqkJ4Cda4ks5qM3GagaJpZM4B8I7i.

@vengadeshwaran
Copy link

How to add a Montage and SIPHT Dataset in HEFT Planning Algorithm in Workflowsim? OR How to run the HEFT Planning Algorithm using Montage and SIPHT Dataset? Please Help me...

@vengadeshwaran
Copy link

How to add a Montage and SIPHT Dataset in HEFT Planning Algorithm in Workflowsim? OR How to run the HEFT Planning Algorithm using Montage and SIPHT Dataset? Please Help Me... chenww05

@Hatem-Az
Copy link

How to add a Montage and SIPHT Dataset in HEFT Planning Algorithm in Workflowsim? OR How to run the HEFT Planning Algorithm using Montage and SIPHT Dataset? Please Help Me... chenww05

In HEFTPlanningAlgorithmExample class, you just need to modify the daxPath as below

String daxPath = "/Users/hatemaz/cloudsim/workflowsim/WorkflowSim-1.0-master/config/dax/Montage_100.xml";

for the Sipht workflow, you modify Montage_100.xml by the appropriate xml file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants