Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752964AbcKHRRT (ORCPT ); Tue, 8 Nov 2016 12:17:19 -0500 Received: from smtprelay0219.hostedemail.com ([216.40.44.219]:42701 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750869AbcKHRRP (ORCPT ); Tue, 8 Nov 2016 12:17:15 -0500 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2376:2393:2553:2559:2562:2898:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:5007:6119:6261:7875:7903:10004:10400:10848:10967:11232:11658:11914:12663:12740:12760:13069:13161:13229:13311:13357:13439:14096:14097:14181:14659:14721:21080:30012:30054:30056:30070:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:3,LUA_SUMMARY:none X-HE-Tag: hour99_3ef0375578c3f X-Filterd-Recvd-Size: 2718 Date: Tue, 8 Nov 2016 12:17:10 -0500 From: Steven Rostedt To: Peter Zijlstra Cc: Daniel Bristot de Oliveira , Ingo Molnar , Christoph Lameter , linux-rt-users , LKML Subject: Re: [PATCH] sched/rt: RT_RUNTIME_GREED sched feature Message-ID: <20161108121710.3e7eb664@gandalf.local.home> In-Reply-To: <20161108165133.GI3117@twins.programming.kicks-ass.net> References: <20161108115958.GO3142@twins.programming.kicks-ass.net> <20161108090740.4226ffc9@gandalf.local.home> <20161108165133.GI3117@twins.programming.kicks-ass.net> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1516 Lines: 38 On Tue, 8 Nov 2016 17:51:33 +0100 Peter Zijlstra wrote: > You really should already know this. I know what we want to do, but there's some momentous problems that need to be solved first. Until then, we may be forced to continue with hacks. > > As stands the current rt cgroup code (and all this throttling code) is a > giant mess (as in, its not actually correct from a RT pov). We should > not make it worse by adding random hacks to it. > > The right way to to about doing this is by replacing it with something > better; like the proposed DL server for FIFO tasks -- which is entirely > non-trivial as well, see existing discussion on that. Right. The biggest issue that I see is how to assign affinities to FIFO tasks and use a DL server to keep them from starving other tasks? > > I'm not entirely sure what this patch was supposed to fix, but it could > be running CFS tasks with higher priority than RT for a window, instead I'm a bit confused with the above sentence. Do you mean that this patch causes CFS tasks to run for a period with a higher priority than RT? Well, currently we have the both CFS tasks and the "idle" task run higher than RT, but this patch changes that to be just CFS tasks. > of throttling RT tasks. This seems fairly ill specified, but something > like that could easily done with an explicit or slack time DL server for > CFS tasks. If we can have a DL scheduler that can handle arbitrary affinities, then all could be solved with that. -- Steve