public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Lukas Wagner" <l.wagner@proxmox.com>
To: "Lukas Wagner" <l.wagner@proxmox.com>, <pve-devel@lists.proxmox.com>
Subject: superseded: [PATCH proxmox-mail-forward] pve-notify-worker: use current-thread runtime
Date: Mon, 23 Nov 2026 11:54:00 +0100	[thread overview]
Message-ID: <DN2J99A04BK2.1HKPLDH9TIZUX@proxmox.com> (raw)
In-Reply-To: <20261123092004.120457-1-l.wagner@proxmox.com>

On Mon Nov 23, 2026 at 10:20 AM CET, Lukas Wagner wrote:
> The multi-threaded runtime used by proxmox_async::runtime::main by
> default spawns one worker thread per CPU core, which is wasteful for
> something as trivial as pve-notify-worker.
>
> The send code path is fully sync at the moment and invoked via
> spawn_blocking; the async parts of the worker are simple enough to not
> gain any significant advantage from the heavy multi-threaded
> work-stealing runtime, thus we just pick the current-thread runtime.

superseded by:

https://lore.proxmox.com/all/20261123105236.212117-1-l.wagner@proxmox.com/T/#u




      parent reply	other threads:[~2026-11-23 10:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  9:20 [PATCH proxmox-mail-forward] pve-notify-worker: use current-thread runtime Lukas Wagner
2026-11-23 10:39 ` Lukas Wagner
2026-11-23 10:54 ` Lukas Wagner [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=DN2J99A04BK2.1HKPLDH9TIZUX@proxmox.com \
    --to=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