All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frederic Weisbecker <frederic@kernel.org>
To: Peng Wang <peng_wang@linux.alibaba.com>
Cc: Anna-Maria Behnsen <anna-maria@linutronix.de>,
	Ingo Molnar <mingo@kernel.org>, Thomas Gleixner <tglx@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"Rafael J . Wysocki" <rafael@kernel.org>,
	Danilo Krummrich <dakr@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Waiman Long <longman@redhat.com>, Tejun Heo <tj@kernel.org>,
	He Rongguang <herongguang@linux.alibaba.com>,
	linux-kernel@vger.kernel.org, linux-api@vger.kernel.org,
	driver-core@lists.linux.dev, linux-trace-kernel@vger.kernel.org,
	cgroups@vger.kernel.org
Subject: Re: [RFC PATCH v2 1/2] tick/nohz: Add a policy dependency for full dynticks
Date: Thu, 29 Oct 2026 15:02:13 +0100	[thread overview]
Message-ID: <auNR5c6hXlb_FFkB@localhost.localdomain> (raw)
In-Reply-To: <auLqmMdd8RIdf6st@U-3K7XLPQ6-0046.local>

Le Thu, Oct 29, 2026 at 02:41:28PM +0800, Peng Wang a écrit :
> Hi Frederic,
> 
> > Do you mean that your database runs better when hosts CPUs are in nohz_full?
> 
> Yes. In our database tests, suppressing the host's non-idle
> periodic tick improved performance, with the rest of the host
> configuration unchanged.

Out of curiosity, for such database tests, only the host tick is off, not the guest
tick, right?

> > But how does this new interface help? Ie: why is it worse to have all CPUs in
> 
> The tick policy itself can therefore affect guest performance.
> A large host runs VMs for many customers with different workloads.
> Customers create and release VMs independently, so the same host
> CPU can be reassigned to a different workload while other VMs
> remain running.
> 
> We want to choose whether to retain the non-idle tick or allow its
> suppression for the workload currently assigned to each CPU, and
> revisit that choice when the CPU is reassigned. Per-CPU control
> lets us do this without rebooting or taking CPUs offline.

Ok in that case, do you know about the current work in progress
to make nohz_full opt-able through cpusets? It implies taking the
target CPUs offline shortly but the policy is to be setup before VM
is launched, right?

Thanks.

-- 
Frederic Weisbecker
SUSE Labs

  reply	other threads:[~2026-10-29 14:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-17 13:13 [RFC PATCH v2 0/2] tick/nohz: Add per-CPU control of non-idle tick suppression Peng Wang
2026-10-17 13:13 ` [RFC PATCH v2 1/2] tick/nohz: Add a policy dependency for full dynticks Peng Wang
2026-10-23 15:00   ` Frederic Weisbecker
2026-10-23 16:32     ` Peng Wang
2026-10-28 15:58       ` Frederic Weisbecker
2026-10-29  6:41         ` Peng Wang
2026-10-29 14:02           ` Frederic Weisbecker [this message]
2026-10-29 16:02             ` Peng Wang
2026-10-29 16:49               ` Frederic Weisbecker
2026-10-17 13:13 ` [RFC PATCH v2 2/2] cpu: Add per-CPU control of non-idle tick suppression Peng Wang

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=auNR5c6hXlb_FFkB@localhost.localdomain \
    --to=frederic@kernel.org \
    --cc=anna-maria@linutronix.de \
    --cc=cgroups@vger.kernel.org \
    --cc=dakr@kernel.org \
    --cc=driver-core@lists.linux.dev \
    --cc=gregkh@linuxfoundation.org \
    --cc=herongguang@linux.alibaba.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=longman@redhat.com \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=mingo@kernel.org \
    --cc=peng_wang@linux.alibaba.com \
    --cc=peterz@infradead.org \
    --cc=rafael@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@kernel.org \
    --cc=tj@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.