-
Notifications
You must be signed in to change notification settings - Fork 79
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
Update VM processing time #15
Comments
Dear Saeedeh, iFogSim (V1 and V2) is built on top of Cloudsim Engine. The CloudSim Engine is tested and the aforementioned concern does not create any issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When updating the other VM processing, first, it sets the new mipsshare of the VM In the following line:
iFogSim/src/org/cloudbus/cloudsim/CloudletSchedulerTimeShared.java
Line 65 in fca02da
Then, it calculates the FinishedSoFar in line 70:
iFogSim/src/org/cloudbus/cloudsim/CloudletSchedulerTimeShared.java
Line 70 in fca02da
While I think, First, it should calculate FinishedSoFar(which has happened based on the previous mipshare of the VM), then update the mipsshare of the VM (to calculate the processing time of the remaining length based on the new mipsshare).
Would you please check this and let me know if we should move line 70 after that?
Best,
Saeedeh
The text was updated successfully, but these errors were encountered: