Re: Topology updates and NUMA-level sched domains

2015-04-10 Thread Nishanth Aravamudan
On 10.04.2015 [10:31:53 +0200], Peter Zijlstra wrote: > On Thu, Apr 09, 2015 at 03:29:56PM -0700, Nishanth Aravamudan wrote: > > > No, that's very much not the same. Even if it were dealing with hotplug > > > it would still assume the cpu to return to the same node. > > > > The analogy may have be

Re: Topology updates and NUMA-level sched domains

2015-04-10 Thread Nishanth Aravamudan
On 10.04.2015 [11:08:10 +0200], Peter Zijlstra wrote: > On Fri, Apr 10, 2015 at 10:31:53AM +0200, Peter Zijlstra wrote: > > Please, step back, look at what you're doing and ask yourself, will any > > sane person want to use this? Can they use this? > > > > If so, start by describing the desired us

Re: Topology updates and NUMA-level sched domains

2015-04-08 Thread Brice Goglin
Le 07/04/2015 21:41, Peter Zijlstra a écrit : > No, that's very much not the same. Even if it were dealing with hotplug > it would still assume the cpu to return to the same node. > > But mostly people do not even bother to handle hotplug. > You said userspace assumes the cpu<->node relation is a

Re: Topology updates and NUMA-level sched domains

2015-04-08 Thread Peter Zijlstra
On Wed, Apr 08, 2015 at 12:32:01PM +0200, Brice Goglin wrote: > Le 07/04/2015 21:41, Peter Zijlstra a écrit : > > No, that's very much not the same. Even if it were dealing with hotplug > > it would still assume the cpu to return to the same node. > > > > But mostly people do not even bother to han

Re: Topology updates and NUMA-level sched domains

2015-04-07 Thread Peter Zijlstra
On Tue, Apr 07, 2015 at 10:14:10AM -0700, Nishanth Aravamudan wrote: > > So I think (and ISTR having stated this before) that dynamic cpu<->node > > maps are absolutely insane. > > Sorry if I wasn't involved at the time. I agree that it's a bit of a > mess! > > > There is a ton of stuff that assu

Re: Topology updates and NUMA-level sched domains

2015-04-07 Thread Nishanth Aravamudan
On 07.04.2015 [12:21:47 +0200], Peter Zijlstra wrote: > On Mon, Apr 06, 2015 at 02:45:58PM -0700, Nishanth Aravamudan wrote: > > Hi Peter, > > > > As you are very aware, I think, power has some odd NUMA topologies (and > > changes to the those topologies) at run-time. In particular, we can see > >

Re: Topology updates and NUMA-level sched domains

2015-04-07 Thread Peter Zijlstra
On Mon, Apr 06, 2015 at 02:45:58PM -0700, Nishanth Aravamudan wrote: > Hi Peter, > > As you are very aware, I think, power has some odd NUMA topologies (and > changes to the those topologies) at run-time. In particular, we can see > a topology at boot: > > Node 0: all Cpus > Node 7: no cpus > >

Topology updates and NUMA-level sched domains

2015-04-06 Thread Nishanth Aravamudan
Hi Peter, As you are very aware, I think, power has some odd NUMA topologies (and changes to the those topologies) at run-time. In particular, we can see a topology at boot: Node 0: all Cpus Node 7: no cpus Then we get a notification from the hypervisor that a core (or two) have moved from node