From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754996AbcDDNX1 (ORCPT ); Mon, 4 Apr 2016 09:23:27 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:38572 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752434AbcDDNX0 (ORCPT ); Mon, 4 Apr 2016 09:23:26 -0400 Date: Mon, 4 Apr 2016 15:23:21 +0200 From: Peter Zijlstra To: Ingo Molnar Cc: Jiri Olsa , James Hartsock , Rik van Riel , Srivatsa Vaddagiri , Kirill Tkhai , linux-kernel@vger.kernel.org Subject: Re: [RFC] sched: unused cpu in affine workload Message-ID: <20160404132321.GZ3448@twins.programming.kicks-ass.net> References: <20160404082302.GB2137@krava.local> <20160404085944.GA3030@gmail.com> <20160404091951.GA10360@gmail.com> <20160404093844.GA16017@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160404093844.GA16017@gmail.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 04, 2016 at 11:38:44AM +0200, Ingo Molnar wrote: > We'd upgrade that to O(nr_cpus^2), which is totally unrealistic with 16,000 CPUs > even in a slowpath - but it would probably cause problems even with 120 CPUs. It > will get quadratically worse as the number of CPUs in a system increases on its > current exponential trajectory ... The arbitrary affinity thing is I think a packing problem, which is NP hard IIRC.