Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751820AbbEDXCV (ORCPT ); Mon, 4 May 2015 19:02:21 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:57636 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751282AbbEDXCM (ORCPT ); Mon, 4 May 2015 19:02:12 -0400 From: "Rafael J. Wysocki" To: Michael Turquette Cc: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org, preeti@linux.vnet.ibm.com, Morten.Rasmussen@arm.com, riel@redhat.com, efault@gmx.de, nicolas.pitre@linaro.org, inaro-kernel@lists.linaro.org, daniel.lezcano@linaro.org, patches@linaro.org, eas-dev@lists.linaro.org, dietmar.eggemann@arm.com, vincent.guittot@linaro.org, amit.kucheria@linaro.org, juri.lelli@arm.com, viresh.kumar@linaro.org, ashwin.chaugule@linaro.org, alex.shi@linaro.org Subject: Re: [PATCH 0/4] scheduler-based cpu frequency scaling Date: Tue, 05 May 2015 01:27:12 +0200 Message-ID: <1648396.IQ1a4yUHOD@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.0.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1430777441-15087-1-git-send-email-mturquette@linaro.org> References: <1430777441-15087-1-git-send-email-mturquette@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2631 Lines: 58 On Monday, May 04, 2015 03:10:37 PM Michael Turquette wrote: > This series implements an event-driven cpufreq governor that scales cpu > frequency as a function of cfs runqueue utilization. The intent of this RFC is > to get some discussion going about how the scheduler can become the policy > engine for selecting cpu frequency, what limitations exist and what design do > we want to take to get to a solution. > > This work is a different take on the patches I posted in November: > http://lkml.kernel.org/r/<1413958051-7103-1-git-send-email-mturquette@linaro.org> > > This series depends on having frequency-invariant representations for load. > This requires Vincent's recently merged cpu capacity rework patches, as well as > a new patch from Morten included here. Morten's patch will likely make an > appearance in his energy aware scheduling v4 series. > > Thanks to Juri Lelli for contributing to the development > of the governor. > > A git branch with these patches can be pulled from here: > https://git.linaro.org/people/mike.turquette/linux.git sched-freq > > Smoke testing has been done on an OMAP4 Pandaboard and an Exynos 5800 > Chromebook2. Extensive benchmarking and regression testing has not yet been > done. Before sinking too much time into extensive testing I'd like to get > feedback on the general design. > > Michael Turquette (3): > sched: sched feature for cpu frequency selection > sched: export get_cpu_usage & capacity_orig_of > sched: cpufreq_sched_cfs: PELT-based cpu frequency scaling > > Morten Rasmussen (1): > arm: Frequency invariant scheduler load-tracking support > > arch/arm/include/asm/topology.h | 7 + > arch/arm/kernel/smp.c | 53 ++++++- > arch/arm/kernel/topology.c | 17 +++ > drivers/cpufreq/Kconfig | 24 ++++ > include/linux/cpufreq.h | 3 + > kernel/sched/Makefile | 1 + > kernel/sched/cpufreq_cfs.c | 311 ++++++++++++++++++++++++++++++++++++++++ > kernel/sched/fair.c | 48 +++---- > kernel/sched/features.h | 6 + > kernel/sched/sched.h | 39 +++++ > 10 files changed, 475 insertions(+), 34 deletions(-) > create mode 100644 kernel/sched/cpufreq_cfs.c Can you *please* always CC PM-related patches to linux-pm? -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/