Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp397265imm; Thu, 31 May 2018 02:27:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLbSkEOZx/fgPQIZm8w2NYkOkkAzWYBtBwQrRMRrcuwBK+h9nSlliCtOZpbJoxSZ/CqSefB X-Received: by 2002:a65:65c8:: with SMTP id y8-v6mr4955549pgv.320.1527758843516; Thu, 31 May 2018 02:27:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527758843; cv=none; d=google.com; s=arc-20160816; b=T9QE87Iw0amcgZjeZCOq6ObdxePISqP7aTfGNCYGSWrToUT9fbPMyjuOOKOrit4dik pyr41G+nGPz1SCgmZQL3t1LgIV+XIosInsl3ozZ14evcQNXMUg5BOOKScgTORXxtGV9T GwXCY9CW0x7xHLd8E+ASoXyZEtN8Hk7OasbXux5ydvR6YEtVWg6WhB1PjXgXIztApexP J4soqSthDloQj2JF6k2BDv9oO2YrSuoUcku0JYWDUbpl21fk9D1N8daDQtAYzyBDw6RY gzUYLUi88p3Qk6SmvTWAZ8RnqucFkfEptO5T89ZCIB5+N6eC2fgR9DcOY20k9fxy3ZUS vSxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=qrWTtRCxEiVFdWNrHRNS1S0WeXf9Ex4IMrXyQByFW6s=; b=Q58xcx5Dx2rGnpJ1/A32sYpTyRO+MeMnowAL9ZCFatrMQETvTPV6zkp8SV9F7LyP93 PIREP0gq/5D2IxzEbt2PXQoQXHkyxQ0QWPayDjCVdrt8jIlNZVrDHMt395Cije+8CV5+ yV6sQNOkNobWQUANP/dbEk5QbSSn2/9U0vluYWZTrPdV6qXOuvpDkiEzt0BkOfWc9uOw CsOVaE0PUbs9B3I55D2isptfV2ZzFl7audTUL+68A+icEDSAdCOXoZ9ytk29c7ZSxquF 8X8jtSo0GsPyF2H4Bmh5b/vkt2JyzOoeBy17/hotyKSpY2tb8jNbAPVUKS9OD7Ff2TC8 0mGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=cl2x3Mq0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3-v6si16452092pls.119.2018.05.31.02.27.09; Thu, 31 May 2018 02:27:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=cl2x3Mq0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754252AbeEaJ0m (ORCPT + 99 others); Thu, 31 May 2018 05:26:42 -0400 Received: from merlin.infradead.org ([205.233.59.134]:37234 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754112AbeEaJ0k (ORCPT ); Thu, 31 May 2018 05:26:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qrWTtRCxEiVFdWNrHRNS1S0WeXf9Ex4IMrXyQByFW6s=; b=cl2x3Mq0IQgNV9z4Gp4RVVtWC KQCmvSTyQRSuxKUZkZ4BBy25zYP4WuDfGVYF+E1YlcPM6+27UkyHmHMiH8AGKlRttB8d48MBT2mU9 wlpYxgZdNvoGp6pKOQrDFBMNgDbN2saNDNOrtTjoMpqE3JYiI8SJqGJgjNOKFLmrFXx2UP+kJDR/B PZoV3Wc3/UxufTzX4BJQWog2ebT2//JgJ7GhdoWzsE/BXfAF7rg3xRTA2jVl1AIHFaCTg5I2kYGX3 mm/sGDOwdz0bLiSb9tdRjSNNquB0WWVFZbedIqAFpXC9NVkVFSa8PQCYe20t2+7PAw8s0G33aPj80 O7DRQDckA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOJqg-00038j-Kv; Thu, 31 May 2018 09:26:22 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 52C2A2029F86E; Thu, 31 May 2018 11:26:19 +0200 (CEST) Date: Thu, 31 May 2018 11:26:19 +0200 From: Peter Zijlstra To: Subhra Mazumdar Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, daniel.lezcano@linaro.org, steven.sistare@oracle.com, dhaval.giani@oracle.com, rohit.k.jain@oracle.com, Mike Galbraith , Matt Fleming Subject: Re: [PATCH 1/3] sched: remove select_idle_core() for scalability Message-ID: <20180531092619.GS12198@hirez.programming.kicks-ass.net> References: <20180424004116.28151-1-subhra.mazumdar@oracle.com> <20180424004116.28151-2-subhra.mazumdar@oracle.com> <20180424124621.GQ4082@hirez.programming.kicks-ass.net> <20180425174909.GB4043@hirez.programming.kicks-ass.net> <20180501180348.GI12217@hirez.programming.kicks-ass.net> <1ea04602-041a-5b90-eba9-c20c7e98c92e@oracle.com> <20180529213600.GC12180@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 30, 2018 at 03:08:21PM -0700, Subhra Mazumdar wrote: > I tested with FOLD+AGE+ONCE+PONIES+PONIES2 shift=0 vs baseline but see some > regression for hackbench and uperf: I'm not seeing a hackbench regression myself, but I let it run a whole lot of stuff over-night and I do indeed see some pain points, including sysbench-mysql and some schbench results. > I have a patch which is much smaller but seems to work well so far for both > x86 and SPARC across benchmarks I have run so far. It keeps the idle cpu > search between 1 core and 2 core amount of cpus and also puts a new > sched feature of doing idle core search or not. It can be on by default but > for workloads (like Oracle DB on x86) we can turn it off. I plan to send > that after some more testing. Sure thing..