Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp101410ybt; Thu, 25 Jun 2020 16:27:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi1RaLWUyyF+kRqm99FkQ6nTFjjulJyTQn09e8O8NDnjHM75yUPPXHRLSI3qogWFAZ18bF X-Received: by 2002:a17:906:b45:: with SMTP id v5mr162617ejg.464.1593127667530; Thu, 25 Jun 2020 16:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593127667; cv=none; d=google.com; s=arc-20160816; b=mkHtXlCERcvcXTyFB7F/y6mJsynzg0MNAj1qW8I/TfmMzQ6M+g4BcbzS/CXBtD0qlc TQHpd34fvBgWP1Taeqkc8J1kGwdzT+/KvJ0hWsefHsFANvdAZz/zZDeILLQJ+nrnmNp7 5LHdtqCr5h97EE5V3pH2L1hFZtOwk00bKMMX2Ksu5NwaIkyxcCOZF1CxcnvhaP9ZzEaf nVvoYLTEDGha9hMvW39FnJjMO+QumZTfVCRausDaaEiBIreuLJSxcp8L0GA/P2WiZUI4 uSJ5VYk+0L7AqGlsmLQTOvQ23/wuc5LSxRGs88vawnQKIDDUkekKLNOUdngoQ4e8NotQ 0X1g== 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=AjqWFPXEnWS3hoGvyuAvg6oRK8aZbk3ZdmtLDlSQuNw=; b=wRl07Ze1r9ovsCCus7Tuxm6C17QOYvu0eCRiQcm6qF2/jtpFXURm0+lkYVsYA1cF+8 abGrkLffDARwoGUkQLs4HTuS4vf2GCCBDtSDGwmuuE6iNAPTnj4euNsvhpCQMJoF+uib ipobUb+HwcaUCTne91i2dk2EkDtXUJSXEYRcw47d4P2ddg77atcZITwOZFiUOlbH6zz0 k09nR3R/OX536ksNCxDWmGU7A+bZJqhXpwAfVSMkTH93dH9b+TR3pkoTNWNPjFpn0+Uj qtrVIMoxT7fYuTiqt9uQmd894JES1HMMbPI2MLUuQcfJwKnYp8vCrLt5PRj/AatWt/gb uyNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@digitalocean.com header.s=google header.b=au1Yo8Fv; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h2si15056283ejp.405.2020.06.25.16.26.52; Thu, 25 Jun 2020 16:27:47 -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=@digitalocean.com header.s=google header.b=au1Yo8Fv; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403928AbgFYUMy (ORCPT + 99 others); Thu, 25 Jun 2020 16:12:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390575AbgFYUMx (ORCPT ); Thu, 25 Jun 2020 16:12:53 -0400 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6593BC08C5C1 for ; Thu, 25 Jun 2020 13:12:53 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id 64so6500767oti.5 for ; Thu, 25 Jun 2020 13:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digitalocean.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AjqWFPXEnWS3hoGvyuAvg6oRK8aZbk3ZdmtLDlSQuNw=; b=au1Yo8FvpDT6JOJ1tXi7hHdaT6OsuGU81rIqsZupygmz8kNlehMXfBQd/SgFCSSlmi /xIuS1VXZQOM12Prs/mj57U1kYzLhf7s28QCGEXeNmf/B9hoPiPgknBcL+lA88raxiiM TFRA4Pacwk86XJZl92upnXEd/IjkwC4xz6CtE= 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=AjqWFPXEnWS3hoGvyuAvg6oRK8aZbk3ZdmtLDlSQuNw=; b=AQP3rm93ULlkkE76jvvP4+xeARE8s+nOCI9b/93bd4Hdu0Y6FDh/K1TypoxvX4nwXf fmPvTPXocVjwQqa7P9oAGUty4VOo0JSF0H0XgzNe2tqE5g7N2KhdtbiG3SjKXFsUsInT K2sYHyaurkNgfsNUZdfBpSrgK6gudixzyY7CoeCnw0bRelT7jOCGo4yg7bYd2990s+Qv 9l64GSbonXXwo6F04FV4ztAeSR4Cl6H4kzJZ+1lWr8fhMzYhxl0YXlwBrzJff0fe+9XI ZHjneicTmLcbEoyw6iGoEXTgs4FmikSd/N70PyZieuVi3UhxoCpN2/3iTuT8/oBl9ifE CqsA== X-Gm-Message-State: AOAM532kBwMC666dZme9enZBmbbHyBJwv1DrOUrINOpHFUk7uXJR6sJN GlugIe0mYi/QOcOlfF2mZNoo0esEsEtKA9r4hCk1HA== X-Received: by 2002:a05:6830:8a:: with SMTP id a10mr27261522oto.246.1593115972631; Thu, 25 Jun 2020 13:12:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vineeth Remanan Pillai Date: Thu, 25 Jun 2020 16:12:41 -0400 Message-ID: Subject: Re: [RFC PATCH 00/13] Core scheduling v5 To: Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Tim Chen , Linus Torvalds Cc: Linux List Kernel Mailing , =?UTF-8?B?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= , Ingo Molnar , Kees Cook , Thomas Gleixner , Greg Kerr , Phil Auld , Aaron Lu , Aubrey Li , "Li, Aubrey" , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , Joel Fernandes , Joel Fernandes , Paul Turner 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 Wed, Mar 4, 2020 at 12:00 PM vpillai wrote: > > > Fifth iteration of the Core-Scheduling feature. > Its probably time for an iteration and We are planning to post v6 based on this branch: https://github.com/digitalocean/linux-coresched/tree/coresched/pre-v6-v5.7.y Just wanted to share the details about v6 here before posting the patch series. If there is no objection to the following, we shall be posting the v6 early next week. The main changes from v6 are the following: 1. Address Peter's comments in v5 - Code cleanup - Remove fixes related to hotplugging. - Split the patch out for force idling starvation 3. Fix for RCU deadlock 4. core wide priority comparison minor re-work. 5. IRQ Pause patch 6. Documentation - https://github.com/digitalocean/linux-coresched/blob/coresched/pre-v6-v5.7.y/Documentation/admin-guide/hw-vuln/core-scheduling.rst This version is much leaner compared to v5 due to the removal of hotplug support. As a result, dynamic coresched enable/disable on cpus due to smt on/off on the core do not function anymore. I tried to reproduce the crashes during hotplug, but could not reproduce reliably. The plan is to try to reproduce the crashes with v6, and document each corner case for crashes as we fix those. Previously, we randomly fixed the issues without a clear documentation and the fixes became complex over time. TODO lists: - Interface discussions could not come to a conclusion in v5 and hence would like to restart the discussion and reach a consensus on it. - https://lwn.net/ml/linux-kernel/20200520222642.70679-1-joel@joelfernandes.org - Core wide vruntime calculation needs rework: - https://lwn.net/ml/linux-kernel/20200506143506.GH5298@hirez.programming.kicks-ass.net - Load balancing/migration changes ignores group weights: - https://lwn.net/ml/linux-kernel/20200225034438.GA617271@ziqianlu-desktop.localdomain Please have a look and let me know comments/suggestions or anything missed. Thanks, Vineeth