Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp537870ybk; Wed, 13 May 2020 06:43:23 -0700 (PDT) X-Google-Smtp-Source: APiQypLh8MK1ZbtrX7V3tFt+QqYunOJa7I20YK91/oVzT0Ws27jshmReFR5JCE9csBFrw6tqDtJ8 X-Received: by 2002:a50:c3c2:: with SMTP id i2mr23270970edf.227.1589377403133; Wed, 13 May 2020 06:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589377403; cv=none; d=google.com; s=arc-20160816; b=FOwNaL6EKlNkPaH6dEt1hEU8zUQgvrY1lugczYSt+dGjHvudBCeG4MXUWVw90QlZI1 ZzY4eDxtdUmzqAkV2u4hBVCUaV3m5JH6oFuejYIBYkA1r1cg8d2m7uUH+wcs054eLDBq 9me8haqH9yy+wTNrr/zN5oRFcaB7km9qhVC1zNM7QZ3IR8fxUMu8XvJth0EKcokwXAdD xOI+oCPKu5Ltznh5fWUF8MiQ63fi5qr9Yn/UgUknbpqCIL/RCLWMzPp0eNw0UG5NGoXg VsURLy54kvUmVVQoCLd55daKFd8e2O5NVdOqJgKHJXaGIhUN67H3e6VtAzns+lyvhQ4S XqVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=QqbYeA4KoNOGLDU4w91JLxJmMWvxI9R71hazf6AYiqA=; b=ELpcGvgxci0RSqedBYm6IV40sU1yC+y6y1oPkBZsQ1/tlLJC08KlspK7wkgda+EyUA aqOD3Mjt3mvdmMB25Szi2SaccxrY+C2g48InF7WnkkonUe7WrlWfs4zUSZxR4NEZ8bdS QncDo4ZaRKQeZZBABetu5ig6B0NbRDBMfE+SpAWf8hlXbmIsVNv6ooFS6fpPPU+v0nEV 1/7E4bGsrhQnd3IBYz4tU/MCcbdDfdSIO81gvgPMjXP4RmaWPG7JTRs4Gm4kGQiN5Z8v M7yc5U839aeTCKdiRQmPA7Y3DXVBgMHHOGTFF9U11uSdqSKTeCHwsMVrb6/akaX2rfDE XCKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@unikie-com.20150623.gappssmtp.com header.s=20150623 header.b=BX8FOjSk; 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 92si11426561edk.74.2020.05.13.06.42.59; Wed, 13 May 2020 06:43:23 -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; dkim=pass header.i=@unikie-com.20150623.gappssmtp.com header.s=20150623 header.b=BX8FOjSk; 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 S2388668AbgEMNjQ (ORCPT + 99 others); Wed, 13 May 2020 09:39:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388537AbgEMNjI (ORCPT ); Wed, 13 May 2020 09:39:08 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75A63C061A0C for ; Wed, 13 May 2020 06:39:08 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id a2so14245489ejx.5 for ; Wed, 13 May 2020 06:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unikie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QqbYeA4KoNOGLDU4w91JLxJmMWvxI9R71hazf6AYiqA=; b=BX8FOjSkWi+v7YmCoxcilRdbPXqC8noIYuJCrduGbzn7537ea+xIbgIIp4kaWmk8Fs OTtCKMG89H8kgolwqbUez64KldKIG5RfESbd/KBLwEF04/mFeqR5Q/M/J8iRKKbBtBf8 QujUSjjVo+cCnRhDeoXPCoBzvM8jtZQale0ODZX6wk4CqYNjakmZNjCfXhGRTc1f7u57 toHx7cR/YJ4wVHPRbfAee+NDufr/UM/bPDeq1jEBmLchIRFN8CL5VAgHtdeQNsnA1mFY 3PYx71UqIzxvlNEpY90a4aK/ll0JFFZnlPudLKn75GnHLMKSNdftS84UEznv8S60EVGL yOjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QqbYeA4KoNOGLDU4w91JLxJmMWvxI9R71hazf6AYiqA=; b=N50TzbfV+NO+J4b2GscRbbNkxg5GRsiQ4i/NvNzlD6m7cExLVrPhjtA++GuvhX1+s2 OU9F6VhN7LN38hyYcYE/sBHbdidYZmGX5NQ5sgbX4t5DTIYDt5NIC7V6Mm8uWFJudEh9 zPn4eiVnB82fF5WYs7SCnsEOL+BWbn1ytuXu0CPZhuh1SMu8wzyglB71kxE73XQrPhFh kruo0RbIi+BqaluqjfsXu+IUAV7+4X/j0D2L+OVwnD7zbdh24+FJ51ZORtJdhH83j0/E UHZ2xNrCovMGEfFR6wxwFiC8KmcndHLCdg+vOWNzxGrIXeAQEem2bJp4i0o6AqUrcu/g +g7g== X-Gm-Message-State: AGi0PuYvUs6TJeQOwE8KDOL1cbL5jLjMFn8MAXT5GvpFlTirelG/qAHI fdol25pEMwLDyeNYURzpLRHlzPKzNaC5jJNoPibUlw== X-Received: by 2002:a17:907:9d6:: with SMTP id bx22mr20613524ejc.110.1589377147162; Wed, 13 May 2020 06:39:07 -0700 (PDT) MIME-Version: 1.0 References: <20200507180553.9993-1-john.mathew@unikie.com> <20200507180553.9993-3-john.mathew@unikie.com> In-Reply-To: From: John Mathew Date: Wed, 13 May 2020 16:38:55 +0300 Message-ID: Subject: Re: [RFC PATCH v3 2/3] docs: scheduler: Add scheduler overview documentation To: Dietmar Eggemann Cc: Valentin Schneider , 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 , rostedt@goodmis.org, Benjamin Segall , mgorman@suse.de, bristot@redhat.com, tsbogend@alpha.franken.de, Lukas Bulwahn , x86@kernel.org, linux-mips@vger.kernel.org, tglx@linutronix.de, Mostafa Chamanara , Randy Dunlap , Oleg Tsymbal Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 8, 2020 at 1:58 PM 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). Added in pathset v4. Thanks