Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp888104pxk; Thu, 24 Sep 2020 23:55:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiZYJkgOHVMKHdwudTUJ47iuJOKOi0om2u0FkKXrWODWJl45723iW6uZqQ84lLKqlje/U6 X-Received: by 2002:a17:907:119d:: with SMTP id uz29mr1257503ejb.289.1601016910767; Thu, 24 Sep 2020 23:55:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601016910; cv=none; d=google.com; s=arc-20160816; b=vLtb50f+CFerQc0MKJ4yt59kQmgC28wgqOMRjNl75pM0AI3XNMdedyUKK7HxB6BFoq SfKjzb1hkZULXmafkaNY/rA4k7J+mW5GOupQCfnGZcqXUpYbKxgyAapUfpwRN6Prpd0x +2LsdjPMSLw0zDhojbQAd1gHPvtXoUqseQMb3SBvn2A22dGJsJdPtfFWzWgwYs+Po/kw 9SF8hgiOwam0NhQ4Jkn9JdTXmGRSXwfiBH8mBuvvUq403iZaSLAZkNi98zF0xrmeBfx/ tx00eRGQP7FFcX9AivSb2iz+IMhU2Jj9YCjgVPr/s7s8Zke3DJA0Avo2gYYDrFB3R3fM N0Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=dMULH01Wq7nTloeFkP19h8fM7ByqolfRu/BqukyTcPQ=; b=G+cccyontpgi/hH5wuEKe4VOGnwOsh/LhDW+UqIY8LM+753nZJxsrY4zRBZZossnCs AfHRoSS1xx41gbcsMWubsnxQj1veTOAskPPBn3jw6eUJuaYPvn0OlkJs/RDtD0Ps/Bek aeHYUs6wZaFf5fibUVnquG4N21CEguHHu/oofpH+6cyrmDIBTgWfwVAOfPAVbIyOhTR1 P3tJI5oJFrtFpQHKhj8N7sbd+3HLwsvm9kk0a4mpqDIDzVCAywf9uIqM9A6Ast0Jx/An rHxcjynvijgKtu50oYwJkNwfD4s6WdCCdxtCsKP3sbiShAODLiMepThUwDYRdmE0Folq 5Gdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fAXscyKK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n21si1310886edr.327.2020.09.24.23.54.47; Thu, 24 Sep 2020 23:55:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fAXscyKK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727214AbgIYGvI (ORCPT + 99 others); Fri, 25 Sep 2020 02:51:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727176AbgIYGvI (ORCPT ); Fri, 25 Sep 2020 02:51:08 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33CFBC0613CE for ; Thu, 24 Sep 2020 23:51:08 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id b22so1551713lfs.13 for ; Thu, 24 Sep 2020 23:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dMULH01Wq7nTloeFkP19h8fM7ByqolfRu/BqukyTcPQ=; b=fAXscyKKYhC2jxJ7WxAKHgsKNDvga6TN7EyNw5EH0tMyvLsP7DIwYs3QBXeU5KXvJP 9kovWLLhlprZyX68eEBUjfTcHLtrQDBCCGKoMqvxjhJTf3LK7isnYM7/JHAqdVsfZqp3 Fre61Ei8jzsbQe3Z7zEI8zv1KJrTJ+yrVVNn3aARHkunJovO0fldZdLOHCnbD22TUm7m k4r9izC/2Cu6tPuf11qpE4ayJcK5skOKEz2XWHyuiuJqzmGQgckHUXW7HSSI4GmFL/ci J7ufnQsk045N671XDE2SuSjNM63aW9rbyge3RbopcpzBAgIt7Ako6VAwsOUSh7JFw8l5 DEuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dMULH01Wq7nTloeFkP19h8fM7ByqolfRu/BqukyTcPQ=; b=Z5eKPaAZjobe0XP9iETOL6fmSSCUc/3FCe0+Ou/863Y16jCwVeoflxRd9E8PV+4vmg Q6t5T8ORlSOyaglYeGnXU3Lg/4K4NVgHvIKmp3Ct1nCupJE3XMpbsBZlhtj89ptj8wXm 2ROhSRoxWWoPPWOFqNUhQpEAdOT9OlF6VOONB+8F1P8bMPdm0h5JM5mbeBUeBev854e5 GaExoe79qTvKLWvsMfkHlDG1C1Jkq47nSQqQEVSyr1xAq/AU36YQCsfNYcz/7XYriKkU gSbvidzSOj1BvkgWS8K7EHlY7eVUoPQLDhyaNdJWqbziQztOriJ8M8ityoTBPgZi3e+i nHog== X-Gm-Message-State: AOAM5328KQxcrezvyvsq0CFIVnAFn1nGbr8kjVI/lFVbvbTbsHPoguxx J0K4qzAXezQ/G68BvySc80NBebBaM70ZCNUSUJhmuw== X-Received: by 2002:a19:7006:: with SMTP id h6mr763893lfc.83.1601016666611; Thu, 24 Sep 2020 23:51:06 -0700 (PDT) MIME-Version: 1.0 References: <20200916043103.606132-1-aubrey.li@linux.intel.com> <20200916110039.GG3117@suse.de> <78d608f2-b974-e940-da32-b37777bc405a@linux.intel.com> <40ee756f-1f27-b17e-6292-d8069a56e3c8@linux.intel.com> In-Reply-To: <40ee756f-1f27-b17e-6292-d8069a56e3c8@linux.intel.com> From: Vincent Guittot Date: Fri, 25 Sep 2020 08:50:55 +0200 Message-ID: Subject: Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain To: Tim Chen Cc: "Li, Aubrey" , Mel Gorman , Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Valentin Schneider , linux-kernel , Qais Yousef , Jiang Biao Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tim On Thu, 24 Sep 2020 at 18:37, Tim Chen wrote: > > > > On 9/22/20 12:14 AM, Vincent Guittot wrote: > > >> > >>>> > >>>> And a quick test with hackbench on my octo cores arm64 gives for 12 > > Vincent, > > Is it octo (=10) or octa (=8) cores on a single socket for your system? it's a 8 cores and the cores are splitted in 2 cache domains > The L2 is per core or there are multiple L2s shared among groups of cores? > > Wonder if placing the threads within a L2 or not within > an L2 could cause differences seen with Aubrey's test. I haven't checked recently but the 2 tasks involved in sched pipe run on CPUs which belong to the same cache domain Vincent > > Tim >