lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250418092828.GP38216@noisy.programming.kicks-ass.net>
Date: Fri, 18 Apr 2025 11:28:28 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: K Prateek Nayak <kprateek.nayak@....com>
Cc: Vincent Guittot <vincent.guittot@...aro.org>,
	Shrikanth Hegde <sshegde@...ux.ibm.com>,
	"Chen, Yu C" <yu.c.chen@...el.com>,
	Tim Chen <tim.c.chen@...ux.intel.com>,
	Ingo Molnar <mingo@...nel.org>, Doug Nelson <doug.nelson@...el.com>,
	Mohini Narkhede <mohini.narkhede@...el.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sched: Skip useless sched_balance_running acquisition if
 load balance is not due

On Fri, Apr 18, 2025 at 10:56:04AM +0530, K Prateek Nayak wrote:
> Hello Peter,
> 
> On 4/17/2025 5:31 PM, Peter Zijlstra wrote:
> > > o Since this is a single flag across the entire system, it also implies
> > >    CPUs cannon concurrently do load balancing across different NUMA
> > >    domains which seems reasonable since a load balance at lower NUMA
> > >    domain can potentially change the "nr_numa_running" and
> > >    "nr_preferred_running" stats for the higher domain but if this is the
> > >    case, a newidle balance at lower NUMA domain can interfere with a
> > >    concurrent busy / newidle load balancing at higher NUMA domain.
> > >    Is this expected? Should newidle balance be serialized too?
> > 
> > Serializing new-idle might create too much idle time.
> 
> In the context of busy and idle balancing, What are your thoughts on a
> per sd "serialize' flag?

My sekret hope is that this push stuff can rid us all the idle balance
bits. But yeah, early days on that.

Other than that, I don't quite see why we should split that, busy
balancing is the one that runs more often and is the one that should be
serialized to avoid too much cross node traffic and all that, no?

The idle thing is less often, why not limit that?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ