From 131257830bc971bf2f12006645b5f5ba8c589624 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Fri, 16 Mar 2018 16:22:46 +0000 Subject: [PATCH] generic.py: fix EnergyModelWakeMigration Change the task utilization so that the optimal placement agrees with EAS placement. 50% was high enough for EAS to move the task to a big CPU, but the optimal placement was expecting a little CPU. With 70%, they both agree that it should be on a big CPU. --- tests/eas/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/eas/generic.py b/tests/eas/generic.py index 07e107ca1..70b79ad61 100644 --- a/tests/eas/generic.py +++ b/tests/eas/generic.py @@ -567,7 +567,7 @@ class RampDown(_EnergyModelTest): class EnergyModelWakeMigration(_EnergyModelTest): """ - Test EAS for tasks alternating beetween 10% and 50% + Test EAS for tasks alternating beetween 10% and 70% """ workloads = { 'em_wake_migration' : { @@ -580,7 +580,7 @@ class EnergyModelWakeMigration(_EnergyModelTest): 'params' : { "period_ms" : WORKLOAD_PERIOD_MS, 'start_pct': 10, - 'end_pct': 50, + 'end_pct': 70, 'time_s': 2, 'loops': 2 }, -- GitLab