Send inn-workers mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."
Today's Topics:
1. Re: nnrpd and TCP nagle (Russ Allbery)
----------------------------------------------------------------------
Message: 1
Date: Wed, 23 Mar 2016 10:17:10 -0700
From: Russ Allbery <[email protected]>
To: [email protected]
Subject: Re: nnrpd and TCP nagle
Message-ID: <[email protected]>
Content-Type: text/plain
christian mock <[email protected]> writes:
> I've been debugging a slow reader issue with a friend and we've found
> that when his tin does a "listgroup", each and every article number is
> going over the wire in its own packet. That, of course, is pretty
> inefficient.
> I've found the following in nnrpd.c (line 614):
> /* Setting TCP_NODELAY to nnrpd fixes a problem of slow downloading
> * of overviews and slow answers on some architectures (like BSD/OS). */
> setsockopt(STDIN_FILENO, IPPROTO_TCP, TCP_NODELAY, &nodelay,
> sizeof(nodelay));
> Which, when removed, makes for way better performance, about an order
> of magnitude down in number of packets and time for the group we've
> been testing with.
> The last time I ran INN on BSD/OS was 20 years ago, and BSD/OS has
> been discontinued in 2003, which indicates this line is somewhat
> historic. And for NNTP TCP_NODELAY makes no sense in the first place.
> So I suggest removing this.
Yup, I agree. It's almost never a good idea to tweak stuff like that with
a modern networking stack. The kernel is probably going to be smarter
about aggregation than we're going to be.
--
Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
------------------------------
_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers
End of inn-workers Digest, Vol 82, Issue 4
******************************************