Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752544AbbKJK4k (ORCPT ); Tue, 10 Nov 2015 05:56:40 -0500 Received: from eu-smtp-delivery-143.mimecast.com ([146.101.78.143]:23526 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752484AbbKJK4c convert rfc822-to-8bit (ORCPT ); Tue, 10 Nov 2015 05:56:32 -0500 Date: Tue, 10 Nov 2015 10:56:34 +0000 From: Juri Lelli To: Peter Zijlstra Cc: Juri Lelli , Punit Agrawal , Jacob Pan , Eduardo Valentin , Thomas Gleixner , LKML , Arjan van de Ven , Paul Turner , Len Brown , Srinivas Pandruvada , Tim Chen , Andi Kleen , Rafael Wysocki Subject: Re: [RFC PATCH 0/3] CFS idle injection Message-ID: <20151110105634.GA8516@e106622-lin> References: <1446509428-5616-1-git-send-email-jacob.jun.pan@linux.intel.com> <20151104060654.GC8850@localhost.localdomain> <20151104085830.010e69f8@yairi> <20151105101218.GB3604@twins.programming.kicks-ass.net> <9hhvb9f843c.fsf@e105922-lin.cambridge.arm.com> <20151106111838.6172085d@icelake> <9hhbnb38jy4.fsf@e105922-lin.cambridge.arm.com> <20151109141534.GL17308@twins.programming.kicks-ass.net> <20151110103438.GX17308@twins.programming.kicks-ass.net> MIME-Version: 1.0 In-Reply-To: <20151110103438.GX17308@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-OriginalArrivalTime: 10 Nov 2015 10:56:27.0371 (UTC) FILETIME=[72B91BB0:01D11BA6] X-MC-Unique: WxyrjaaYTFGw7xkWllFLUQ-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1406 Lines: 34 On 11/10/15, Peter Zijlstra wrote: > On Tue, Nov 10, 2015 at 10:07:35AM +0000, Juri Lelli wrote: > > Do you think that using SCHED_DEADLINE here would be completely > > foolish? I mean, we would have the duty_cycle/period thing for free, it > > would be know to the scheduler (as to maybe address Thomas' concerns) > > and we could think to make idle injection part of system analysis (for > > the soft-RT use cases). > > DEADLINE would be awesome, but I think we need work on two fronts before > we can really sell it as the awesome that it is ;-) > > - greedy and or statistical bounds > - !priv > > The first is such that we can better deal with the erratic nature of > media decode without going full worst case on it, and the second just > makes it so much more accessible. > Right. For the first point I think we just need to make our off-line calculation right, not that we need to modify implementation. On the second point we need more work yes. Also, another thing that is missing is frequency (uarch) scaling for reservations parameters, something alike what we are doing for CFS; this last point might be solved sooner :-). Thanks, - Juri -- 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/