From: Florian Fainelli <florian.fainelli@broadcom.com>
To: Christian Loehle <christian.loehle@arm.com>,
Joseph Salisbury <joseph.salisbury@oracle.com>,
"Rafael J. Wysocki (Intel)" <rafael@kernel.org>
Cc: rafael.j.wysocki@intel.com, Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
frederic@kernel.org, linux-pm@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>,
regressions@lists.linux.dev
Subject: Re: [PATCH] sched/idle: Stop the tick when no cpuidle driver is available
Date: Thu, 5 Nov 2026 15:59:21 -0800 [thread overview]
Message-ID: <097f4855-eca1-414a-932c-107d9eee5088@broadcom.com> (raw)
In-Reply-To: <0b9b9c3d-8ba0-4329-9504-b9d33c627649@arm.com>
On 7/28/26 09:37, Christian Loehle wrote:
> Commit f4c31b07b136 ("sched: idle: Consolidate the handling of two
> special cases") changed the no-cpuidle-driver path to use the previous
> tick wakeup heuristic.
>
> Oracle reported a substantial sysbench regression on small OCI VM shapes
> with no cpuidle driver available. Reverting the commit recovered the lost
> performance.
>
> Restore the previous tick handling for the no-driver case while retaining
> the heuristic for the single-state cpuidle case.
>
> Fixes: f4c31b07b136 ("sched: idle: Consolidate the handling of two special cases")
> Reported-by: Joseph Salisbury <joseph.salisbury@oracle.com>
> Closes: https://lore.kernel.org/all/096b42fa-107f-450d-b3b1-03bcad3f1e04@oracle.com/
> Signed-off-by: Christian Loehle <christian.loehle@arm.com>
FWIW:
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
We also hit this issue after it got back ported into stable trees (5.15,
6.1, etc.) and this is seen during a network throughput test. This is on
an ARM 32-bit platform with:
# CONFIG_ARM_CPUIDLE is not set
# CONFIG_ARM_PSCI_CPUIDLE is not set
Not that we could not fix that, but this platform really only has WFI
has the idle state and it looks like other people are impacted anyway.
--
Florian
next prev parent reply other threads:[~2026-11-05 23:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-02 16:25 [REGRESSION] sched/idle: Sysbench threads regression after f4c31b07b136 Joseph Salisbury
2026-07-02 18:47 ` Rafael J. Wysocki (Intel)
2026-07-06 14:29 ` Christian Loehle
2026-07-08 15:25 ` Joseph Salisbury
2026-07-24 17:20 ` Joseph Salisbury
2026-07-28 8:30 ` Christian Loehle
2026-07-28 16:37 ` [PATCH] sched/idle: Stop the tick when no cpuidle driver is available Christian Loehle
2026-11-05 23:59 ` Florian Fainelli [this message]
2026-07-29 2:36 ` [REGRESSION] sched/idle: Sysbench threads regression after f4c31b07b136 Zhan Xusheng
2026-07-29 18:03 ` Rafael J. Wysocki (Intel)
2026-07-29 18:25 ` Rafael J. Wysocki (Intel)
2026-07-30 9:27 ` Christian Loehle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=097f4855-eca1-414a-932c-107d9eee5088@broadcom.com \
--to=florian.fainelli@broadcom.com \
--cc=christian.loehle@arm.com \
--cc=dietmar.eggemann@arm.com \
--cc=frederic@kernel.org \
--cc=joseph.salisbury@oracle.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rafael.j.wysocki@intel.com \
--cc=rafael@kernel.org \
--cc=regressions@lists.linux.dev \
--cc=vincent.guittot@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®