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

Difficulties with ContainerCloudSim. Pls help #119

Open
Kenan13 opened this issue Jun 11, 2018 · 2 comments
Open

Difficulties with ContainerCloudSim. Pls help #119

Kenan13 opened this issue Jun 11, 2018 · 2 comments

Comments

@Kenan13
Copy link

Kenan13 commented Jun 11, 2018

we are B.Sc. software engineering students from the university of Stuttgart, Germany. We are currently doing some research and try to simulate a sock shop (https://github.com/microservices-demo/microservices-demo) with ContainerCloudSim.

Unfortunately, we encountered some difficulties during our simulation trials.
In our scenario we have one Host, one VM and 13 Containers. We are unsure about the number of Cloudlets we have to choose.
If we override the ExampleConstant class, the simulation only allocates one container to our one VM. For the rest there is “no suitable VM found for Container#X”.
We cannot find the suitable lines which would allow us to allocate all our 13 Containers to our one and only VM.

Moreover, we do not truly comprehend the relationship between a Container, a Cloudlets and a VM.
In the ContainerCloudSimExample1 you provide the following lines:

cloudletList = createContainerCloudletList(brokerId, SockShopConstants.NUMBER_CLOUDLETS);

containerList = createContainerList(brokerId, SockShopConstants.NUMBER_CLOUDLETS);

vmList = createVmList(brokerId, SockShopConstants.NUMBER_VMS);

why does the containerList gets the size of the cloudlets and the number of containers there is.

Question to ConstantExamples in ContainerExamples.

You initialize the VM_TYPE as 4. You define four VM attributes in MIPS, PES, etc..
But why do you initialize 25 VM at the bottom with NUMBER_VMS? Do the 25 VM randomly get one of the array parameters?

How do you determine the correct number of MIPS for a CPU? We simulate on consumer hardware and really don’t know how to calculate these Numbers, as they are extremely task dependent. Is there a rule of thumb or smth. else?

We uploaded our questions to a google cloudsim group, but still no response to any of the questions.
We would be very grateful if you could help us Sir.

With best regards,
Daniel, Martin, and Kanan

@itconsultore
Copy link

itconsultore commented Jun 24, 2018 via email

@scethiren
Copy link

Hi,
Kenan13,
Got any solutions ??

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

No branches or pull requests

3 participants