cloudsimplus icon indicating copy to clipboard operation
cloudsimplus copied to clipboard

RAM at 100% Usage before cloudlet submission

Open OrdinaryDev83 opened this issue 3 years ago • 1 comments

Description

Create a bunch or VMs without submitting any cloudlets. Try to access the RAM with a fonction listening to the simulation's clock.

Actual behavior

The RAM is at 100% usage even though no cloudlet is in.

Expected behavior

The RAM should be at 0% usage.

OrdinaryDev83 avatar Sep 09 '22 11:09 OrdinaryDev83

Hello @OrdinaryDev83 Sorry for the late reply. Please attach a minimal example that shows the issue and I'll check that ASAP.

manoelcampos avatar Sep 28 '22 19:09 manoelcampos

This one doesn't need a example. It constantly has this issue. After a VM is created, the bw and RAM usage will be full. And if a VM finished a cloudlet, the bw and RAM will be left as the same value when the cloudlet finishes.

My work around is, in VM creation listener, add a cloudlet with length 1 and use full CPU, 0 RAM and BW.

For all cloudlet (the one you want to simulate), in finish listener, add that length 1 cloudlet again to reset the RAM and BW usage.

ulfaric avatar Oct 13 '22 13:10 ulfaric

In order to check the issue and try to help and fix it, I really need a working example. That makes things easier to fix.

manoelcampos avatar Oct 23 '22 17:10 manoelcampos

If you were able to see the issue, you already have an example. Just try to make it as simple as possible and attach it here.

manoelcampos avatar Nov 03 '22 14:11 manoelcampos

Closing due to lack of activity.

manoelcampos avatar Dec 01 '22 17:12 manoelcampos