Cloudslab / cloudsim

CloudSim: A Framework For Modeling And Simulation Of Cloud Computing Infrastructures And Services
http://www.cloudbus.org/cloudsim/
807 stars 488 forks source link

How to simulate 100 users #120

Open Kenan13 opened 6 years ago

Kenan13 commented 6 years ago

Hi,

in the first lines of code in any CloudSim simulator one has to initialize the 'num_users'.

I would like to simulate 100 users. But just changing 'num_users' from 1 to 100 doesn't do the trick.

Does anybody know how to do it?

thanks in advance.

Kanan

itconsultore commented 6 years ago

I haven't used that parameter for simulating a number of users, I focus on the workload and the number of agents (broker) for the execution of cloudlets. The workload has the user id ( http://www.cs.huji.ac.il/labs/parallel/workload/swf.html) and the implementation of the reader you could extend and select the cloudlets per user id and assign to an agent.

you can see that user_id in the createJob method is not used. https://github.com/Cloudslab/cloudsim/blob/master/modules/cloudsim/src/main/java/org/cloudbus/cloudsim/util/WorkloadFileReader.java

Kind regards, Francisco

On Fri, Jul 13, 2018 at 11:04 AM, Kenan13 notifications@github.com wrote:

Hi,

in the first lines of code in any CloudSim simulator one has to initialize the 'num_users'.

I would like to simulate 100 users. But just changing 'num_users' from 1 to 100 doesn't do the trick.

Does anybody know how to do it?

thanks in advance.

Kanan

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cloudslab/cloudsim/issues/120, or mute the thread https://github.com/notifications/unsubscribe-auth/AOnOzkYY4AJBjK8dj_jlNNFccPdaaBjsks5uGHCrgaJpZM4VOokZ .

Kenan13 commented 6 years ago

Hi Francisco,

thank you for your response. Do you indicate that I should use brokers as users? Initializing 100 brokers instead of 100 users?

Kind regards, Kanan

ghost commented 4 years ago

Hi Kenan13, have you solved this problem? What's the true means of the parameter num_users?