From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8393C433E0 for ; Thu, 4 Feb 2021 12:36:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 67E2E64F53 for ; Thu, 4 Feb 2021 12:36:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236069AbhBDMgz (ORCPT ); Thu, 4 Feb 2021 07:36:55 -0500 Received: from foss.arm.com ([217.140.110.172]:57668 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235711AbhBDMgv (ORCPT ); Thu, 4 Feb 2021 07:36:51 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2FC0AD6E; Thu, 4 Feb 2021 04:36:06 -0800 (PST) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D26A33F73B; Thu, 4 Feb 2021 04:36:04 -0800 (PST) From: Valentin Schneider To: Dietmar Eggemann , Qais Yousef Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Vincent Guittot , Morten Rasmussen , Quentin Perret , Pavan Kondeti , Rik van Riel Subject: Re: [PATCH 0/8] sched/fair: misfit task load-balance tweaks In-Reply-To: <66efcfb1-d6ee-248a-e337-d690cda1bb5a@arm.com> References: <20210128183141.28097-1-valentin.schneider@arm.com> <20210203151400.ommltjjyuok4yj5e@e107158-lin> <66efcfb1-d6ee-248a-e337-d690cda1bb5a@arm.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 04 Feb 2021 12:36:02 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/02/21 13:03, Dietmar Eggemann wrote: > How did you verify the benefit of these changes? > > It's clear that you need a platform with capacity_orig diffs <20% > between CPU types (like Pixel4 - SD855 (4x261, 3x871, 1x1024) or QC's > RB5 platform - SD865 (4x284, 3x871, 1*1024)) but which > benchmark/testcase did you use? Benchmark is the usual culprit: https://lisa-linux-integrated-system-analysis.readthedocs.io/en/master/kernel_tests.html#lisa.tests.scheduler.misfit.StaggeredFinishes This test spawns 1 CPU hog per CPU, and screams whenever a CPU of capacity X is running a hog while another CPU of capacity Y > X has been idling for "too long" (a few ms). IOW it makes sure upmigration happens in a timely manner. Some of the test platforms (Juno (4+2 big.LITTLE), HiKey960 (4+4 big.LITTLE)) show some improvements due to the last 2 patches. As for systems with CPUs in the [819-1024] "deadzone", Ionela's been kindly running said test on said RB5, and the upmigrations look just fine with the patches applied.