Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3384901imm; Mon, 6 Aug 2018 03:58:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdtgRzQp5bqr3SS2EEJjgiKn20QNTiqcdsyEVp/ZgTbxV05zRhNcrMEnyOryBsZI0BrMnbe X-Received: by 2002:a62:1e81:: with SMTP id e123-v6mr16833178pfe.24.1533553134362; Mon, 06 Aug 2018 03:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533553134; cv=none; d=google.com; s=arc-20160816; b=EyWiVoYLWp4O6hEpqGro48Ucv34XJi6dR9qTycciIncyfrfeXrJzvb/gE8dJTNWMgG t2IZv49vSQBmAgLr4DhmWc6wd8YzdPraq5m/3nW+CC5gEdQulv9fTKcMFFWjC6no8lv0 quZn4ixqW740e9/NJb1STwFTwUCmOow+/P9slJ5xfCCLnqhWpJj7jl8R/oFnfSC3hhdG URwMQl9NT/Fnjj+GTt/1YxTdS9Mb5pND2OuEySZMhWVj+HVxYa/Tx0QF4miMGC+iif3U Iiog2wgsvNoDm7hWOgnt16bybqByXw1wtX14Svw7OrF3Ws0Aiuw2JTtDzTdxW77E+t1v MBUA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=RzWhuPdR4p+DDWstP4LVl8k8YrQTmh02eLVj8GgfIvM=; b=uL03on4ZwQaQ9hDHLdZdcR6VECuJ3MJHicohbc0hHrhsvDcyXqCUm0U838fi2wvBq2 GMUSOOZWpPQMXFYJR9yBTHMXbDZKLWFphZrPgg7dL/6zwzDZMaGrVkoFpn8ryQX7IeWF pRjOWxv1Liw0u/AMYqcb5XqbxP/Xq204YkfGy23ntV8pEVn/9+ARg/9nD4cD0Xnj1JsH 31hsfuWHnm/m5apNpDqVADDq7SyA2erlBXqbysCs7TE+Z3RKpL4+FnfSREmKh/F5pSDu Tw0buYoRx3SdPz1nmfh4r8g/7kRKCufjmbE1/HTt+IM2NcfYyGp21fxcRSs9QnDHDFmZ +DOw== ARC-Authentication-Results: i=1; mx.google.com; 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 k140-v6si5976645pfd.122.2018.08.06.03.58.39; Mon, 06 Aug 2018 03:58:54 -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; 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 S1730380AbeHFNCY (ORCPT + 99 others); Mon, 6 Aug 2018 09:02:24 -0400 Received: from foss.arm.com ([217.140.101.70]:36262 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727595AbeHFNCX (ORCPT ); Mon, 6 Aug 2018 09:02:23 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BAD9818A; Mon, 6 Aug 2018 03:53:53 -0700 (PDT) Received: from [10.4.12.39] (e113632-lin.emea.arm.com [10.4.12.39]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 806763F5D4; Mon, 6 Aug 2018 03:53:52 -0700 (PDT) Subject: Re: [PATCHv4 12/12] sched/core: Disable SD_PREFER_SIBLING on asymmetric cpu capacity domains To: Vincent Guittot Cc: Morten Rasmussen , Peter Zijlstra , Ingo Molnar , Dietmar Eggemann , gaku.inami.xh@renesas.com, linux-kernel References: <1530699470-29808-1-git-send-email-morten.rasmussen@arm.com> <1530699470-29808-13-git-send-email-morten.rasmussen@arm.com> <20180706143139.GE8596@e105550-lin.cambridge.arm.com> From: Valentin Schneider Message-ID: Date: Mon, 6 Aug 2018 11:53:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 06/08/18 11:20, Vincent Guittot wrote: > Hi Valentin, > > On Tue, 31 Jul 2018 at 14:33, Valentin Schneider > wrote: >> >> Hi, >> >> On 31/07/18 13:17, Vincent Guittot wrote: >> [...] >>>> >>>> This can easily happen with SD_PREFER_SIBLING enabled too so I wouldn't >>>> say that this patch breaks anything that isn't broken already. In fact >>>> we this happening with and without this patch applied. >>> >>> At least for the use case above, this doesn't happen when >>> SD_PREFER_SIBLING is set >>> >> >> On my HiKey960 I can see coscheduling on a big CPU while a LITTLE is free >> with **and** without SD_PREFER_SIBLING. Having it set only means that in >> some cases the imbalance will be re-classified as group_overloaded instead >> of group_misfit_task, so we'll skip the misfit logic when we shouldn't (this >> happens on Juno for instance). > > Can you give more details about your test case ? > I've been running the same test case as presented in the cover letter on my HiKey960 but with sched_switch tracing and with no tasksets. I've just re-run the testcase with tasksets and I get similar results (i.e. a big with coscheduling while a LITTLE is free) with or without the flag. >> >> It does nothing for the "1 task per CPU" problem that Morten described above. >> When you have this little amount of tasks, load isn't very relevant, but it >> skews the load-balancer into thinking the LITTLE CPUs are more busy than >> the bigs even though there's an idle one in the lot. >> >>>> >>>> Morten