Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3256433rwb; Mon, 7 Aug 2023 10:26:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIWB+jy+B1j+jM/RJeKuFMoONKBR4R4leFwFaq7OWYjcmBgQ9FNSAUk6xOxJERZfvyt3xn X-Received: by 2002:a17:90a:38c5:b0:268:15f5:9191 with SMTP id x63-20020a17090a38c500b0026815f59191mr9284420pjb.36.1691429186128; Mon, 07 Aug 2023 10:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691429186; cv=none; d=google.com; s=arc-20160816; b=ZJhkgAl42uXw0Aek+AJ3PISLf8EsdzFzxINZrawExd2gj8Od0TZq9LQnDepdpzDBRw 6ZFbn94Qqve6YJRmI5J1IOJ+czNfM1t9prvtgTSWp8RVZwL/mxogJKihQRlupzc+dodZ /J4gv/XjUQ6HkUl+S+Cq9GDnWZHZJudPBb5HB9yLyTVKtvE6IRL4yNA126eP051jJ5Oi y3iXYvPjUG0IEwx6lOOsthNq6t26pE4jlPA9sC0Je/jIZijLvj+t1CPSU+73rd5agXXJ jrPKDEcypRvbzahgZSkToOmCKikkjAOZpkxZdfa17nJ9n5bU99NM1mu1X7fkO09qZW1s j4Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-id:mime-version:references:message-id :in-reply-to:subject:cc:to:from:dkim-signature:dkim-signature:date; bh=i8gXw28Rp0mMrJEUhB/kKjewz2rdG+p8v2WZO5btGqk=; fh=uL9d0eCkr50QcgDaT0OLqdhoeNBL9jugHSDNz5O2aHk=; b=IdT2R6QpCjAzAiRwhZYqlPraQenDB1VY4eTIZby9wjDDGB9gDOJb74oyelJ4RzQmnx tBss/XqrbSY85F0vJYt31h+c7AhbAnFAe58rF89/gx/SZ9SxVoPN5v7Uw+/gjFXYx1ME yXtKe2oOTDtSrkKiXrW59D8OBus4mcgosZmg7ZFH9j1xt3mulpVw+I8XD/yItYucLq/F CDSpi8xN65x2n9F1MtxAXBAjZ++wkYL8dBSiNVWLZ2Ch0p//jqDs0oK1Pppe70o7D4nj Sx7yApn5G5LJ07Mq4peGQJuTtXgbD8Ks/4vb3Yls6QjiPLj01UMfKOqpRxNElOVKtb2E aunA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=h4l+d+ns; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m6-20020a17090a2c0600b002633c436f4esi6147936pjd.34.2023.08.07.10.26.13; Mon, 07 Aug 2023 10:26:26 -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=@linutronix.de header.s=2020 header.b=h4l+d+ns; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230442AbjHGPij (ORCPT + 99 others); Mon, 7 Aug 2023 11:38:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjHGPii (ORCPT ); Mon, 7 Aug 2023 11:38:38 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 204E8BD; Mon, 7 Aug 2023 08:38:37 -0700 (PDT) Date: Mon, 7 Aug 2023 17:38:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691422715; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i8gXw28Rp0mMrJEUhB/kKjewz2rdG+p8v2WZO5btGqk=; b=h4l+d+nsasJB11pMYv2PFS8UVaI/eYIwYlWrXA9l4CTpxDL0XVmWTtfRRIg/KVeg8ehur7 3Ma8Tm4NNPPQPJTa8AVPzGdSJr+jAsycWTXUbChtPyzIF/hAc5YCljiIGa0jGs1vJmdtVs u0Kwjq8cdipV+IV5msyC/kn78e5D/vjWJ05VLXywNamjDArMwaW5C3hc1EHiRBOhzHgJzo PhQhyZZvUQ0mlsuqT/XxKkJcRiBXzFMliX6MZXBGXd5pRkoL1ahx6Y03oZ7OeZykNKZi8a dAOXfBNEupVRq9/vDjY2JhGVXJmeOONXNVJvAogHpD8Cfz73JrnVJ1RMItwkbg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691422715; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i8gXw28Rp0mMrJEUhB/kKjewz2rdG+p8v2WZO5btGqk=; b=kg8fg/UTIZOShMWbVmm9xXpQkN7KHrpej4SkIOQIP+OjbUB/xnL3vYfLFoj3kvepwMjd9n 5mdaianJWA5zBgBQ== From: Anna-Maria Behnsen To: "Rafael J. Wysocki" cc: Linux PM , Kajetan Puchalski , Peter Zijlstra , LKML , Frederic Weisbecker Subject: Re: [RFT][PATCH v2 0/3] cpuidle: teo: Do not check timers unconditionally every time In-Reply-To: Message-ID: References: <5712331.DvuYhMxLoT@kreacher> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-956484182-1691421535=:1859" Content-ID: <5afcbb2f-5f12-5e79-e1c-14e1dc13ee62@linutronix.de> 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_PASS 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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-956484182-1691421535=:1859 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Content-ID: <8c6bc3a-399a-3390-ecc0-84cd9b5b12f5@linutronix.de> 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, Anna-Maria --8323329-956484182-1691421535=:1859--