Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2248712pxa; Fri, 7 Aug 2020 06:56:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfCUp5f7ooVpbZJOXOac3tZ5qAjp+qxD6nLc2qtZKuGbPcbNfGIAZ/liOjwxd9aw+iDdmf X-Received: by 2002:a05:6402:1218:: with SMTP id c24mr8716371edw.44.1596808589231; Fri, 07 Aug 2020 06:56:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596808589; cv=none; d=google.com; s=arc-20160816; b=KYFabyBOCWtqg/mWuM2iy7q75kITTLqauC69e6ezwwBhLddZLR62RzBM4fEjymo47A ic6roxjJRho5PrAkwZIpmo2zuqZ4Kj+yeYayuUT/fAblL9EVm8JQcwV+Tznlql2XpxKf VsRqUDKulkC5EPXrtRD41GsEoX/nM4ukfHmiIrpWrMTXOjh1ACi8hMFqmxxPtAtR5IVO pPwYJjSRMUswTVWdq3N1eXa8flF+yS1ouqD/qNEq3dI7JGao+PK44h9cEaxyVyQecEUC kDHOkxDtRA4o2hY3QvZg242NaQTE0gYzorYeMSUlTxtf5J6KwumTF5cPjzY94CBOnaDp 7MvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=d6+BYDMAmqHkVDEaV0mFFeRjBQRw58aiJF4LXFflX7g=; b=LSpat/qYTSl8WvzoffO3ZAh4RjuQDykAPd8ZDaSzWKBrKfNnCIH8vYzOetN2idcg+V iWmPe18B0b+imqRWP9zSixwPBI3V/94Rp2QKiF62bOWz9slrlWUEHZ1dLyb+pGPzUILw nRhKLfJnKxiJUdgwgHIpEVM/xw/rUVC8CCr7gB4na30UjdOtfx/ETO7Rg/4Pn70m2rFV Z673NKAtrthLNNJBIQ8Pg+suM/uWO3QPO/WP3nOYRi7aWzcFmqTeZKEuITJBmqnwUGl9 5jCv6Zja0WPhagiwP+SkABSAplSEjbNkmQuCSsVhjFLuCN0ayyyKF1Y8O4fDHh3GbBbo qxgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p12si5142205ejz.478.2020.08.07.06.56.05; Fri, 07 Aug 2020 06:56:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726076AbgHGNzT (ORCPT + 99 others); Fri, 7 Aug 2020 09:55:19 -0400 Received: from ms01.santannapisa.it ([193.205.80.98]:22642 "EHLO mail.santannapisa.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgHGNzT (ORCPT ); Fri, 7 Aug 2020 09:55:19 -0400 Received: from [94.37.192.58] (account l.abeni@santannapisa.it HELO nowhere) by santannapisa.it (CommuniGate Pro SMTP 6.1.11) with ESMTPSA id 150297235; Fri, 07 Aug 2020 15:55:16 +0200 Date: Fri, 7 Aug 2020 15:55:10 +0200 From: luca abeni To: Juri Lelli Cc: peterz@infradead.org, mingo@redhat.com, rostedt@goodmis.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, tommaso.cucinotta@santannapisa.it, alessio.balsini@gmail.com, bristot@redhat.com, dietmar.eggemann@arm.com, linux-rt-users@vger.kernel.org, mtosatti@redhat.com, williams@redhat.com, valentin.schneider@arm.com Subject: Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor Message-ID: <20200807155510.2b380f49@nowhere> In-Reply-To: <20200807134353.GR42956@localhost.localdomain> References: <20200807095051.385985-1-juri.lelli@redhat.com> <20200807095604.GO42956@localhost.localdomain> <20200807152832.591f462e@nowhere> <20200807134353.GR42956@localhost.localdomain> Organization: Scuola Superiore S.Anna X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 7 Aug 2020 15:43:53 +0200 Juri Lelli wrote: > On 07/08/20 15:28, luca abeni wrote: > > Hi Juri, > > > > On Fri, 7 Aug 2020 11:56:04 +0200 > > Juri Lelli wrote: > > > > > Starting deadline server for lower priority classes right away > > > when first task is enqueued might break guarantees > > > > Which guarantees are you thinking about, here? Response times of > > fixed priority tasks? > > Response time, but also wakeup latency (which, for better or worse, is > another important metric). > > > If fixed priority tasks are also scheduled through deadline servers, > > then you can provide response-time guarantees to them even when > > lower-priority/non-real-time tasks are scheduled through deadline > > servers. > > Right, but I fear we won't be able to keep current behavior for > wakeups: RT with highest prio always gets scheduled right away? Uhm... I think this depends on how the servers' parameters are designed: assigning "wrong" (or "bad") parameters to the server used to schedule RT tasks, this property is broken. (however, notice that even with the current patchset the highest priority task might be scheduled with some delay --- if the SCHED_OTHER deadline server is active because SCHED_OTHER tasks are being starved). Luca