Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932781AbbLOM41 (ORCPT ); Tue, 15 Dec 2015 07:56:27 -0500 Received: from mail-lb0-f170.google.com ([209.85.217.170]:33163 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754024AbbLOM4Y (ORCPT ); Tue, 15 Dec 2015 07:56:24 -0500 MIME-Version: 1.0 In-Reply-To: <20151215124144.GD6357@twins.programming.kicks-ass.net> References: <1449641971-20827-1-git-send-email-smuckle@linaro.org> <1449641971-20827-10-git-send-email-smuckle@linaro.org> <20151214151729.GQ6357@twins.programming.kicks-ass.net> <20151214165128.GU6357@twins.programming.kicks-ass.net> <20151215124144.GD6357@twins.programming.kicks-ass.net> From: Vincent Guittot Date: Tue, 15 Dec 2015 13:56:03 +0100 Message-ID: Subject: Re: [RFCv6 PATCH 09/10] sched: deadline: use deadline bandwidth in scale_rt_capacity To: Peter Zijlstra Cc: Steve Muckle , Ingo Molnar , linux-kernel , "linux-pm@vger.kernel.org" , Morten Rasmussen , Dietmar Eggemann , Juri Lelli , Patrick Bellasi , Michael Turquette , Luca Abeni 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: 1497 Lines: 33 On 15 December 2015 at 13:41, Peter Zijlstra wrote: > On Tue, Dec 15, 2015 at 05:43:44AM +0100, Vincent Guittot wrote: >> On 14 December 2015 at 17:51, Peter Zijlstra wrote: > >> > No, since the WCET can and _will_ happen, its the best you can do with >> > cpufreq. If you were to set it lower you could not be able to execute >> > correctly in your 'never' tail cases. >> >> In the context of frequency scaling, This mean that we will never >> reach low frequency > > Only if you've stuffed your machine full of deadline tasks, if you take > Luca's example of the I/B frame decoder thingy, then even the WCET for > the I frames should not be very much (albeit significantly more than B > frames). But in this case, the impact of deadline scheduler on the remaining capacity for CFS should not be that much as well. This will not prevent a CFS task but only will only make it a bit smaller than the other > > So while the WCET is pessimistic compared to the avg case, most CPUs can > do video decoding without much effort at all, so even the WCET for the > I-frames might allow us to drop to the lowest cpufreq. > > Now, if you were to decode 10 streams at the same time, different story > of course ;-) -- 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/