Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp567256rdh; Thu, 26 Oct 2023 09:32:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE7IZSSci+IUZeQVbP1CBK/j3dlg09JqTueLAzp4ssZ+aptIbL7gBk3Je2HLIgrNqoX7IdH X-Received: by 2002:a81:48c4:0:b0:59e:9a44:9db9 with SMTP id v187-20020a8148c4000000b0059e9a449db9mr20058108ywa.26.1698337940638; Thu, 26 Oct 2023 09:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698337940; cv=none; d=google.com; s=arc-20160816; b=X+DxolpPsk9O23udRrWu0mVmxW6xr/9ZY4rUsNVmiybkruhsGLEc3SBwMKTpHE/vkE rsCqQQqtfD9YyzdtmoC9CD3srke9VpBnPWR1GlrFKS2qkrvp3Zid4OLH26CWBkWBlPOs pSuEnNdyXW35hejWKhX4xlHelsYq4FALrGa4fOhir3wpojkIzFVUSNm5QHsSpyI+Q8Xo 6PeNwvjZHv/udn80P9X/KyzKZylNwyZIQr59HkLJB/Ze+aU4mf8RTZJyCn7m9X1rD0Uc J6V34S1yPLF34dp2vJvj2zIN7i4lpFvf3vg3EM18q9T1TBFTYRQ9cUNXCOsYM4yk1niW qPag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=dWmrIpIRWRyqTcOkya0KPPybKUSW/DWz1EZ5x0tOvHI=; fh=OzzsPR7Vb7OtFUKnK2Aqg710ZKZqgv/2gYVTx+liP6M=; b=bGh/UCYEcrW5zfntbjDbDhbPDZSg0kVISt5WgSgH6NZqBmpXg6Hxe3QXIQpLYMCfFB yY6EZOSS0/AHultGsrWNJIGYc2QmXSySOLwdMZqyuSNpfePCwAWOzwSc+93AKOZL0qQY UVO+eOm8aZGfpDbUCp/9NqtacG99sGTsW142+TkPK3i1bnowBLM3WNwg0MsdzteaGGms Z5s+bEt2DgZLeK08Bq2zHR6Q6XOgDSfztugpxUgeIs9uQ0K7Xr2PtrpB4zUCWUxOhB2s gHw5QD5J/HWefBasqTlyppQ/HjR3oRq4TrVosFiWRok2wx7z/LN0Yv/TK9qeTPIfgElr T/jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ardJItnQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z16-20020a81a250000000b005a228b5184fsi15740259ywg.400.2023.10.26.09.32.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 09:32:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ardJItnQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9EE4A819476A; Thu, 26 Oct 2023 09:32:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231436AbjJZQcJ (ORCPT + 99 others); Thu, 26 Oct 2023 12:32:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbjJZQcH (ORCPT ); Thu, 26 Oct 2023 12:32:07 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEE8718A for ; Thu, 26 Oct 2023 09:32:05 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36AB0C433C7; Thu, 26 Oct 2023 16:31:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698337925; bh=mwOuEWH5+kQn0ZBjzsAnPRyYaTf4kTB3yErog2f8nnk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ardJItnQr+bpEXzfybRI8oLpMn09c6VJ5rc3lWM7jRXcltZIdHuj5WaDQ9pDlXvol AwyMZSVYqbpwh9m7EMtfQHuVxQUQyvKaIXUIq2OKaqyrfP+12DzqvAuk0tIUrDY34g K+UTIKYePblDV5zZ5u20q+nhswtzfBXUGmvMKq3eHckDOozvmkVi4ZtlMj9NIOdWK+ szQD9ZbVVh48pUgKT5nNWDYCWs7zyhPV7PDtpNLbDOw5K/7yuizJxPoN0L9cutuUWw VuhSn1RsL47kk3SudhXOE7UK7558E6fCkObhiRasVCbqoZV/ukiZ/Ir+xjPbZbldj0 P5aXco3Z1R/BQ== Message-ID: <82b0104f-1f05-44b0-9e95-57beecd541c8@kernel.org> Date: Thu, 26 Oct 2023 18:31:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [POC][RFC][PATCH] sched: Extended Scheduler Time Slice To: Steven Rostedt , Peter Zijlstra Cc: Mateusz Guzik , Mathieu Desnoyers , LKML , Thomas Gleixner , Ankur Arora , Linus Torvalds , linux-mm@kvack.org, x86@kernel.org, akpm@linux-foundation.org, luto@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, willy@infradead.org, mgorman@suse.de, jon.grimm@amd.com, bharata@amd.com, raghavendra.kt@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, jgross@suse.com, andrew.cooper3@citrix.com, Joel Fernandes , Youssef Esmat , Vineeth Pillai , Suleiman Souhlal , Ingo Molnar References: <20231025054219.1acaa3dd@gandalf.local.home> <20231025102952.GG37471@noisy.programming.kicks-ass.net> <20231025085434.35d5f9e0@gandalf.local.home> <20231025135545.GG31201@noisy.programming.kicks-ass.net> <20231025103105.5ec64b89@gandalf.local.home> <884e4603-4d29-41ae-8715-a070c43482c4@efficios.com> <20231025162435.ibhdktcshhzltr3r@f> <20231025131731.48461873@gandalf.local.home> <20231026085414.GL31411@noisy.programming.kicks-ass.net> <20231026094035.213e3744@gandalf.local.home> <20231026114927.46145fe6@gandalf.local.home> Content-Language: en-US, pt-BR, it-IT From: Daniel Bristot de Oliveira In-Reply-To: <20231026114927.46145fe6@gandalf.local.home> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 26 Oct 2023 09:32:11 -0700 (PDT) On 10/26/23 17:49, Steven Rostedt wrote: > On Thu, 26 Oct 2023 09:40:35 -0400 > Steven Rostedt wrote: > >> Hence, why I don't want to associate this with priority inheritance. The >> time constraint is a fundamental difference. > > Let me add one more fundamental difference here that makes this solution > different than priority inheritance and ceiling. > > PI and ceiling define the correctness of the system. If you get it wrong or > remove it, the system can be incorrect and lock up, fail deadlines, etc. > There's hundreds, if not thousands of papers mathematically defining the > correctness of PI, ceiling and proxy execution, as they are complex and > critical for the system to behave properly. > > This feature is a performance boost only, and has nothing to do with > "correctness". That's because it has that arbitrary time where it can run a > little more. It's more like the difference between having something in > cache and a cache miss. This would cause many academics to quit and find a > job in sales if they had to prove the correctness of an algorithm that gave > you a boost for some random amount of time. The idea here is to help with > performance. If it exists, great, your application will likely perform > better. If it doesn't, no big deal, you may just have to deal with longer > wait times on critical sections. terminologies, terminologies.... those academic people :-) I think that this can also be seen as an extension of the non-preemptive mode to the user space, but... not entirely, it is a ceiling to the [ higher than fair/lower than RT ] prior? and it is not global. It is partitioned: once the section starts, it stays there, being preempted by RT/DL? [ trying to understand the implications of it ] > > This is why I do not want to associate this as another form of PI or > ceiling. > > -- Steve