Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8075967ybi; Tue, 9 Jul 2019 08:47:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDmFg5drcorjlcd8I0cmtg8qcrLKVlOkrEJvuQCrmX84woGswaO3Ai07GuksCvH5s13Dos X-Received: by 2002:a63:7a5b:: with SMTP id j27mr31373026pgn.242.1562687242232; Tue, 09 Jul 2019 08:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562687242; cv=none; d=google.com; s=arc-20160816; b=FcdQnpOFnFKmtTtrueY5DZiuDSdk3Dx6MKGQ88caza6pCNUKnYd0Y98+bBosNpft+H hvuUiL1mE9y68wonQMVds6i29TsWEf6M7nv50SRZBOCxaN9ZgkdvVLty6qGZ4Vq/ba/2 ZWxnt0TZq5/HKjcdS+nmLD1CPbkwKoVV5bPViTpSyAgeccp6vvxlJWQoq0eslbxPOaqo saMod9jWEyxVHNeUICGJBIxCSmzcbFdpzl05UAI3wdoTo02JIXTRjBxiycamHGuaRPz9 AUhV/C5UD1kmo7ly3/8ey/XzeW8hyA5h3QsVBAsCRqks0HjOIG5VOi2C+uJAclYfUzz8 yjTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ATI/TZzm+B0VbUvyUPBuGeEy3pilz7Di8ahTsMVIDKw=; b=shKhIvNovuThwRw8B/WXUDbyI4EUjoKob83mf131CpQRBD+yZ0LJN9ViP0C97H1crI sL+QjKzav/BtHhtnMU9aDGEcFpr/vCLiS18OAjytVmXfb4d8hDdVWMfBOFA27KwxbYWZ fqN9/B5HITIHJX3xALnVFUwmfLPfms4T2un7eR265ctxrXYjaxYcMqYuK9fHM6sL0ffW Hvc0UfohL6A2WzyrTgctvOc6hr2SktRsGjQKafcEDArUmRO5HIiRv2Kc+/wyYE2LpL6B 7xQzoOrHA/nyJIBwg0WRo9O+vYfNBdCTrH/wHTGxArAxC8K5M2JQ1ljOYtp7PdDmfQRU cEbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S6liV1la; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fr6si3005514pjb.97.2019.07.09.08.47.06; Tue, 09 Jul 2019 08:47:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S6liV1la; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726374AbfGIPqc (ORCPT + 99 others); Tue, 9 Jul 2019 11:46:32 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43174 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726284AbfGIPqb (ORCPT ); Tue, 9 Jul 2019 11:46:31 -0400 Received: by mail-lj1-f193.google.com with SMTP id 16so20010587ljv.10 for ; Tue, 09 Jul 2019 08:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ATI/TZzm+B0VbUvyUPBuGeEy3pilz7Di8ahTsMVIDKw=; b=S6liV1laeivRRmIWP2pjOtY6fB34kHttLPnB41MOCk/pthvJddX8AmDyFD/RusmiWl f5Io9P75NDej9SSck0BTHc9uIbPuXWT3at3VegPJHTdp3YAWgUfZCUegyGhpF/I1Cp8I 9i++m5GQDFpf1elWGda63cRO+So9Z6WLzZb3gFR4fjx2SRKIvYgkMPRVP1Q3jIbOanvl p4D/qkUceAk85LKany0Cvu9ShK1rYB21xqoeTwWxvf9OnHkAMTlogNqC8igPyDlFoHLS UC49NeXJXrHv42kEX4ZQB4Yqod/0k1bbfZzIW1n/uzXef4fbYUtTHOatz2fGh71B4dhM iyDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ATI/TZzm+B0VbUvyUPBuGeEy3pilz7Di8ahTsMVIDKw=; b=Cd4C+3v8O1+/t6TqVvJLWoRVIUaL0pigz2y+dlq4HP+I89nXWDqnDFkyXZd+oyK446 WgqDCfI6wJtMHLP+y4OxsFURnV0ewa9tbh2jiujJLokWEWnEloaowIIwT08/WMcxZRxL 6qNIp7g2UMEVzHWSY8xLnKhxPTUcYXnVqIgl02z9NLqkEnjnDQ8uyL7CTCucDV0UqL5c hDYY5fv+NunYxZ3IRAQ4Ufw0O8YxTpz6dvTgNqfH2lAtyEVAooFMalm+M4fzM6r5x/Mh CSIh2naGq8Qpr+eA4fh8rS3GFJF7TG+N6I+x+UZJLn5uxnjsAWZmerTci8zxUyQJVSJ2 UzGw== X-Gm-Message-State: APjAAAV6wlSd/3fXL95pQnSFZo9J8CanaXXcTa6qdIZ65fSl1Hv7XGFI gsThV3iXWPzj/0sUf6+ajccrZd90wAzgXAmqhtqXKQ== X-Received: by 2002:a2e:995a:: with SMTP id r26mr14072623ljj.107.1562687189661; Tue, 09 Jul 2019 08:46:29 -0700 (PDT) MIME-Version: 1.0 References: <20190709115759.10451-1-chris.redpath@arm.com> <20190709135054.GF3402@hirez.programming.kicks-ass.net> <1128a866-6817-3703-8962-8c3670dd10c1@foss.arm.com> In-Reply-To: <1128a866-6817-3703-8962-8c3670dd10c1@foss.arm.com> From: Vincent Guittot Date: Tue, 9 Jul 2019 17:46:18 +0200 Message-ID: Subject: Re: [PATCH] sched/fair: Update rq_clock, cfs_rq before migrating for asym cpu capacity To: Chris Redpath Cc: Peter Zijlstra , "linux-kernel@vger.kernel.org" , Ingo Molnar , Morten Rasmussen , Dietmar Eggemann Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Jul 2019 at 17:42, Chris Redpath wrote: > > On 09/07/2019 16:36, Vincent Guittot wrote: > > Hi Chris, > > > >> > >> We enter this code quite often in our testing, most individual runs of a > >> test which has small tasks involved have at least one hit where we make > >> a change to the clock with this patch in. > > > > Do you have a rt-app file that you can share ? > > > > The ThreeSmallTasks test which is the worst hit produces this: > > { > "tasks": { > "small_0": { > "policy": "SCHED_OTHER", > "delay": 0, > "loop": 1, > "phases": { > "p000001": { > "loop": 62, > "run": 2880, > "timer": { > "ref": "small_0", > "period": 16000 > } > } > } > }, > "small_1": { > "policy": "SCHED_OTHER", > "delay": 0, > "loop": 1, > "phases": { > "p000001": { > "loop": 62, > "run": 2880, > "timer": { > "ref": "small_1", > "period": 16000 > } > } > } > }, > "small_2": { > "policy": "SCHED_OTHER", > "delay": 0, > "loop": 1, > "phases": { > "p000001": { > "loop": 62, > "run": 2880, > "timer": { > "ref": "small_2", > "period": 16000 > } > } > } > } > }, > "global": { > "default_policy": "SCHED_OTHER", > "duration": -1, > "calibration": 264, > "logdir": "/root/devlib-target" > } > } > > when I run it Thanks I will make it a try on my b.L platform > > >> > >> That said - despite the relatively high number of hits only about 5% of > >> runs see enough additional energy consumed to trigger a test failure. We > >> do try to keep a quiet system as much as possible and only run for a few > >> seconds so the impact we see in testing is also probably higher than in > >> the real world. > > > > Yeah, I'm curious to see the impact on a real system which have a > > 60fps screen update like an android phone > > > > I wouldn't expect much change there but I would on the idle-ish > homescreen/day-of-use type benchmarks. > > If I had a platform with any kind of representative energy use, I'd test > it :)