[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YMm2bWq9XfaPeSka@hirez.programming.kicks-ass.net>
Date: Wed, 16 Jun 2021 10:29:33 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Vincent Guittot <vincent.guittot@...aro.org>
Cc: Yafang Shao <laoar.shao@...il.com>, Ingo Molnar <mingo@...hat.com>,
Juri Lelli <juri.lelli@...hat.com>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Benjamin Segall <bsegall@...gle.com>,
Mel Gorman <mgorman@...e.de>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
Valentin Schneider <valentin.schneider@....com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] sched, fair: try to prevent migration thread from
preempting non-cfs task
On Wed, Jun 16, 2021 at 09:29:55AM +0200, Vincent Guittot wrote:
> On Wed, 16 Jun 2021 at 09:15, Peter Zijlstra <peterz@...radead.org> wrote:
> > The suggestion was adding a cfs_migration thread, specifically for
> > active balance (and maybe numa). Just not sure the cost of carrying yet
> > another per-cpu kernel thread is worth the benefit.
>
> Also, this will not completely remove the problem but only further
> reduce the race window because the rq is locked and the irq disable in
> active_load_balance_cpu_stop().
It removes the problem of active migration interfering with this
worklaod, because the FIFO1 task will never run until that is done
(assuming he manages to not have his workload at FIFO1).
Powered by blists - more mailing lists