Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp9103ybx; Wed, 30 Oct 2019 10:33:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqym/bU9Ha+LB5mlNsOmj3dafZj1SvCXmHXrhVLH5OhAd6VbJEkYSaCo1uUE01jy+KekwnR4 X-Received: by 2002:a17:906:6942:: with SMTP id c2mr727514ejs.152.1572456803553; Wed, 30 Oct 2019 10:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572456803; cv=none; d=google.com; s=arc-20160816; b=O92mLlizNLGlFDWawuvKPJAPAqd0Xv/RyDhJrnyFJgfDSO84FuLoRthoKO4AhMXuJH Xj27baCyBBr4IdfqxVsM01JQ97UilTP3u/AA6ekfM8tb55V1/6mVFr5Xh9cx4+bNRz6d YKRR9xEoLEajaMQLKqlLHN8+kvKosH+r+TT9xHlkh0nTCEZlRdAAe0CYp2miG/kXF8Jx q0ATB3Ej6CsKSOYVPdH+RItm7CgjYbI8GNII0XIsz0JR1EWCDIYqVHTmku7nvcw8R3eI FMyqX/U/T365qTtNYWBLKkSLBbAcpPhaKcuwpMj3agjsAegqyNQ6OJ0u18nNDure+fJ3 PZkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:user-agent:in-reply-to:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zA6i4fJUFRWIbj335/B8QHiHn0dUPzjeEPZBp4eEnG8=; b=JpT1ANkuyqLtHhu04xeiXwqjQpmC/zFLzZUChilcdvqNEdZwiVq1MSLCo099Wwj11t uSAO9Nt5iyHsf5Q33qpG8z9w1o7aOa1NJAw6s3iMzRtkcqNNY7csgS0cUFpdncwz2R1I lzaEhx8SJjvnh7YJoUMgnGicnxIvVD1EpQqMwGkiVJIkuHhQkJMgMVpMOg+RlOhdbMoO HJ7AIVUS6C57xoSWse3I1wCcFQz0J8dYJKmEBeYuFbS46PIIWhrqdLStEneucW0vOt8D o1wjVAJpawAzKCUGefIeAVkF/RL/FogqksRdHWcPUolx5nhzkAjXWRDV9nj6uulZhOhc D8XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dVDrUgZF; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l14si1715253ejg.246.2019.10.30.10.32.59; Wed, 30 Oct 2019 10:33: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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dVDrUgZF; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727321AbfJ3R3b (ORCPT + 99 others); Wed, 30 Oct 2019 13:29:31 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:40208 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726488AbfJ3R3a (ORCPT ); Wed, 30 Oct 2019 13:29:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572456569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zA6i4fJUFRWIbj335/B8QHiHn0dUPzjeEPZBp4eEnG8=; b=dVDrUgZFGoM4MPbcTAMBmeyp0nxeJS5y8C11wK1PwFuO3vr3Nij1fx57v+BGYS34FEN5rN 1fdptVWNSyoAkR6Zj5/j8b7ROiQ/j0wphRYf744n9chGk8V1CEASAAEAl7NEssm4/8FFIA Z7xw/G2lAJ4kE/GZuqxtqsGeJyi2WvU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-174-FwEAjuNyPbe-r_yj9282kA-1; Wed, 30 Oct 2019 13:29:25 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CDEAF1005500; Wed, 30 Oct 2019 17:29:23 +0000 (UTC) Received: from pauld.bos.csb (dhcp-17-51.bos.redhat.com [10.18.17.51]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6FA8B5D6D4; Wed, 30 Oct 2019 17:29:22 +0000 (UTC) Date: Wed, 30 Oct 2019 13:29:20 -0400 From: Phil Auld To: Valentin Schneider Cc: Dietmar Eggemann , Vincent Guittot , Ingo Molnar , Mel Gorman , linux-kernel , Ingo Molnar , Peter Zijlstra , Srikar Dronamraju , Quentin Perret , Morten Rasmussen , Hillf Danton , Parth Shah , Rik van Riel Subject: Re: [PATCH v4 00/10] sched/fair: rework the CFS load balance Message-ID: <20191030172920.GH1686@pauld.bos.csb> References: <20191024123844.GB2708@pauld.bos.csb> <20191024134650.GD2708@pauld.bos.csb> <20191025133325.GA2421@pauld.bos.csb> <20191030143937.GC1686@pauld.bos.csb> <564ca629-5c34-dbd1-8e64-2da6910b18a3@arm.com> <20191030171914.GF1686@pauld.bos.csb> <4c52d81f-4b3b-d7e8-c124-b90b4584a6d3@arm.com> MIME-Version: 1.0 In-Reply-To: <4c52d81f-4b3b-d7e8-c124-b90b4584a6d3@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: FwEAjuNyPbe-r_yj9282kA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 30, 2019 at 06:25:09PM +0100 Valentin Schneider wrote: > On 30/10/2019 18:19, Phil Auld wrote: > >> Well from the code nobody but us (asymmetric capacity systems) set > >> SD_BALANCE_WAKE. I was however curious if there were some folks who se= t it > >> with out of tree code for some reason. > >> > >> As Dietmar said, not having SD_BALANCE_WAKE means you'll never go thro= ugh > >> the slow path on wakeups, because there is no domain with SD_BALANCE_W= AKE for > >> the domain loop to find. Depending on your topology you most likely wi= ll > >> go through it on fork or exec though. > >> > >> IOW wake_wide() is not really widening the wakeup scan on wakeups usin= g > >> mainline topology code (disregarding asymmetric capacity systems), whi= ch > >> sounds a bit... off. > >=20 > > Thanks. It's not currently set. I'll set it and re-run to see if it mak= es > > a difference.=20 > >=20 >=20 > Note that it might do more harm than good, it's not set in the default > topology because it's too aggressive, see=20 >=20 > 182a85f8a119 ("sched: Disable wakeup balancing") >=20 Heh, yeah... even as it's running I can see that this killing it :) > >=20 > > However, I'm not sure why it would be making a difference for only the = cgroup > > case. If this is causing issues I'd expect it to effect both runs.=20 > >=20 > > In general I think these threads want to wake up the last cpu they were= on. > > And given there are fewer cpu bound tasks that CPUs that wake cpu shoul= d, > > more often than not, be idle.=20 > >=20 > >=20 > > Cheers, > > Phil > >=20 > >=20 > >=20 --=20