From: Zixin Wang <w1355457260@gmail.com>
To: frederic@kernel.org
Cc: Zixin Wang <w1355457260@gmail.com>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
"Ahmed S. Darwish" <darwi@linutronix.de>,
John Ogness <john.ogness@linutronix.de>,
linux-doc@vger.kernel.org, linux-rt-devel@lists.linux.dev,
clrkwllms@kernel.org, rostedt@goodmis.org, corbet@lwn.net,
wagi@monom.org, atomlin@atomlin.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6] Documentation: real-time: Add runtime tuning guide
Date: Wed, 25 Nov 2026 14:14:09 +0000 [thread overview]
Message-ID: <20261125141409.330411-1-w1355457260@gmail.com> (raw)
In-Reply-To: <awbgq0xQyJATel0_@localhost.localdomain>
Hi Frederic,
Thanks for the review. You are correct: the CPU isolation section
duplicated Documentation/admin-guide/cpu-isolation.rst. I checked the
remaining runtime tuning content for similar overlap with other
documentation and will keep the canonical material referenced instead of
duplicated.
On the second point, I ran a local QEMU test with the PREEMPT_RT kernel
(7.3.5, HZ=1000). The guest had 8 vCPUs; the test process was pinned to
CPU 6 with:
isolcpus=domain,nohz,6-7 nohz_full=6-7 rcu_nocbs=6-7 irqaffinity=0-5
The only difference between the two runs was the presence of
rcu_nocb_poll. The workload repeatedly created and closed perf events and
epoll instances, which enqueued RCU callbacks on CPU 6; I traced
rcu_callback, rcu_invoke_callback, and rcu_nocb_wake, and measured
enqueue-to-invocation latency (including the grace period). I ran three
80-iteration guest runs per mode, giving 480 callbacks per mode.
without rcu_nocb_poll:
median 4.012 ms, p95 4.203 ms, max 7.040 ms
with rcu_nocb_poll:
median 7.003 ms, p95 9.971 ms, max 12.542 ms
The polling mode showed Poll/WakeNotPoll events and no WakeEmpty/DoWake
events. Thus, in this test, polling did not improve real-time response;
it made callback invocation latency worse.
I have updated the guide accordingly: the CPU isolation details now point
to Documentation/admin-guide/cpu-isolation.rst instead of being
duplicated, and the rcu_nocb_poll description no longer claims a real-time
benefit. It now states that the kthreads poll every jiffy and can delay
callback and grace-period processing.
So far only you and Sebastian have replied to this patch. I am waiting
for more reviewer feedback before sending v7.
The kernel-parameters.txt entry still says that rcu_nocb_poll improves
real-time response; I left that file untouched in this patch, but it may
need a separate correction.
The test logs and summary are available locally; I can share them if
useful.
Thanks,
Zixin
prev parent reply other threads:[~2026-11-25 14:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 7:46 Zixin Wang
2026-11-25 10:44 ` Sebastian Andrzej Siewior
2026-11-25 13:20 ` Frederic Weisbecker
2026-11-25 14:14 ` Zixin Wang [this message]
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=20261125141409.330411-1-w1355457260@gmail.com \
--to=w1355457260@gmail.com \
--cc=atomlin@atomlin.com \
--cc=bigeasy@linutronix.de \
--cc=clrkwllms@kernel.org \
--cc=corbet@lwn.net \
--cc=darwi@linutronix.de \
--cc=frederic@kernel.org \
--cc=john.ogness@linutronix.de \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-devel@lists.linux.dev \
--cc=rostedt@goodmis.org \
--cc=wagi@monom.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®