Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1447300rwb; Wed, 26 Jul 2023 12:38:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlHmh3XdfLwKJdWSlz067LTjiofKH+ZQjLoisaDrFXJ7afMj4YEjdI+B62Lblwo8cfUSgRVk X-Received: by 2002:a17:902:9a4a:b0:1bb:1523:b2d7 with SMTP id x10-20020a1709029a4a00b001bb1523b2d7mr2155595plv.14.1690400321898; Wed, 26 Jul 2023 12:38:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690400321; cv=none; d=google.com; s=arc-20160816; b=aV4anALCvlaefDdG30wIWkEc9AjSe/rXbdOIweP6jqeGHv7OVbpIQls3EoPZSoa1cC L+4NgQJHrnE+56iV1kfJ082XJ+m8rslWiRDnTPpyZu/SMHsr5V0anqwQP3PWXW5mnBv9 nuLmsWTRbXi1DGaPJOOfmoHnerfOGH/RyWgFUjdDYSnS7Vecr83kF8OkD+LOo+4bEmjX FAW6tlbxQawR9DJ3AfS15oPOA79y2LAIeD8iaQ8cT8dkr4tYCvSA54kC2KsS8zVyY7Aj S2cNnwK21nGJLT774aCSBMRdYMM/M2Ws2by56Ao1wpPs3HcE+c9XaiMvivTXC5iUHJUb dfqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=YZrmkxliz4L137zobj543VuY/GEZdwjIxt7QCD6FEEs=; fh=rvTIHh2QjfmtDN4WCNhIJUCDWr98Omsb6RueGLKcM8g=; b=pOW/j9hoNiqQmaS+EKh4l77cYPJJ3fSMujgxaReY0isr9pLSwbICpm8ofhPOHyHaco qCEPfUovZ4Npi6ZIPgoYuilGnC1QPFmeVwRES9DNzf0/iUL/G8N+GzGMsLs08FborhHm pJ++t7OoMtkhCd7sIbYP/n9WwLnZN/RGmg3oPCcSP+99pSkNe5KK6Hhf/0xYi/CWO1nw 4T5ilz5vdx+abOlEx9GWvtV3FQpVOhWxXoN7cZ5uRMRriokNoriEC5pGBEt487levC2a w7zbqFFgOdo8xppEsK6Wdd+9PO9DUsk40mrcr/SzPb3ZXTlXu/Hjs/wN+xrERvXbFNMe 6DLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=Slz40rBc; 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=efficios.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kz8-20020a170902f9c800b001bb00cc1060si12489891plb.84.2023.07.26.12.38.27; Wed, 26 Jul 2023 12:38:41 -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=@efficios.com header.s=smtpout1 header.b=Slz40rBc; 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=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231926AbjGZTPv (ORCPT + 99 others); Wed, 26 Jul 2023 15:15:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjGZTPu (ORCPT ); Wed, 26 Jul 2023 15:15:50 -0400 Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11C262717 for ; Wed, 26 Jul 2023 12:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1690398947; bh=bmzxxv67tO74PHxuba7Soe8mJqMyNYizlfnKxsPM08M=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=Slz40rBcNg5VBnPJlKmJcQgcc8zXDXXHfi6GWanPrskFbpWCnLbrOfXifHHKsJI6i dZc19fNna8rfODN/zP4QJldpojme4UPn93dg2dDy0Z88M95iT0oMXL5uwvLOZ8x3Ai Y9psfhQ2en9M2jm7p5YX7KWX8btM+e5r85mtch1VCzH87wMGgbd++0SJGjgsviyUKG ev9SJLRAjLsYnvz8xp1fiKOQslL5lRIHsFax/UGqPO9GLh4gH/oBrOSc19u7MJRqlA jatlWQqBFtvtsRLvHq5/atYit2VYplL2v0AbGqBntIL6uOV28qgX1zF6lqBUYeC7gC 8KLxl2bh7Ex7g== Received: from [172.16.0.134] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4RB3X25JQJz1JsM; Wed, 26 Jul 2023 15:15:46 -0400 (EDT) Message-ID: <934429dc-03d7-f7d4-8828-723e756f1411@efficios.com> Date: Wed, 26 Jul 2023 15:16:34 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [RFC PATCH 1/1] sched: Extend cpu idle state for 1ms Content-Language: en-US From: Mathieu Desnoyers To: Shrikanth Hegde Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Valentin Schneider , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Vincent Guittot , Juri Lelli , Swapnil Sapkal , Aaron Lu , x86@kernel.org, Peter Zijlstra , Srikar Dronamraju References: <20230725193048.124796-1-mathieu.desnoyers@efficios.com> <69076f8e-191b-2e3e-d810-ea72d8ff18bb@linux.vnet.ibm.com> <79fa8a62-a74e-2623-9f03-1f1af85b6c07@efficios.com> <447f756c-9c79-f801-8257-a97cc8256efe@efficios.com> In-Reply-To: <447f756c-9c79-f801-8257-a97cc8256efe@efficios.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 7/26/23 14:56, Mathieu Desnoyers wrote: > On 7/26/23 13:40, Shrikanth Hegde wrote: [...] >> Do you have SMT here? What is the system utilization when you are running >> this workload? > > Yes, SMT is enabled, which brings the number of logical cpus to 384. Here is an additional interesting data point with nosmt=force on 6.4.4: hackbench -g 32 -f 20 --threads --pipe -l 480000 -s 100 baseline: 90s with idle-delay+nr_running<=4: 87s (3% speedup) hackbench -g 16 -f 20 --threads --pipe -l 480000 -s 100 baseline: 52s with idle-delay+nr_running<=4: 32s (38% speedup) So the impact of the patch appears to depend on how much the system actually reaches idle, which does make sense. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com