Re: Modifying isolcpus, nohz_full, and rcu_nocb kernel parameters at runtime

From: Tejun Heo
Date: Thu Dec 07 2023 - 17:41:15 EST


(cc'ing Waiman)

On Thu, Dec 07, 2023 at 05:32:15PM +0100, Vincent Guittot wrote:
> 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
> <gianfranco.dutka@xxxxxxxxxx> wrote:
...
> > 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? Doing some reading online it seems that it’s not possible but I wanted to double check with the maintainers if there wasn’t some sort of change in the works that might make it possible. If not, what would be required to make the change after boot-time through some kind of patch or something 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.

FWIW, Waiman has been improving both the usability and level of isolation
with cpuset, so it should be better now.

Thanks.

--
tejun