Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-09 Thread Frederic Weisbecker
On Mon, Sep 07, 2020 at 05:34:17PM +0200, pet...@infradead.org wrote: > > (your mailer broke and forgot to keep lines shorter than 78 chars) I manually reordered the lines and that's indeed quite a mess :o) > > On Tue, Sep 01, 2020 at 12:46:41PM +0200, Frederic Weisbecker wrote: > > > == TIF_N

Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-09 Thread Frederic Weisbecker
On Fri, Sep 04, 2020 at 01:47:40PM -0700, Paul E. McKenney wrote: > On Tue, Sep 01, 2020 at 12:46:41PM +0200, Frederic Weisbecker wrote: > > Hi, > > > > I'm currently working on making nohz_full/nohz_idle runtime toggable > > and some other people seem to be interested as well. So I've dumped > >

Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-09 Thread Frederic Weisbecker
On Thu, Sep 03, 2020 at 03:52:00PM -0300, Marcelo Tosatti wrote: > On Thu, Sep 03, 2020 at 02:36:36PM -0400, Phil Auld wrote: > > exclusive cpusets is used now to control scheduler load balancing on > > a group of cpus. It seems to me that this is the same idea and is part > > of the isolation con

Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-09 Thread Frederic Weisbecker
On Thu, Sep 03, 2020 at 03:23:59PM -0300, Marcelo Tosatti wrote: > On Tue, Sep 01, 2020 at 12:46:41PM +0200, Frederic Weisbecker wrote: > > == Unbound affinity == > > > > Restore kernel threads, workqueue, timers, etc... wide affinity. But take > > care of cpumasks that have been set through othe

Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-07 Thread peterz
(your mailer broke and forgot to keep lines shorter than 78 chars) On Tue, Sep 01, 2020 at 12:46:41PM +0200, Frederic Weisbecker wrote: > == TIF_NOHZ == > > Need to get rid of that in order not to trigger syscall slowpath on > CPUs that don't want nohz_full. Also we don't want to iterate all

Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-04 Thread Paul E. McKenney
On Tue, Sep 01, 2020 at 12:46:41PM +0200, Frederic Weisbecker wrote: > Hi, > > I'm currently working on making nohz_full/nohz_idle runtime toggable > and some other people seem to be interested as well. So I've dumped > a few thoughts about some pre-requirements to achieve that for those > interes

Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-03 Thread Marcelo Tosatti
On Thu, Sep 03, 2020 at 02:36:36PM -0400, Phil Auld wrote: > On Thu, Sep 03, 2020 at 03:30:15PM -0300 Marcelo Tosatti wrote: > > On Thu, Sep 03, 2020 at 03:23:59PM -0300, Marcelo Tosatti wrote: > > > On Tue, Sep 01, 2020 at 12:46:41PM +0200, Frederic Weisbecker wrote: > > > > Hi, > > > > > > Hi Fr

Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-03 Thread Phil Auld
On Thu, Sep 03, 2020 at 03:30:15PM -0300 Marcelo Tosatti wrote: > On Thu, Sep 03, 2020 at 03:23:59PM -0300, Marcelo Tosatti wrote: > > On Tue, Sep 01, 2020 at 12:46:41PM +0200, Frederic Weisbecker wrote: > > > Hi, > > > > Hi Frederic, > > > > Thanks for the summary! Looking forward to your commen

Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-03 Thread Marcelo Tosatti
On Thu, Sep 03, 2020 at 03:23:59PM -0300, Marcelo Tosatti wrote: > On Tue, Sep 01, 2020 at 12:46:41PM +0200, Frederic Weisbecker wrote: > > Hi, > > Hi Frederic, > > Thanks for the summary! Looking forward to your comments... > > > I'm currently working on making nohz_full/nohz_idle runtime togga

Re: Requirements to control kernel isolation/nohz_full at runtime

2020-09-03 Thread Marcelo Tosatti
On Tue, Sep 01, 2020 at 12:46:41PM +0200, Frederic Weisbecker wrote: > Hi, Hi Frederic, Thanks for the summary! Looking forward to your comments... > I'm currently working on making nohz_full/nohz_idle runtime toggable > and some other people seem to be interested as well. So I've dumped > a few

Requirements to control kernel isolation/nohz_full at runtime

2020-09-01 Thread Frederic Weisbecker
Hi, I'm currently working on making nohz_full/nohz_idle runtime toggable and some other people seem to be interested as well. So I've dumped a few thoughts about some pre-requirements to achieve that for those interested. As you can see, there is a bit of hard work in the way. I'm iterating that