From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753981AbcIAVs7 (ORCPT ); Thu, 1 Sep 2016 17:48:59 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:35932 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753951AbcIAVsz (ORCPT ); Thu, 1 Sep 2016 17:48:55 -0400 From: Steve Muckle X-Google-Original-From: Steve Muckle Date: Thu, 1 Sep 2016 14:48:51 -0700 To: Juri Lelli Cc: Peter Zijlstra , Thomas Gleixner , Steve Muckle , Ingo Molnar , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Vincent Guittot , Morten Rasmussen , Dietmar Eggemann , Patrick Bellasi Subject: Re: [PATCH 2/2] sched: cpufreq: use rt_avg as estimate of required RT CPU capacity Message-ID: <20160901214851.GP5599@graphite.smuckle.net> References: <1472236848-17038-1-git-send-email-smuckle@linaro.org> <1472236848-17038-3-git-send-email-smuckle@linaro.org> <20160831143907.GX10121@twins.programming.kicks-ass.net> <20160831150846.GN5599@graphite.smuckle.net> <20160831164009.GF10153@twins.programming.kicks-ass.net> <20160831170002.GK9337@e106622-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160831170002.GK9337@e106622-lin> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 31, 2016 at 06:00:02PM +0100, Juri Lelli wrote: > > Another problem is that we have many semi related knobs; we have the > > global RT runtime limit knob, but that doesn't affect cpufreq (maybe it > > should) > > Maybe we could create this sort of link when using the cgroup RT > throttling interface as well? It should still then fit well once we > replace the underlying mechanism with DL reservations. And, AFAIK, the > interface is used by Android folks already. I'm not sure how the upper bounds can be used to infer CPU frequency... On my Nexus 6p (an Android device), the global RT runtime limit seems to be set at 950ms/1sec, the root cgroup is set to 800ms/1sec, and bg_non_interactive is set at 700ms/1sec.