Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2370546rdb; Fri, 8 Dec 2023 06:21:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcUGPJmFSKo8Oce4CVA8VdPUW7AamkeztnhYRu8G5mtW1gTBdbtsT7yAamlP1lb1frL5pc X-Received: by 2002:a17:903:22cc:b0:1d0:a53e:263a with SMTP id y12-20020a17090322cc00b001d0a53e263amr85648plg.109.1702045288082; Fri, 08 Dec 2023 06:21:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702045288; cv=none; d=google.com; s=arc-20160816; b=jECmqiVfPZtxjClORmHEByr0R1KmJzhnKunFViDWM0atX3GvOP5wjjFZWo4vF97IEW qktObRUoPLzNfS5i9/bi94Tvtr9u6aSY4zme42U0Ta1r7IitANFIEKDD/AXe++0x34Kb r+KiDo56kTo8icaM0p6oXZQV8TigUdC3EgOwNFYDSU4wx2yrcIve1vURfjgIAHTqTTmU oM6CxuBkC0pmJAG41KT8qBOpGhItfE0CVIbDouONY6CcVmg9bse2gmRTZnxHzIR2ZTCm KEBf6+w9tiLARY7Y9y+ZqPfgrtDEyq3XIekc32Y2HMZBq/0Bkn2GkTYmdd2qlBSrbG21 Z1Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=hCd0FA+bVQeIcvXDa2TD93zB2DHUHCGJqjnMlAyvxpQ=; fh=OBVmEBnGN19c8/hBMno4OTQVVgMxV736L3ZoGupz3W4=; b=nlL3dUuFKzxuYTs5jhfpCXAum9/Nt726fS3rvYuWg+wyYPtdI0HeFw2KJDJ5Sw89Lr /5su3dslnQpTHAEyqewwmSCxWssfWithbOr2tPMaDAbUxqBldRJQArtLvOjv73OghAnE LC1w0nYm6EVLXmN/dnWcpE5Bl9HSo/y8CxVm0ywexSimhMAkvYvkgVKP0uqO7Aa8csbZ QI+7fe7PDp6RfPdeRuXMzieSUuR3O+NGVRCoYtt5tCf14M+VBMfNQ6VTfFHWs440mUS/ JPLrbF9o9+1fLIrGmREwBc/taEu3ILt+XbKoyk0rTRHcVIWkMcajNtmRNDZnKyK/7spq yMcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arista.com header.s=google header.b=Q58QdoEO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id sj10-20020a17090b2d8a00b002865834e839si1737280pjb.56.2023.12.08.06.21.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 06:21:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@arista.com header.s=google header.b=Q58QdoEO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id AA8F28055AC3; Fri, 8 Dec 2023 06:21:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573944AbjLHOVJ (ORCPT + 99 others); Fri, 8 Dec 2023 09:21:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573924AbjLHOVI (ORCPT ); Fri, 8 Dec 2023 09:21:08 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 393F1FA for ; Fri, 8 Dec 2023 06:21:15 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1d05212a7c5so15614495ad.0 for ; Fri, 08 Dec 2023 06:21:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=google; t=1702045274; x=1702650074; darn=vger.kernel.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hCd0FA+bVQeIcvXDa2TD93zB2DHUHCGJqjnMlAyvxpQ=; b=Q58QdoEO7IZqcj+XAVjmCWJ/0Uv3IfW6ctWelx5o+/ujY36mWDdtrjcCL9UmbnzZJq q5PDMcwWvKMH+Ytz+gV81Tg+bVbQHfMjhRGiFa5E+iUNb2LyJZ6wOqnkXkx3DKxNqXuH xejGfxfwk2vUXC+5fm9PS81liaCUouU9cTfFV//6JOZ/Ogc58behztEyrFDcP8Reoh9G dcIp7pJR2m5UUkNsNhQqEGrYHThsiu1z7+95cJ1ZnhbIHLRXx8d8eYzMTaplPt8vKeoP drgn5FePdQ+m2+XngSL5jVJ+Z/gPELBDXgfw9BjKy4BW0q+CWThuy9slPrAdBTfRaN8E 2P9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702045274; x=1702650074; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hCd0FA+bVQeIcvXDa2TD93zB2DHUHCGJqjnMlAyvxpQ=; b=AR2eqV2Qd6IPlUmXPD8/S8F4Hwg0lNWKwaLqgprq69ZZkIM7sPZVKxTslVEyPSlrYV 4h7r27DOgSSa+L+dAtDli5XQAAdfFjkp3LYdNPQGtYMEtx5w4o6NSeGPWICA2aSGbpC1 vx8n26NHATSa7OjGChZkjIqxOeAYtxYrtcXHMpnItzD/kKUWiN4sl6MBmkR6Qt9dXe77 WE098AfiFKXmiha1lNeIjHNg5/jK9k5DxclpolxvHTacs3DWU93OIuit4qqb0JRvMuFc qh3UFNgiIU9NKGsyL8b/ZXP8u8tkJ2Q3/uRjuGVx38lRUIFKHHK8iSxSEhLc9x9KUGd6 jvNw== X-Gm-Message-State: AOJu0YyvxsI8BHsC7VCqVXXs/So2+FL3IpPKdLtQzknX0fqs9HLEciwU kmx76iaRmJ+2UwAoH3gCaLOCNg== X-Received: by 2002:a17:903:40c6:b0:1d0:9c54:2fa5 with SMTP id t6-20020a17090340c600b001d09c542fa5mr92862pld.25.1702045274612; Fri, 08 Dec 2023 06:21:14 -0800 (PST) Received: from smtpclient.apple ([2600:1700:63d0:ab90:b485:daaf:65e2:834]) by smtp.gmail.com with ESMTPSA id jh5-20020a170903328500b001b53953f306sm1755818plb.178.2023.12.08.06.21.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Dec 2023 06:21:14 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Modifying isolcpus, nohz_full, and rcu_nocb kernel parameters at runtime From: Gianfranco Dutka In-Reply-To: Date: Fri, 8 Dec 2023 09:21:11 -0500 Cc: Tejun Heo , Vincent Guittot , linux-kernel@vger.kernel.org, vincent.guittot@linaro.com, Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , "Pandruvada, Srinivas" , Frederic Weisbecker Content-Transfer-Encoding: quoted-printable Message-Id: <6EE460E1-BDC2-4AD5-B5A9-34AA0692BA05@arista.com> References: <76587DD3-2A77-41A3-9807-6AEE4398EBA6@arista.com> To: Waiman Long X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Fri, 08 Dec 2023 06:21:25 -0800 (PST) > The isolcpus, nohz_full and rcu_nocbs are boot-time kernel parameters. = I am in the process of improving dynamic CPU isolation at runtime. Right = now, we are able to do isolcpus=3Ddomain with the isolated cpuset = partition functionality. Other aspects of CPU isolation are being looked = at with the goal of reducing the gap of what one can do at boot time = versus what can be done at run time. It will certain take time to reach = that goal. >=20 > Cheers, > Longman Thank you Waiman for the response. It would seem that getting similar = functionality through cgroups/cpusets is the only option at the moment. = Is it completely out of the question to possibly patch the kernel to = modify these parameters at runtime? Or would that entail a significant = change that might not be so trivial to accomplish? For instance, the = solution wouldn=E2=80=99t be as simple as patching the kernel to make = these writeable and then calling the same functions which run at = boot-time when these parameters are originally written?=20 Thanks, Gianfranco=