From: Anna-Maria Behnsen <anna-maria@linutronix.de>
To: Peter Zijlstra <peterz@infradead.org>
Cc: rafael@kernel.org, tglx@linutronix.de, frederic@kernel.org,
gautham.shenoy@amd.com, linux-kernel@vger.kernel.org,
daniel.lezcano@linaro.org, linux-pm@vger.kernel.org,
mingo@redhat.com, juri.lelli@redhat.com,
vincent.guittot@linaro.org, dietmar.eggemann@arm.com,
rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de,
bristot@redhat.com, vschneid@redhat.com
Subject: Re: [RFC][PATCH 0/3] cpuidle,teo: Improve TEO tick decisions
Date: Mon, 31 Jul 2023 13:46:58 +0200 (CEST) [thread overview]
Message-ID: <8b6b73a7-aff4-21e-5c55-294fcf67934e@linutronix.de> (raw)
In-Reply-To: <20230728145515.990749537@infradead.org>
Hi,
On Fri, 28 Jul 2023, Peter Zijlstra wrote:
> Hi,
>
> Wanted to send this yesterday, but my home server died and took everything
> down :/
>
> These patches are lightly tested but appear to behave as expected.
>
>
As I was asked to see if the patches of Raphael improve the behavior, I
rerun the tests with Raphaels v2 as well as with Peters RFC patchset. Here
are the results (compared to upstream):
upstream raphael v2 peter RFC
Idle Total 2533 100.00% 1183 100.00% 5563 100.00%
x >= 4ms 1458 57.56% 1151 97.30% 3385 60.85%
4ms> x >= 2ms 91 3.59% 12 1.01% 133 2.39%
2ms > x >= 1ms 56 2.21% 3 0.25% 80 1.44%
1ms > x >= 500us 64 2.53% 1 0.08% 98 1.76%
500us > x >= 250us 73 2.88% 0 0.00% 113 2.03%
250us > x >=100us 76 3.00% 2 0.17% 106 1.91%
100us > x >= 50us 33 1.30% 4 0.34% 75 1.35%
50us > x >= 25us 39 1.54% 4 0.34% 152 2.73%
25us > x >= 10us 199 7.86% 4 0.34% 404 7.26%
10us > x > 5us 156 6.16% 0 0.00% 477 8.57%
5us > x 288 11.37% 2 0.17% 540 9.71%
tick_nohz_next_event()
count 8839790 6142079 36623
Raphaels Approach still does the tick_nohz_get_sleep_length() execution
unconditional. It executes ~5000 times more tick_nohz_next_event() as the
tick is stopped. This relation improved massively in Peters approach
(factor is ~7).
Thanks,
Anna-Maria
next prev parent reply other threads:[~2023-07-31 11:47 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-28 14:55 Peter Zijlstra
2023-07-28 14:55 ` [RFC][PATCH 1/3] cpuidle: Inject tick boundary state Peter Zijlstra
2023-07-28 15:36 ` Rafael J. Wysocki
2023-07-29 8:44 ` Peter Zijlstra
2023-07-31 8:01 ` Rafael J. Wysocki
2023-07-31 9:09 ` Peter Zijlstra
2023-07-31 10:35 ` Rafael J. Wysocki
2023-07-31 11:00 ` Rafael J. Wysocki
2023-07-31 11:38 ` Peter Zijlstra
2023-07-31 16:55 ` Rafael J. Wysocki
2023-07-31 17:27 ` Rafael J. Wysocki
2023-07-31 18:06 ` Peter Zijlstra
2023-08-02 10:34 ` Peter Zijlstra
2023-08-02 12:44 ` Rafael J. Wysocki
2023-08-02 13:23 ` Peter Zijlstra
2023-07-28 14:55 ` [RFC][PATCH 2/3] cpuidle,teo: Improve NOHZ management Peter Zijlstra
2023-07-28 16:56 ` Rafael J. Wysocki
2023-07-28 22:01 ` Peter Zijlstra
2023-07-31 10:17 ` Rafael J. Wysocki
2023-07-31 12:02 ` Peter Zijlstra
2023-07-31 17:20 ` Rafael J. Wysocki
2023-07-28 14:55 ` [RFC][PATCH 3/3] cpuidle,teo: Improve state selection Peter Zijlstra
2023-07-28 17:07 ` Rafael J. Wysocki
2023-07-29 8:46 ` Peter Zijlstra
2023-07-31 11:46 ` Anna-Maria Behnsen [this message]
2023-07-31 17:51 ` [RFC][PATCH 0/3] cpuidle,teo: Improve TEO tick decisions Rafael J. Wysocki
2023-08-02 8:12 ` Anna-Maria Behnsen
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=8b6b73a7-aff4-21e-5c55-294fcf67934e@linutronix.de \
--to=anna-maria@linutronix.de \
--cc=bristot@redhat.com \
--cc=bsegall@google.com \
--cc=daniel.lezcano@linaro.org \
--cc=dietmar.eggemann@arm.com \
--cc=frederic@kernel.org \
--cc=gautham.shenoy@amd.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rafael@kernel.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
/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®