Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp126172ybj; Fri, 8 May 2020 08:01:00 -0700 (PDT) X-Google-Smtp-Source: APiQypL930mgQC0iifaTA+MnaKMtnz4aks7SROnGd/hni9jDbIQPfFOvbPlsLDt2S6D7LF3Ivd12 X-Received: by 2002:a17:906:7e5a:: with SMTP id z26mr2240931ejr.168.1588950060793; Fri, 08 May 2020 08:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588950060; cv=none; d=google.com; s=arc-20160816; b=M9ePyjFMVAWiDGRs985PkjMIHOgnr2bImb1V91/nbne8Ah0ctTk8ip3rwgfWnkli5f TiU/F74xtza3MUExwyN6NhyDqnJLWUNVgBuEW/naa3hHiMVaqc6DG/IT6OPu4pWhQHCJ QHYPe9YAhtWGzBS48eNbYSGnWO+0yAtx+PgBz/15UvNzxfnZ5eDX5zKn+3t6e9LBKWru HZ45gH8bAPGJiyHUADAt6K55H9Is62JOKGmKm73Mdl+MfztyM8FXfTWtkw9kO9Knj6Ma DLSJkh7cLDnWX9toErmZ3r4teWED8nfMaQSPfYIN/y76mJ6SBtpa3ZMy5hYufnRNJhHi bLoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=+yeB8RS/HVWdrKxxswOA4Zb+ZXGQ6cF3Ykaa4FLonxU=; b=LmX32CQueatz4l5E+tYwKKJq5JY/l0BNHFikofOgCLEDKvbQlDSgSpBiwkI1wk/ROC 5zFSPiNiuoEYr8CECAKcsIavSdk+EnHlUFqUo+kKT7OQBE3NXdWqIG1Cwf2pxOtwJnqj 537YX6Vv6saG1wN7Qcbgi5CrPEdO+yvH2wVpIONQe/KOeDmTZhNpZQllPPUr0hHWXqjb nxN5dgPf2LNQUrHh9K9fpZbsE47sUf6y8EilItxiuLv31oQD6ryEL1Wb2dP+DPJxAW+d FhcUq1EVBuRi7AFQXw0X60SKY+7iA2XiFzI+9B7nQ/JC6QcbFX5S4MA+p9GB9mtwrd9v SWWg== 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 cb14si1031660ejb.80.2020.05.08.08.00.36; Fri, 08 May 2020 08:01:00 -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 S1728174AbgEHO65 (ORCPT + 99 others); Fri, 8 May 2020 10:58:57 -0400 Received: from foss.arm.com ([217.140.110.172]:49730 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbgEHO64 (ORCPT ); Fri, 8 May 2020 10:58:56 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2C2C01FB; Fri, 8 May 2020 07:58:56 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9AC403F305; Fri, 8 May 2020 07:58:53 -0700 (PDT) References: <20200507180553.9993-1-john.mathew@unikie.com> <20200507180553.9993-3-john.mathew@unikie.com> User-agent: mu4e 0.9.17; emacs 26.3 From: Valentin Schneider To: Dietmar Eggemann Cc: John Mathew , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, corbet@lwn.net, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, tsbogend@alpha.franken.de, lukas.bulwahn@gmail.com, x86@kernel.org, linux-mips@vger.kernel.org, tglx@linutronix.de, mostafa.chamanara@basemark.com, rdunlap@infradead.org, Oleg Tsymbal Subject: Re: [RFC PATCH v3 2/3] docs: scheduler: Add scheduler overview documentation In-reply-to: Date: Fri, 08 May 2020 15:58:51 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/05/20 11:58, Dietmar Eggemann wrote: > On 07/05/2020 23:15, Valentin Schneider wrote: >> >> On 07/05/20 19:05, John Mathew wrote: > > [...] > >> It would also be an opportunity to have one place to (at least briefly) >> describe what the different sched classes do wrt capacity asymmetry - CFS >> does one thing, RT now does one thing (see Qais' work), and DL will >> hopefully soon follow (see Dietmar's work). >> >> I'd be happy to contribute (some of) that, if it can be deemed useful (I >> personally think it might). > > I like the idea. > > Essentially all the code which is guarded by the 'if > (static_branch_unlikely(&sched_asym_cpucapacity)' condition or which > sets it during bring-up. > > * 'Cpu capacity < SCHED_LOAD_SCALE for non-big' CPUs setting during > bringup (necessary dt binding, CPUfreq influence) > > * CFS capacity awareness: > > * wakeup - select_idle_capacity() (replaced wake_cap() & slow path to > cover DynamIQ and classical big.LITTLE) > > * load_balance - misfit handling > > * RT & DL capacity awareness > > * ... & the relation to EAS (Documentation/scheduler/sched-energy.rst) > > This is what we referred to (at least internally) as CAS (Capacity-Aware > Scheduling). Yeah, something like that. I'll sharpen my quill and have a go at it, though it won't be for right now with OSPM and the other ongoing stuff.