unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH 0/2] send_cmd IPC improvements for busy sytems
Date: Fri, 29 Nov 2024 23:53:58 +0000	[thread overview]
Message-ID: <20241129235400.138579-1-e@80x24.org> (raw)

Making lei and admin tools fail less on overloaded systems...

Eric Wong (2):
  send_cmd: use (practically) infinite retries for writers
  send_cmd: throttle `sleeping on sendmsg' messages

 lib/PublicInbox/CmdIPC4.pm   |  7 ++++---
 lib/PublicInbox/IPC.pm       | 12 +++++++-----
 lib/PublicInbox/Spawn.pm     | 12 +++++++-----
 lib/PublicInbox/Syscall.pm   |  2 +-
 lib/PublicInbox/WQBlocked.pm | 11 +++++++++--
 lib/PublicInbox/XapClient.pm |  2 +-
 6 files changed, 29 insertions(+), 17 deletions(-)

             reply	other threads:[~2024-11-29 23:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-29 23:53 Eric Wong [this message]
2024-11-29 23:53 ` [PATCH 1/2] send_cmd: use (practically) infinite retries for writers Eric Wong
2024-11-29 23:54 ` [PATCH 2/2] send_cmd: throttle `sleeping on sendmsg' messages Eric Wong
2024-11-30  8:26 ` [PATCH 3/2] wqblocked: use per-instance unique timer Eric Wong

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

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241129235400.138579-1-e@80x24.org \
    --to=e@80x24.org \
    --cc=meta@public-inbox.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).