You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The updateCloudetProcessingWithoutSchedulingFutureEventsForce function in CloudSim generates incorrect log output for utilization percentages and energy consumption. Despite correctly displaying the time and host numbers, the utilization percentages and energy values are consistently reported as zero. This discrepancy indicates a potential issue with the calculation or retrieval of these values within the function, most probably due to the use of updateVmsProcessing() function of the HostDynamicWorkload.java class.
Steps to Reproduce:
Enable logging at any sample simulation, let DCNS.java class.
The simulation will execute the updateCloudetProcessingWithoutSchedulingFutureEventsForce function.
Review the log output, focusing on utilization percentages and energy consumption values.
Expected Behavior:
Utilization percentages and energy values should accurately reflect the current state of processing and energy consumption for each host within the specified time frame. These values should provide meaningful insights into system performance and resource utilization. The final energy consumption output should be related to the values printed in the logs.
Observed Behavior:
Utilization percentages for hosts are consistently reported as 0.00%.
Energy consumption values for hosts are consistently reported as 0.00 W*sec.
Despite the accurate time and host number representation, the absence of meaningful utilization and energy values undermines the usefulness of the log output.
Output Example:
Energy consumption for the last time frame from 990.89 to 995.89:
995.89: [Host #3] utilization at 990.89 was 0.00%, now is 0.00%
995.89: [Host #3] energy is 0.00 W*sec
995.89: Data center's energy is 0.00 W*sec
Proposed Solution:
Investigate the calculation or retrieval of utilization percentages and energy values within the function.
Ensure that the appropriate methods or variables are used to capture these metrics accurately. PS: calling the updateVmsProcessing() function seems to have a relationship with this.
Test the function with various scenarios to verify the correctness of utilization and energy calculations. 😄
Additional Information:
Correcting this issue will improve the accuracy and reliability of the log output, facilitating more effective monitoring and analysis of system behavior in iFogSim.
The text was updated successfully, but these errors were encountered:
khadija-djarraya
changed the title
Incorrect Utilization and Energy Values in Log Output
Null Utilization and Energy Values in Log Output
May 14, 2024
Description:
The
updateCloudetProcessingWithoutSchedulingFutureEventsForce
function inCloudSim
generates incorrect log output for utilization percentages and energy consumption. Despite correctly displaying the time and host numbers, the utilization percentages and energy values are consistently reported as zero. This discrepancy indicates a potential issue with the calculation or retrieval of these values within the function, most probably due to the use of updateVmsProcessing() function of the HostDynamicWorkload.java class.Steps to Reproduce:
updateCloudetProcessingWithoutSchedulingFutureEventsForce
function.Expected Behavior:
Utilization percentages and energy values should accurately reflect the current state of processing and energy consumption for each host within the specified time frame. These values should provide meaningful insights into system performance and resource utilization. The final energy consumption output should be related to the values printed in the logs.
Observed Behavior:
Output Example:
Proposed Solution:
Additional Information:
Correcting this issue will improve the accuracy and reliability of the log output, facilitating more effective monitoring and analysis of system behavior in iFogSim.
The text was updated successfully, but these errors were encountered: