From 3363df4c72a064e590ca98f8e01832cfa4e15a3f Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Tue, 27 Aug 2024 13:48:46 +0200 Subject: Renamed input files and internally server is changed to task (#246) * Updated SimTrace to use a single ArrayDeque instead of three separate lists for deadline, cpuUsage, and coreCount * Renamed input files to tasks.parquet and fragments.parquet. Renamed server to task. OpenDC nows exports tasks.parquet instead of server.parquet --- .../simulator/compute/power/CpuPowerModels.java | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'opendc-simulator/opendc-simulator-compute/src/main') diff --git a/opendc-simulator/opendc-simulator-compute/src/main/java/org/opendc/simulator/compute/power/CpuPowerModels.java b/opendc-simulator/opendc-simulator-compute/src/main/java/org/opendc/simulator/compute/power/CpuPowerModels.java index 537fb8d8..4e62e67f 100644 --- a/opendc-simulator/opendc-simulator-compute/src/main/java/org/opendc/simulator/compute/power/CpuPowerModels.java +++ b/opendc-simulator/opendc-simulator-compute/src/main/java/org/opendc/simulator/compute/power/CpuPowerModels.java @@ -33,7 +33,7 @@ public class CpuPowerModels { /** * Construct a constant {@link CpuPowerModel}. * - * @param power The power consumption fo the server at all times (in W). + * @param power The power consumption of the host at all times (in W). */ public static CpuPowerModel constant(double power) { return new ConstantPowerModel(power); @@ -42,8 +42,8 @@ public class CpuPowerModels { /** * Construct a square root {@link CpuPowerModel} that is adapted from CloudSim. * - * @param maxPower The maximum power draw of the server in W. - * @param idlePower The power draw of the server at its lowest utilization level in W. + * @param maxPower The maximum power draw of the host in W. + * @param idlePower The power draw of the host at its lowest utilization level in W. */ public static CpuPowerModel sqrt(double maxPower, double idlePower) { return new SqrtPowerModel(maxPower, idlePower); @@ -52,8 +52,8 @@ public class CpuPowerModels { /** * Construct a linear {@link CpuPowerModel} that is adapted from CloudSim. * - * @param maxPower The maximum power draw of the server in W. - * @param idlePower The power draw of the server at its lowest utilization level in W. + * @param maxPower The maximum power draw of the host in W. + * @param idlePower The power draw of the host at its lowest utilization level in W. */ public static CpuPowerModel linear(double maxPower, double idlePower) { return new LinearPowerModel(maxPower, idlePower); @@ -62,8 +62,8 @@ public class CpuPowerModels { /** * Construct a square {@link CpuPowerModel} that is adapted from CloudSim. * - * @param maxPower The maximum power draw of the server in W. - * @param idlePower The power draw of the server at its lowest utilization level in W. + * @param maxPower The maximum power draw of the host in W. + * @param idlePower The power draw of the host at its lowest utilization level in W. */ public static CpuPowerModel square(double maxPower, double idlePower) { return new SquarePowerModel(maxPower, idlePower); @@ -72,8 +72,8 @@ public class CpuPowerModels { /** * Construct a cubic {@link CpuPowerModel} that is adapted from CloudSim. * - * @param maxPower The maximum power draw of the server in W. - * @param idlePower The power draw of the server at its lowest utilization level in W. + * @param maxPower The maximum power draw of the host in W. + * @param idlePower The power draw of the host at its lowest utilization level in W. */ public static CpuPowerModel cubic(double maxPower, double idlePower) { return new CubicPowerModel(maxPower, idlePower); @@ -83,8 +83,8 @@ public class CpuPowerModels { * Construct a {@link CpuPowerModel} that minimizes the mean squared error (MSE) * to the actual power measurement by tuning the calibration parameter. * - * @param maxPower The maximum power draw of the server in W. - * @param idlePower The power draw of the server at its lowest utilization level in W. + * @param maxPower The maximum power draw of the host in W. + * @param idlePower The power draw of the host at its lowest utilization level in W. * @param calibrationFactor The parameter set to minimize the MSE. * @see * Fan et al., Power provisioning for a warehouse-sized computer, ACM SIGARCH'07 @@ -96,9 +96,9 @@ public class CpuPowerModels { /** * Construct an asymptotic {@link CpuPowerModel} adapted from GreenCloud. * - * @param maxPower The maximum power draw of the server in W. - * @param idlePower The power draw of the server at its lowest utilization level in W. - * @param asymUtil A utilization level at which the server attains asymptotic, + * @param maxPower The maximum power draw of the host in W. + * @param idlePower The power draw of the host at its lowest utilization level in W. + * @param asymUtil A utilization level at which the host attains asymptotic, * i.e., close to linear power consumption versus the offered load. * For most of the CPUs,a is in [0.2, 0.5]. * @param dvfs A flag indicates whether DVFS is enabled. -- cgit v1.2.3