🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91966

Re: Improving trn: LISTGROUP with no arguments vs. ...?

#91966
From: Julien ÉLIE
Date: Wed, 06 Nov 2024 19:18
37 lines
3085 bytes
Hi Richard,

> On my server (admittedly, nntp isn't as important to my ISP as it was
> in the 90s, so they probably have it running on an old machine for the
> last few customers that actually read news -- like me), it takes
> multiple minutes to get all the articles for, say, comp.arch.

Could you try to send a LISTGROUP command to fr.soc.politique with trn 
connected to my news server? (news.trigofacile.com, available in reading)
It would be interesting to know the result.  There may also be a 
bandwidth issue?


> When I watch it with strace it's about one article per second and the
> read buffer is so empty that it's literally reading just one response
> line per call to read.

Very slow for just an article number (not the contents of a whole article).


> My long-term goal for trn is to move more towards asynchronous I/O
> instead of synchronous I/O.  So I'm thinking LISTGROUP with low and
> high used from your newsrc in order to fetch the likely never seen
> before article numbers on the blocking path and then asynchronously
> fetch whatever is needed in the background once you've entered the
> group.  There's nothing wrong with doing a LISTGROUP for all the
> remaining article numbers asynchronously in the background.

It looks like a good move to do.
Notably if you send an OVER command after the LISTGROUP, and it takes 
the same amount of time to run...

-- 
Julien ÉLIE

« I had some words with my wife, and she had some paragraphs with me. »
   (Sigmund Freud)
Technical Details
Message-ID: <vggfds$3bf0$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!news.trigofacile.com!.POSTED.2001:861:3f82:d7c0:c5fb:876:b144:1a73!not-for-mail
References: <vgbkk1$30c1$1@news.xmission.com> <vgdu4f$16ru$1@news.trigofacile.com> <vgg32p$53n3$1@news.xmission.com>

Show Full Headers
Complete Article Headers
Message-ID: <vggfds$3bf0$1@news.trigofacile.com>
Subject: Re: Improving trn: LISTGROUP with no arguments vs. ...?
Date: Wed, 6 Nov 2024 20:18:20 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <vgbkk1$30c1$1@news.xmission.com> <vgdu4f$16ru$1@news.trigofacile.com> <vgg32p$53n3$1@news.xmission.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!news.trigofacile.com!.POSTED.2001:861:3f82:d7c0:c5fb:876:b144:1a73!not-for-mail
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 6 Nov 2024 19:18:20 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f82:d7c0:c5fb:876:b144:1a73";
 logging-data="110048"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:fDTUv14il84U9w54P/w2ly5DwF4= sha256:TYhYfpxDI6tx5O/dDArvDOcQgwFIB7XPRpl35jWVH0I=
 sha1:mrZnnRRkwVrDJfT76djDHWGalz4= sha256:/PVRhKcMZ28+bYjqZrcC5u475Z628FsikXL7vce09aU=
In-Reply-To: <vgg32p$53n3$1@news.xmission.com>