Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp153561iog; Fri, 24 Jun 2022 01:01:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tw7Z2MmFXNndTlkSNrPGxDrkOu6E9bQ/CHUiPBNTDxZww2sgF1/B+8aTQovQ9NIDZceOeH X-Received: by 2002:a17:90b:3b4e:b0:1ed:2236:34f3 with SMTP id ot14-20020a17090b3b4e00b001ed223634f3mr2717652pjb.6.1656057665843; Fri, 24 Jun 2022 01:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656057665; cv=none; d=google.com; s=arc-20160816; b=lNVmx01AFPOkgvjl5lpWqVECpx0hsrbP7o1NI3S3qifSnxfRTdVmNczduwjQRVZAIU TczwUDthnaDyoon2TmSQqtfQ5WZT7qGerxd0mFuRuQc6mRFKQPuk5qtVUEhe+LU403sY /ZO5t/cmvnR/jjb8VJMFyoKPwuEFRhJjUXI1eQMDt/krp+ZImwGwVZyVTNZEyBB6zY8T +JNG1u4VyZ92X2l4SYo55AtDyk+Q60SFBqgiCU/Ct2yqntN6+RvpU9dfauvv68Ap3agr kULUddTBTnN+XUtRIe17Ae8xfk6kF8jrA8z6PssnrR6hV8ZJ5j4uXbJdn5ztEGAzG0h1 dkwg== 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=YUOFk9b/9Pi1CdCvUNVXTceplFA6AUnlxbx60+B9dcw=; b=AD6aWTckbGx7LPhKb3KGiEgyAxPR+IEP+p+sYk0oMUUTRMOW9MhXY9StK8eRPJpep8 NddxeEHDH/EwHGYHppMP0RApTQTDcurooH3Q6OWJ4V84dnkoeLDkr8+9ETSAPFY41liW 1J8I1j0adXxbESVr96nIhL5Mtrfho2L55mekM0j6gB4Y5ALVUhKaTI4u2jeo6bULEM04 wSiXwUeGWz5I8EIM44gG2DCzDRLQQYeuTKsXVFYTWSiOkkLE5Pg5+6PVabxCfjTH4N9a xH7cpLGgXwAJKmdfcXJu4AyP4mp131YBFYmiC39xhomLOQpWMiA2NkZgJD4pJalZXS+A nA+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=RJTk89S0; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o10-20020a056a001bca00b005254254cfd8si1662666pfw.12.2022.06.24.01.00.51; Fri, 24 Jun 2022 01:01:05 -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=@infradead.org header.s=desiato.20200630 header.b=RJTk89S0; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229792AbiFXHbh (ORCPT + 99 others); Fri, 24 Jun 2022 03:31:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbiFXHbe (ORCPT ); Fri, 24 Jun 2022 03:31:34 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 243D869F9B for ; Fri, 24 Jun 2022 00:31:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=YUOFk9b/9Pi1CdCvUNVXTceplFA6AUnlxbx60+B9dcw=; b=RJTk89S0PROMbL6UJk2GB9VH3Y boeJy6Fj/P3iLWMgCWFlNP3yc/NKsj45HMoRB6NW4brd62BOJZ4x83+r70cNzXE8C5z51MD8iOFTe Ul5fyyepJRjpetwqojKickySBiGksoqGJlzowtIzK2zR/rBThomoSBT5GQCtRmYuZzTkbMj1oC/kt u1Kb9cke5RT3KWTV7TpFnCmmEAQdPdrGlKGltV3CimQXtsUgfl5gJL+mVr0cAwsW3fqhS3OXtz9jH 4PgH8xTBUqKAgqmgXYl9JOgYKEaUdJomU/8dUP4crr70QUcZdsS23aqMej5/pYesXrwoCwZfT4h8A NFe9nn0Q==; Received: from dhcp-077-249-017-003.chello.nl ([77.249.17.3] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4dlQ-00C6VQ-E8; Fri, 24 Jun 2022 07:30:15 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 6445C3002C1; Fri, 24 Jun 2022 09:29:58 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4C88D29B3A655; Fri, 24 Jun 2022 09:29:58 +0200 (CEST) Date: Fri, 24 Jun 2022 09:29:58 +0200 From: Peter Zijlstra To: K Prateek Nayak Cc: Chen Yu , 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: 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: <76c94a3b-6ca2-e0e2-c618-42b147d2737d@amd.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 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..