Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp354266iog; Fri, 24 Jun 2022 05:28:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tJKUaNueooupJt/L1MW2fnMlGVW4U9nPctFcyo7QtZyGMMRqQRkUKPgZ0ISS5fSECBRsgi X-Received: by 2002:a05:6402:3224:b0:435:80fd:333 with SMTP id g36-20020a056402322400b0043580fd0333mr17474441eda.76.1656073735206; Fri, 24 Jun 2022 05:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656073735; cv=none; d=google.com; s=arc-20160816; b=1A3EvyIYs71DWzddvJ+69V1lvp4kS2TZWRjdQnC5D0vAKpEhEFu722ESzxXdkNNvfg vqPNlf6/gFVD03TWGWLcD9IVBjtsJYs5E5JupZPQ40TeosCNerC8N1YWblSSv+ZPHyuq kuPKFFuSDIFzuhM7aYFhs2MdDpzXkpjLXufVM0jlnyqrpSolpi9miylK6bKh4QcF2pUj aEeNeuM3J+uAljz1pqZ5ry4ol0rJ0Ymh6N7nGBLCKcM8QrwGncjSTHhIcNZZRyTeWTpr q5VDCo67Z5Jij7OoTMr+DHM6/kZ2vuHnYxHBlFRgbg6dWhwnA/oWYcCs0vU72ZENHjvJ v51w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2iOkroQcCV9VBm3xGEefjoZxqyVzmtB1UCY1R9xh4Kk=; b=YJenj+pmQQiwWgXR6o84TPY1+8ft0wb0NNMvNxN9DAdfmIyXACAzsL2uxj0u//4hTm lbXiDF9zfeRhk1G/Mh3hcCEwoshUi5tBYElZPUHfMRM298B+xErwq26tdTGaQcaiTxjQ iUFOCc9OQfnhNF0/SMj1U7CHG38oM/4Nvb7o5RUr3HHY8Am384zn7QUauLOttBQmmVI5 QmKVNiWYoOacla27WGH6DTKXTeSNMM2JRcCNvOTf9W5lSxUVdvhnQx8ONimvyAbbBOK0 Bsy8I4/LBiVOknpIDkCAniGSZXobOg3kvamzzN7hFBcYSk52RZkK4mf8gdZTYBQ53Shk cEDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E+g5uVb8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd20-20020a1709069b9400b00711d56b4ec3si2447266ejc.795.2022.06.24.05.28.30; Fri, 24 Jun 2022 05:28:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E+g5uVb8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230520AbiFXMSn (ORCPT + 99 others); Fri, 24 Jun 2022 08:18:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbiFXMSm (ORCPT ); Fri, 24 Jun 2022 08:18:42 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A79910547 for ; Fri, 24 Jun 2022 05:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656073121; x=1687609121; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=517H1yHK+nS4fYXm61DYKdd+jOnnRIOAzK1KRZWOQGA=; b=E+g5uVb8aXWRawUxyY+D8VKXqdWuB/Hfp05fs4SCYilSSjnmgmX8Q5vy jcj0dDt027MJ0pAvmyVKB8W+BiEa8+SgV3hCt/Y8ep9RDZ0ltdl8c2RA4 Y5tcuSMBEcBqs9csU0OpwFccBJwClxYdh8pwzpx5eXQfM9/y6Zu1rxt09 eTcEe66saxk0cEBDJPcYGUsqSrDzpnktLwan0Hd9ZFDqDMWg7bZGa6Oaa jOR/h7/kOiLjPv3ySJ75zv8qyI6UyXUiJk7Asyh1w/bxfjMrDiaw0uzyt 2VzbQIJ/7m51e7g63Tvo/5/vcA7rG+33APY7GQZnVzidUE7s+XZ5RI3eR w==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="281032213" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="281032213" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 05:18:41 -0700 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="645250458" Received: from cma16-mobl1.ccr.corp.intel.com (HELO chenyu5-mobl1) ([10.255.29.162]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 05:18:35 -0700 Date: Fri, 24 Jun 2022 20:18:31 +0800 From: Chen Yu To: Peter Zijlstra Cc: K Prateek Nayak , Vincent Guittot , Mel Gorman , Ingo Molnar , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Barry Song <21cnbao@gmail.com>, Srikar Dronamraju , Len Brown , Ben Segall , Aubrey Li , Abel Wu , Daniel Bristot de Oliveira , Tim Chen , linux-kernel@vger.kernel.org, Yicong Yang , Mohini Narkhede Subject: Re: [PATCH v4] sched/fair: Introduce SIS_UTIL to search idle CPU based on sum of util_avg Message-ID: <20220624121831.GA5570@chenyu5-mobl1> References: <20220612163428.849378-1-yu.c.chen@intel.com> <76c94a3b-6ca2-e0e2-c618-42b147d2737d@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 24, 2022 at 09:29:58AM +0200, Peter Zijlstra wrote: > On Wed, Jun 22, 2022 at 12:06:55PM +0530, K Prateek Nayak wrote: > > Hello Chenyu, > > > > I'm sorry for the delay. The testing took a while but below are > > the results from testing on our system. > > > > tl;dr > > > > o We ran all the tests with with SIS_PROP disabled. > > o tbench reaches close to saturation early with 256 clients. > > o schbench shows improvements for low worker counts. > > o All other benchmark results seem comparable to tip. > > We don't see any serious regressions with v4. > > > > > @@ -61,6 +61,7 @@ SCHED_FEAT(TTWU_QUEUE, true) > > > * When doing wakeups, attempt to limit superfluous scans of the LLC domain. > > > */ > > > SCHED_FEAT(SIS_PROP, true) > > > > SIS_PROP was disabled in our testing as follows: > > > > -- > > -SCHED_FEAT(SIS_PROP, true) > > +SCHED_FEAT(SIS_PROP, false) > > So how about I make this change. > > > With v4 on the current tip, I don't see any need for > > a special case for systems with smaller LLCs with > > SIS_PROP disabled and SIS_UITL enable. Even SIS Efficiency > > seems to be better with SIS_UTIL for hackbench. > > > > Tested-by: K Prateek Nayak > > And apply this thing, lets see how it fares.. OK, thanks, Peter. Best, Chenyu