From ee5c5ea7a5846ea443877250f2429586b1fef12b Mon Sep 17 00:00:00 2001 From: Quentin Perret Date: Fri, 1 Jun 2018 18:05:47 +0100 Subject: [PATCH] tests/generic: Fix energy threshold for RampUp The energy thresholds of several tests have been tweaked to account of caveats of specific use-cases. In particular, the RampDown test has been granted a 15% threshold to avoid too many issues with the capacity margin. However, the RampUp test which has similar issues has been left untouched. Fix this. Fixes: a31e7b99a942 ("tests/eas/generic: Tweak criteria for passing tests") Signed-off-by: Quentin Perret --- tests/eas/generic.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/eas/generic.py b/tests/eas/generic.py index 70b79ad61..b9acb4f62 100644 --- a/tests/eas/generic.py +++ b/tests/eas/generic.py @@ -498,6 +498,13 @@ class RampUp(_EnergyModelTest): """ Test EAS for a task ramping from 5% up to 70% """ + # The main purpose of this test is to ensure that as it grows in load, a + # task is migrated from LITTLE to big CPUs on a big.LITTLE system. + # This migration naturally happens some time _after_ it could possibly be + # done, since there must be some hysteresis to avoid a performance cost. + # Therefore allow a larger energy usage threshold + energy_est_threshold_pct = 15 + workloads = { "ramp_up" : { "type": "rt-app", -- GitLab