Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5747432rwb; Wed, 9 Aug 2023 08:36:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6gAAuHtZYdSIIqwX5f19UPK5yxzUXRQyjpbo4Nd/eW9+2EGA+PPN3kRU6toy7Y4YYseu3 X-Received: by 2002:a17:902:be01:b0:1b8:36a8:faf9 with SMTP id r1-20020a170902be0100b001b836a8faf9mr3283140pls.38.1691595367619; Wed, 09 Aug 2023 08:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691595367; cv=none; d=google.com; s=arc-20160816; b=sKoLSxC1UcIP3jUQP1vyrF0AZiTd8+15E7vY8an6JGq5XFhnTHJzliCF30AR9nElld B5OY+LZ+x+yyAZP3VQVor3YsooytlTksQ454yq51zkXG0asFcanNaUjcuLi5HuwB+jNh pEOFovH7K+THJ+5t4xX1zMcxUHmVEpE+XidlWPeNgqCso8iaEeAr2HY7kyKkt+mQjHfs yhUB8pAUP3+jwjDsqQ7yJdk0IGOKglOk723d6aht2TfkpqVd7fzWN+6Vwb7rpZ8yI0mf Dru3iz040CHbkKrDl7IS7VNu1/7lgepJgf8DlsliAzoajvNAaSrSOnn99odQnKSDqxX4 rx7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=58rtfawSUxwCUb7mEI1SeuRoc5XLJ9wF0/EwRxPd07M=; fh=zkoteMwOiHITsxOIplFAA2Ztu/RBPFJfudgorRBS0rk=; b=ZBSXklOmb6uPVTvWlRawHOjDAOlo+lz7InttIXD+6oODiG6F35y1DY2zjKDpWzdsjJ sMKfYGk1nHwVLXy7f0W/J4kaspwl4jHVuuDU3/UprqHM0MgftoAH2tHw5/ffAzB5Sm9f 9HEgpy1GUcY0lgGYQPJx9gUYG+XlvtTtssKlnhNcvIRtDb2ned5sDjQI0zf7b+fvGbGE bv6M4uqKpFlN5OFFAD/fJD5KUXaw9fEPM1lBxc16dGGUAp3MWhsxiUtoTqaLq5Ja0V2T mb2UzMcfRegJR/4A0nSgIf6BSQdeykoTE9T5Q6NLTgaXSa45eDrjLWWgRELRvr7ZDL2R gZOg== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5-20020a170902f68500b001bb9375b349si10107721plg.536.2023.08.09.08.35.54; Wed, 09 Aug 2023 08:36:07 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232891AbjHIPMO convert rfc822-to-8bit (ORCPT + 99 others); Wed, 9 Aug 2023 11:12:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230296AbjHIPMN (ORCPT ); Wed, 9 Aug 2023 11:12:13 -0400 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03B4E210A; Wed, 9 Aug 2023 08:12:11 -0700 (PDT) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6874a386ec7so1297019b3a.1; Wed, 09 Aug 2023 08:12:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691593930; x=1692198730; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xgsj/seu3r4HTFrWkxtLjpgCvQlOKd3EjuoZhWDNEUk=; b=iacHD1SCsLZdufm6qvGnJlcNDdfuZTgeQE0u4gTInPdIETUgJM+EYJq+O5yS1TZ7eZ bg0krBhzaKkLE9NiZVUdRgUPPgalkEjCo91mutqWdTQXJlFJAG9dKeWUYsoQ7efLyK6O WlbPszn8kngpzZ+Ij/G3bDOalrIJuFvAkWcMMwN553Xzo+huXlePJy1sSNQWxbaJivYe G94fUKbn/V19YTJa8gCeUtiS68VZqZWeEgqC19w8Jh3FH7/scWK8wGlUCiB3IZ3Uk4I7 G00By2Kxyq7mc6GyjSlbxh2gy5LY/6F0EIIbnTa7h4+e/i/TpF8UcB9ZXNLczjT99Gzl YG0w== X-Gm-Message-State: AOJu0YxO9fbdX6HebyDNV2R4D6peABXl49cOG54Ii8db6attxV7aID3d SXycK3XfAuHonq6uSKNVmLa4O0tUQnJOQUmhj9w= X-Received: by 2002:a17:90a:764c:b0:25c:1ad3:a4a1 with SMTP id s12-20020a17090a764c00b0025c1ad3a4a1mr2624607pjl.1.1691593930332; Wed, 09 Aug 2023 08:12:10 -0700 (PDT) MIME-Version: 1.0 References: <5712331.DvuYhMxLoT@kreacher> <4c3ac295-41e-8644-4eed-2e5bcdaf302c@linutronix.de> In-Reply-To: <4c3ac295-41e-8644-4eed-2e5bcdaf302c@linutronix.de> From: "Rafael J. Wysocki" Date: Wed, 9 Aug 2023 17:11:58 +0200 Message-ID: Subject: Re: [RFT][PATCH v2 0/3] cpuidle: teo: Do not check timers unconditionally every time To: Anna-Maria Behnsen Cc: "Rafael J. Wysocki" , Linux PM , Kajetan Puchalski , Peter Zijlstra , LKML , Frederic Weisbecker Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no 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, Aug 9, 2023 at 5:10 PM Anna-Maria Behnsen wrote: > > On Mon, 7 Aug 2023, Rafael J. Wysocki wrote: > > > On Mon, Aug 7, 2023 at 5:38 PM Anna-Maria Behnsen > > wrote: > > > > > > On Thu, 3 Aug 2023, Rafael J. Wysocki wrote: > > > > > > > On Thu, Aug 3, 2023 at 11:12 PM Rafael J. Wysocki wrote: > > > > > > > > > > Hi Folks, > > > > > > > > > > This is the second iteration of: > > > > > > > > > > https://lore.kernel.org/linux-pm/4511619.LvFx2qVVIh@kreacher/ > > > > > > > > > > with an additional patch. > > > > > > > > > > There are some small modifications of patch [1/3] and the new > > > > > patch causes governor statistics to play a role in deciding whether > > > > > or not to stop the scheduler tick. > > > > > > > > > > Testing would be much appreciated! > > > > > > > > For convenience, this series is now available in the following git branch: > > > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ > > > > pm-cpuidle-teo > > > > > > > > > > Gauthams tests and the distribution of idle time durations looks pretty > > > good. Also the prevention of calling tick_nohz_get_sleep_length() is very > > > nice (21477 calls of tick_nohz_next_event() and the tick was stopped 2670 > > > times). > > > > > > Here is the deviation of idle time durations (based on your branch): > > > > > > Idle Total 2670 100.00% > > > x >= 4ms 2537 95.02% > > > 4ms> x >= 2ms 19 0.71% > > > 2ms > x >= 1ms 10 0.37% > > > 1ms > x >= 500us 7 0.26% > > > 500us > x >= 250us 6 0.22% > > > 250us > x >=100us 13 0.49% > > > 100us > x >= 50us 17 0.64% > > > 50us > x >= 25us 25 0.94% > > > 25us > x >= 10us 22 0.82% > > > 10us > x > 5us 9 0.34% > > > 5us > x 5 0.19% > > > > Thanks a lot for the data! > > > > Can I add a Tested-by: tag from you to this series? > > > > Sure - sorry for the delay! No worries, thanks!