public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com, Lukas Wagner <l.wagner@proxmox.com>
Subject: applied: [PATCH proxmox-mail-forward 1/2] pve-notify-worker: limit number of worker threads to 2
Date: Tue, 24 Nov 2026 08:50:08 +0100	[thread overview]
Message-ID: <179550660671.3202871.17664920684804954822.b4-ty@b4> (raw)
In-Reply-To: <20261123105236.212117-1-l.wagner@proxmox.com>

On Mon, 23 Nov 2026 11:52:35 +0100, Lukas Wagner wrote:
> proxmox_async::runtime::main uses tokio's default multi-threaded
> runtime, which spawns one worker thread per CPU core. That is wasteful
> for pve-notify-worker, which spends most of its time sleeping between
> polls of the notification queue.

Applied, thanks!

Adapted d/control to build-depend tokio on rt-multi-thread instead of the full
feature.

[1/2] pve-notify-worker: limit number of worker threads to 2
      commit: 9074b77c53a24ae5e037b244e0ec5308fa892f87
[2/2] pve-notify-worker: cargo: only enable required tokio features
      commit: d8dd5bd1242d828b094d25670fa3746df9435b02




      parent reply	other threads:[~2026-11-24  7:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 10:52 [PATCH proxmox-mail-forward 1/2] pve-notify-worker: limit number of worker threads to 2 Lukas Wagner
2026-11-23 10:52 ` [PATCH proxmox-mail-forward 2/2] pve-notify-worker: cargo: only enable required tokio features Lukas Wagner
2026-11-24  7:50 ` Thomas Lamprecht [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=179550660671.3202871.17664920684804954822.b4-ty@b4 \
    --to=t.lamprecht@proxmox.com \
    --cc=l.wagner@proxmox.com \
    --cc=pve-devel@lists.proxmox.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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal