Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1779068rdb; Thu, 7 Dec 2023 08:32:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHlSOAJuYpVgKCg853+3sVEyTRKSx6fLMsdoV+xYHVdc0aRO7hAjEhFz204PFotfkFoKR4 X-Received: by 2002:a05:6a20:7d9f:b0:14c:c393:6af with SMTP id v31-20020a056a207d9f00b0014cc39306afmr2603087pzj.0.1701966766363; Thu, 07 Dec 2023 08:32:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701966766; cv=none; d=google.com; s=arc-20160816; b=fLU5aGXQ8Jnbid/vhkUt8t0TMuNIfCNhwiFUzd90GKz9oFIFeYOnL4N0azByiSU449 ECl5pM9tXV/m9ORhNypB0pmJxLfY1jUEmarqs6h7IFU5FSYyctVYJzvs4cpx4pAXPFmC E+MLJwAszrQ/qoFCNm7PROUYghj77vxJ511ktA4E7brIxsflb/m9g25A3ax9KBPx/X8d 74CiMDDYFkBeGXSrDg9kWQslnMchoH8TKbIbO4TA8F4BSUCrFbzQb323V8z0TncWHman Qm3gq9Zf6F217NsoByUu/GYEI6v5L/PdATAPBt07JTvQ6mBDB6roU0dK/Dw1XR5dcva4 tZzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=esUGZflfku9DXDzsKmGJoCZTKHSMJXxpWGFrjWaHjY4=; fh=chzod622w8BqzruJvD/oQSwAIas01a84HdSQEaQfEAw=; b=o2nrr3ibnmrX+b3o7h8GDrsDF+5ZjrNxT+vYjK22HsytuzFK2SXFYy3L9+3aH+mjml 5C2CuwVpqSrUyUzpj+qRtNiqDVHpriyq0Cg4CzKogY3m77mGx4N6pVZ4ksW6gL4icBWn jOZ2qbk3Cj5ip/LpmyZuxLhD5qmi3N6N/bDdF8P/wFD6hlOe5gGH4SwYqae/cZXrp4kK gUjNX1gpzgMo177Zw7KNICmqwj8JsGpJHgIWVvNEkOZz5JuaFYTisX7QUderJa2k61jR V4vDPK1k3APUQ/LSNAPD3M6mg2k5nEw2rhQLlcjQZt9UvPpw6OqB/3WjS65b4RBCsyZi MtsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qWROFk9j; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j8-20020a63ec08000000b005c603f06562si1467723pgh.333.2023.12.07.08.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:32:46 -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=@linaro.org header.s=google header.b=qWROFk9j; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id BB31182C5153; Thu, 7 Dec 2023 08:32:42 -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 S229949AbjLGQc2 (ORCPT + 99 others); Thu, 7 Dec 2023 11:32:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233092AbjLGQcY (ORCPT ); Thu, 7 Dec 2023 11:32:24 -0500 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3D371713 for ; Thu, 7 Dec 2023 08:32:27 -0800 (PST) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6cec976b197so40704b3a.0 for ; Thu, 07 Dec 2023 08:32:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701966747; x=1702571547; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=esUGZflfku9DXDzsKmGJoCZTKHSMJXxpWGFrjWaHjY4=; b=qWROFk9j/J7UnhfyVAxPOwxo5RqYWnL+rvqGvUsirU6+vKFgt/d1C/27dMq0TnHd00 bOgRsrmTETKEMTUyGdNeGArbJIvvMjJw1AOSmw4RanHTGZyZDLRJ5HXVzpw0+bzdJMlS oRYy0bpoX9hahRVlJd8T2L60uGPwAm06IplHB5R0S0l/CwXvEdltx3JLdBjz42h3iE2K HZpan3qdL081spUht4BIYnEjQi/rbAUd3REpndR8Zo6SSdWH92YSnnHNi6LMFGI4vzDt YYCGKdOAwNhsR1Td5CxSdU3ZwEBGS1ocYh8iiPbSDYqN3AQ3jvN88dQmWICiv9c2DyXH thkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701966747; x=1702571547; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=esUGZflfku9DXDzsKmGJoCZTKHSMJXxpWGFrjWaHjY4=; b=nBRuvfcDaxjeHfPu61NvXdG1F4XIFetIVmcnqNlRUfklQCxcLVtujScLzd582uw8sC A0/Xi32R6Nl7wg2FvGeq7XzJHKa0dv4rXwEkKm8tgck+FXVj+i5LLZO7+pZwL3Z460FK pEojXjT4Uu4IFMJmc02sK4QLayRqYScMuioOo/BmP989UlguvEDprjo7Ows/ERbS0v1B FFQkYag7z3rIXLlayMiMW5kTiXh6Dk+/Di31a7FLySciJbtO++vyfLdcRR6rm6RP6COz rCKMxe8STa8iAZSElWxazx65EmRpfi6oGmPOjZlldND+F+TpT7zYbZckrqyW5aJlnkKR eKYQ== X-Gm-Message-State: AOJu0YxuV5IvKlZIKxm+o3W/9stO08LQ4nf4I7+kvCqy49jXwmsUyvxQ YThsP6jeJn8SlVqA/EY64MkuQsGTw+EnBpx6OheyyA== X-Received: by 2002:a05:6a00:a04:b0:6ce:696f:d0f5 with SMTP id p4-20020a056a000a0400b006ce696fd0f5mr2936740pfh.31.1701966747287; Thu, 07 Dec 2023 08:32:27 -0800 (PST) MIME-Version: 1.0 References: <76587DD3-2A77-41A3-9807-6AEE4398EBA6@arista.com> In-Reply-To: <76587DD3-2A77-41A3-9807-6AEE4398EBA6@arista.com> From: Vincent Guittot Date: Thu, 7 Dec 2023 17:32:15 +0100 Message-ID: Subject: Re: Modifying isolcpus, nohz_full, and rcu_nocb kernel parameters at runtime To: Gianfranco Dutka Cc: 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 , Tejun Heo , "Pandruvada, Srinivas" , Frederic Weisbecker Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=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]); Thu, 07 Dec 2023 08:32:42 -0800 (PST) Hi Gianfranco, + Adding all scheduler maintainers and few other people that are working on similar things On Thu, 7 Dec 2023 at 16:07, Gianfranco Dutka wrote: > > Good afternoon maintainers and subscribers to the lkml, > > I'm a bit new to kernel development but I had a question with respect to = the kernel parameters: isolcpus, nohz_full, and rcu_nocbs. > > Basically the question is this, am I able to modify the three parameters = I mentioned above at runtime after the kernel has already started/booted? D= oing some reading online it seems that it=E2=80=99s not possible but I want= ed to double check with the maintainers if there wasn=E2=80=99t some sort o= f change in the works that might make it possible. If not, what would be re= quired to make the change after boot-time through some kind of patch or som= ething like that? Would that be something that might be valuable upstream? It's not possible but you can achieve something close with cgroup although you will still have some housekeeping activities happening in your partition. This thread tries to do something similar: https://lore.kernel.org/lkml/20230804090858.7605-1-rui.zhang@intel.com/ > > At the moment we are running an application that might see some benefit f= rom being able to isolate cpus on the fly without having to reboot everythi= ng every time we want to modify the parameters mentioned above. > > Thanks, > Gianfranco