Article View: news.software.nntp
Article #90464Re: INN 2.7.1 death spiral under high load?
From: Russ Allbery
Date: Sat, 01 Jul 2023 16:54
Date: Sat, 01 Jul 2023 16:54
22 lines
1822 bytes
1822 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Having googled a bit, there does not seem to be a more elegant way to
> achieve that, unless switching to another method to read sockets
> (poll(), libevent or).
Switching to libevent is almost certainly the right long-term solution
(I've been thinking about this for ages and previously converted remctld
to it), since then it handles all the many confusing variations of
select/poll/epoll/etc. for you and you don't have to worry about figuring
out which system has which variation. It provides an equivalent of innd's
current select loop that's much cleaner but works in a very similar way.
But unfortunately it's a whole lot of quite disruptive work.
It would probably produce a noticable performance increase for really busy
servers, too. select is notoriously inefficient.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<871qhrd13m.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <871qhrd13m.fsf@hope.eyrie.org> Subject: Re: INN 2.7.1 death spiral under high load? Date: Sat, 01 Jul 2023 09:54:05 -0700 From: Russ Allbery <eagle@eyrie.org> References: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: hope.eyrie.org; User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:/4G5splaYPTWJPaCiTyTbWP5RO0=