Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp216629yba; Thu, 25 Apr 2019 21:45:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMPgX2pRdxCN9I4byeJ7dhnxJ6ZLoyX9rq5EZIyOjZYCq4caN4MVvr+ydobl2VI7tv0vc4 X-Received: by 2002:a62:6490:: with SMTP id y138mr45311316pfb.230.1556253928080; Thu, 25 Apr 2019 21:45:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556253928; cv=none; d=google.com; s=arc-20160816; b=oGrU/YiRgUQKGVG10A65rcQpPYjD3lCkKZ3vt+s8zMBE5ZZbjF4VNf47dEFZNgvwFw gxYe5vL7ppaJ0H0JrTGlTy4mwsP8bmnGrna8MAM6W/eMUDn5N5UByF7s1yOHK8WCStU4 83KKaccXnUhyx58T1h0yzjoFa/R33hPEoXFmcFwkYSEctqj4VQZM3bYdJHzChUo1xxyV dmJgpuMA1oAknOi3sZnTCvH6qSEF7IPMoTbJwqGaSQLQdOf7tuKFYE3qpym2dY340312 PJ1q/u8P3CPEvVAoEsiFVmRCeQKvyj5PHAe1MgAJN7WVDotlhupBfTnSyHsIOiBcTYpM 4p3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id :user-agent:mime-version:in-reply-to:references:cc:to:subject:from :date:dkim-signature; bh=HyNPJz1X169VLMtNR26KKjpc2sEs9qFQ9M2v5D+bVv8=; b=Coge985jol1g8343YcM7b6T4DHMHVTEpXF7VCEugF8OGaPlTn/iSx1x7EL64JRfw4Z ri13seCrT7bgmEwpk+GmKUM0gfvIPyq1X+Nv+LB6D4x6RCvlEkSdJ0p6g24GShqwlu/R ics2RoszsnVoJMEwHa+IvP1rnoMCTrx5HeqKgTY2u4/eaxSwyVFz8UxtVO7HezoEOqbQ Ek4ElJd2yS/j0JcWh7QiGM7cTD2j8rG46IED0spmzwpAvC8o45Qt9WWAyWc0NuQHfZLF Yu0gFcW+owcr9D6to9Vz1Z+1XP6cgwAbdREAnWLo7NH1iab1mwoFb3TNU7wPiM5hs+eg uHYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TuXUDwrV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l34si23422030pgb.574.2019.04.25.21.45.12; Thu, 25 Apr 2019 21:45:28 -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=pass header.i=@gmail.com header.s=20161025 header.b=TuXUDwrV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726658AbfDZEkt (ORCPT + 99 others); Fri, 26 Apr 2019 00:40:49 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:38371 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726303AbfDZEks (ORCPT ); Fri, 26 Apr 2019 00:40:48 -0400 Received: by mail-pl1-f194.google.com with SMTP id f36so903222plb.5 for ; Thu, 25 Apr 2019 21:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:cc:references:in-reply-to:mime-version :user-agent:message-id:content-transfer-encoding; bh=HyNPJz1X169VLMtNR26KKjpc2sEs9qFQ9M2v5D+bVv8=; b=TuXUDwrVEIx8NtXEzDxtanN52U2D+wK2SVUg2swQN+sNP1mAy1NWpky8Qp5ichbZXZ GCdmxf246D//n6ZjuGOKr71xuob2KfVnGBopnrj1lvKU6n4fT2xov6t3CfV/OEpiHrc7 qE8mKU80EeFyoT0pSSgVB2gf+r81CX/9quQafpsdimBj+5KWMZD3pzSCL3yd8xxdLCkj 6HdNHuGhW7xMa6LiRX98KGp8FI5v43XY/1PIfpukn5HuyBZwg+lgx2vBCx82gp/QdKu4 ujwAT+f8aUl11vYYaVPycP9+TDbSqtbOqrIwvZWUCU7bZu0PBw8OfQEIfmmyqYr9ncg8 xWrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:user-agent:message-id:content-transfer-encoding; bh=HyNPJz1X169VLMtNR26KKjpc2sEs9qFQ9M2v5D+bVv8=; b=pjAM114+7USnZAx7Sm3tYiliQWFqlEiHNUTg6kVZ+XneRhfIW1h/fATE7/r0cyaq2T z+YPtolWMG1UZha5COZax0Lt3nPZye1q7t4WY+X6OijNE5PmWkMJdTx7N3bKyHmXgRFh 8l4aPrdcbCrDYhHmojYTerVID2j3IxK5RciFpeT6u0nIGqmR+zSDNK/4qOZ2D0hBO4ME T4DDxqBqSpN0+fLsM0GOTTBjimGgh6bB4dITC942jB5DCJvTRRb1umw0T+Rhv2k7e9DG 0WS8TmzwbwuZcDHpM5xCrbYSnprnRb1HRWI0CPLHARW9Wf/FWuxOw+Ch6Mwv+cZWwVUM yScg== X-Gm-Message-State: APjAAAVAi8eqvSZfzoDVOjt+N8SrbM9uaDoNr6qqcrd4k5PXqx6hslGR KV+WfY9qJO/fMjTiClHC1Wc= X-Received: by 2002:a17:902:8483:: with SMTP id c3mr42057501plo.19.1556253648136; Thu, 25 Apr 2019 21:40:48 -0700 (PDT) Received: from localhost ([203.63.161.26]) by smtp.gmail.com with ESMTPSA id f22sm33926308pgv.45.2019.04.25.21.40.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Apr 2019 21:40:46 -0700 (PDT) Date: Fri, 26 Apr 2019 14:40:40 +1000 From: Nicholas Piggin Subject: Re: [PATCH] kernel/sched: run nohz idle load balancer on HK_FLAG_MISC CPUs To: Peter Zijlstra Cc: Frederic Weisbecker , linux-kernel@vger.kernel.org, Ingo Molnar , Thomas Gleixner References: <20190412042613.28930-1-npiggin@gmail.com> <20190425115620.GQ4038@hirez.programming.kicks-ass.net> In-Reply-To: <20190425115620.GQ4038@hirez.programming.kicks-ass.net> MIME-Version: 1.0 User-Agent: astroid/0.14.0 (https://github.com/astroidmail/astroid) Message-Id: <1556253219.geomfr4bo2.astroid@bobo.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter Zijlstra's on April 25, 2019 9:56 pm: > On Fri, Apr 12, 2019 at 02:26:13PM +1000, Nicholas Piggin wrote: >> The nohz idle balancer runs on the lowest idle CPU. This can >> interfere with isolated CPUs, so confine it to HK_FLAG_MISC >> housekeeping CPUs. >>=20 >> HK_FLAG_SCHED is not used for this because it is not set anywhere >> at the moment. This could be folded into HK_FLAG_SCHED once that >> option is fixed. >=20 > Frederic? Anyway, I thnk I'll take this patch as is. That would be great, thanks. We've been testing it in a staging environment (this is where they noticed the noise in the first place), and results have been as expected: I've been able to test Nick's idle-loop load balancer (ILB) patch,=20 with and without the TEO cpuidle governor. With the ILB patch (and=20 nohz_full) I get a very quiet noise profile with either cpuidle=20 governor (menu or teo). For my tests, I don't see a meaningful=20 difference between the two governors. [...] Bottom line: Nick's patch that constrains the ILB to run on non-nohz=20 cores has a noticeable noise-reduction effect. For this type of=20 workload, the choice of cpuidle governor, menu or teo, is immaterial. This is against a slightly backported RHEL kernel they are using, but no significant differences from upstream in these areas. Thanks, Nick =