Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12049787rwd; Fri, 23 Jun 2023 00:13:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6mXW0Rh14YiUM3ipuz3F/VUnUV+swLNwQaIiCgYWtkJr4yl5L2eVBLjYnB3/ruM8hYa3D/ X-Received: by 2002:a17:90a:fe82:b0:25e:9fc0:d5c with SMTP id co2-20020a17090afe8200b0025e9fc00d5cmr15318014pjb.0.1687504405217; Fri, 23 Jun 2023 00:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687504405; cv=none; d=google.com; s=arc-20160816; b=D6jtWTLO9dzqVjaz5+w1j081ndMhFA06of1dfopHwrKvYFT9xHjnBFljmSO+4tPWGo 1c/7KY8CC6ox5HyWW3AYH1HI/eqvptoBR8tBNUdOvm1C5DlaD6nbLa74noxbnc4JRqGz j443JmTaY/FbNIc3F398rnQ5UGChurmtwCabkeJ7GZPPHf1jhkFHL0AFp07R0C+h2G7I C106rIR4QEBWxu6ly0L2jy7OHSYw0AWTskFi5JtrXWxnP+eTX1mlVviK1PQDOP/UA8/4 2DVKw748WMXYi5yWefB5FK+nFgwqwAXZpkRqw9UGHu1GpstfSw55ywksMKMZBjQy3dgf FT9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=rFT78m20kv5Zp0OWG9o9DdfECnlPgnpU2lfqbrc0Nbo=; fh=m9w6Rdotg4FQYrypohwFIuB1wXZ7MCcokt0XNzlKCJM=; b=uVuaHW7NfZJa9p3oiRe0xcwHZWQ8R1UPVg+HX9cUQe6ibyUI7fZTfHHFDWN3KcmOOj 20CRIIKNa9/q/hpJJEMtxqkEiLO26KOxgjdVF98g0cp04r8gG4+ffRXlm5YvpKfIgdVg 95acHKoSr2Xi8pxGzwHkyQoreV3Dos9bAtKcnd6SD6d/fdYSNAq2rwfypkEeVdVRZ0Hv ItpoTAJVWl7S9V1VQdKVH7J0c26HPwSw6ImqYIk2gxKSpm8XDEV6IcHPHO9DgxFtCJNl pHFct17lo/EZ9Qd44kOPWL1V1qXXR5n1NhDqlxk4PaEu312qr5tNQkD2UBjTm6kaYYIP /EwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4T3Sz18M; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 20-20020a17090a1a1400b0025e9df04869si1314964pjk.164.2023.06.23.00.12.47; Fri, 23 Jun 2023 00:13:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4T3Sz18M; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjFWGhg (ORCPT + 99 others); Fri, 23 Jun 2023 02:37:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjFWGhf (ORCPT ); Fri, 23 Jun 2023 02:37:35 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D47119AB; Thu, 22 Jun 2023 23:37:33 -0700 (PDT) Date: Fri, 23 Jun 2023 08:37:26 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1687502250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rFT78m20kv5Zp0OWG9o9DdfECnlPgnpU2lfqbrc0Nbo=; b=4T3Sz18MnmUimjVRkNoAm3Fu5/eHk6ybOUbOYWBpO402H9BWYf2eWbpUn2RB4TWo3bbMdF PUh2CZEDl0cAEqQFZ74o1/g2zCuy+ZNJKwn2KC5O6y8foZsDc0uMmltY9PWaFJFdAQOjQ/ J5BTyJejsz3K5ht7ueZzaCGfkeM4vg6xQWVrmiDCbHY1vZaYniXwDAgooqwMj1l4xq7qOY 2fUW3AK8oBOgMbsRrUnNg4vLFhKRmy6nNKv7bRo2S2BuGLm13yePZPomjbpBNVdecpMzCQ 0pkwgvmVPq58SjfB1KCQvAIrlv0BLgcRxlJpAHOC2eiia1Ia21LIJp0VTDwLYA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1687502250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rFT78m20kv5Zp0OWG9o9DdfECnlPgnpU2lfqbrc0Nbo=; b=4AZg7Crmy4sooozGf5+58z1+wkgZjvwgAY6qEBanFmt8OT6GujGaYk7HW+e47rsfzV2WpX Fr9JYVfCbS914oBQ== From: Sebastian Andrzej Siewior To: John Johansen Cc: Mathieu Desnoyers , Swapnil Sapkal , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Aaron Lu , x86@kernel.org, Andrew Morton , Thomas Gleixner Subject: Re: [tip: sched/core] sched: Fix performance regression introduced by mm_cid Message-ID: <20230623063726.ejuc6v9D@linutronix.de> References: <168214940343.404.10896712987516429042.tip-bot2@tip-bot2> <09e0f469-a3f7-62ef-75a1-e64cec2dcfc5@amd.com> <20230620091139.GZ4253@hirez.programming.kicks-ass.net> <44428f1e-ca2c-466f-952f-d5ad33f12073@amd.com> <3e9eaed6-4708-9e58-c80d-143760d6b23a@efficios.com> <6c693e3b-b941-9acf-6821-179e7a7fe2b8@efficios.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 2023-06-21 16:59:31 [-0700], John Johansen wrote: > > Which turned a per-cpu cache into a global memory pool protected by a spinlock. It may benefit RT, but it does not appear to be so great at scaling. > > > it is not. And I have a patch that needs some more formal testing for some stats. > Ubuntu pulled it in last cycle so it has gotten a fair bit of use and is looking good > on that end. There are probably some tweaks that can be done to improve it. The > backoff in particular is something that has mostly been adjusted in response to some > basic benchmarking. > > anyways patch below > > commit e057e9b47f1749882ea0efb4427d6b9671c761ab I think I've been looking at this patch, or a former version of it, and it looked good. Sebastian