Deutsch English Français Italiano |
<vggfds$3bf0$1@news.trigofacile.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder2.eternal-september.org!news.trigofacile.com!.POSTED.2001:861:3f82:d7c0:c5fb:876:b144:1a73!not-for-mail From: =?UTF-8?Q?Julien_=C3=89LIE?= <iulius@nom-de-mon-site.com.invalid> Newsgroups: news.software.nntp Subject: Re: Improving trn: LISTGROUP with no arguments vs. ...? Date: Wed, 6 Nov 2024 20:18:20 +0100 Organization: Groupes francophones par TrigoFACILE Message-ID: <vggfds$3bf0$1@news.trigofacile.com> References: <vgbkk1$30c1$1@news.xmission.com> <vgdu4f$16ru$1@news.trigofacile.com> <vgg32p$53n3$1@news.xmission.com> 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> Bytes: 2774 Lines: 37 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)