cloudsim
cloudsim copied to clipboard
How to simulate 100 users
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
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 [email protected] 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 .
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
Hi Kenan13, have you solved this problem? What's the true means of the parameter num_users?