Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Marriage is the sole cause of divorce.


computers / news.software.nntp / Slow XOVER

SubjectAuthor
* Slow XOVERJesse Rehmer
`* Re: Slow XOVERJesse Rehmer
 `* Re: Slow XOVERJulien ÉLIE
  `* Re: Slow XOVERJesse Rehmer
   `* Re: Slow XOVERJulien ÉLIE
    `- Re: Slow XOVERJesse Rehmer

1
Slow XOVER

<8048880366.bc4d486f@freebsd-inject1.usenet.blueworldhosting.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=953&group=news.software.nntp#953

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.rehmer@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: Slow XOVER
Date: Fri, 8 Jul 2022 11:41:29 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <8048880366.bc4d486f@freebsd-inject1.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 11:41:29 -0000 (UTC)
Injection-Info: news.usenet.blueworldhosting.com;
logging-data="97045"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:+nIazYYgWZfF8MsJniejGt/0Sq4= sha256:wZ/yMucWNV0MzzKU2iuA5DpJfDts5ZAWvVSs/gxdzeo=
sha1:7r0hyHiH2cvLzJXKMmPINMa25dI= sha256:M75tKvw2eHuZOkZOGPDTcAOW/2XRyb0ajJvkf7A0VmI=
X-Usenapp: v1.22/d - Full License
 by: Jesse Rehmer - Fri, 8 Jul 2022 11:41 UTC

I'm noticing very slow XOVER behavior with some of the larger groups on my
server. When I look at what nnrpd is doing it appears to be touching every
article on the spool for that group during XOVER. I *thought* the data
provided by the XOVER command came from the overview database. What I see with
truss is that it is accessing every article and while I'm watching never
accesses the overview database.

Is this expected behavior from XOVER? This is a large group with 1.3 million
articles, so I don't expect instant response, but surprised to see the nnrpd
process doesn't appear to be using overview data from what I can see with
truss:

<snipped millions of similar lines>
access("/usr/local/news/spool/articles/rec/arts/tv/1279573",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1279574",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1279575",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1279576",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1279577",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1279578",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1279579",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1279580",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/alt/fan/rush-limbaugh/521666",R_OK) = 0
(0x0)
access("/usr/local/news/spool/articles/alt/politics/usa/127302",R_OK) = 0
(0x0)
access("/usr/local/news/spool/articles/alt/fan/rush-limbaugh/521668",R_OK) = 0
(0x0)
access("/usr/local/news/spool/articles/alt/fan/rush-limbaugh/521669",R_OK) = 0
(0x0)
access("/usr/local/news/spool/articles/alt/fan/rush-limbaugh/521670",R_OK) = 0
(0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1321380",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1321381",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/alt/fan/rush-limbaugh/521671",R_OK) = 0
(0x0)
access("/usr/local/news/spool/articles/alt/fan/rush-limbaugh/521672",R_OK) = 0
(0x0)
access("/usr/local/news/spool/articles/alt/politics/usa/127303",R_OK) = 0
(0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1321385",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/alt/survival/84115",R_OK) = 0 (0x0)
access("/usr/local/news/spool/articles/rec/arts/tv/1321387",R_OK) = 0 (0x0)
write(1,"\^W\^C\^C@\^X_\M-'\M-$>\M^M\M^Y"...,16413) = 16413 (0x401d)
write(1,"\^W\^C\^C@\^X_\M-'\M-$>\M^M\M^Y"...,16413) = 16413 (0x401d)
write(1,"\^W\^C\^C@\^X_\M-'\M-$>\M^M\M^Y"...,16413) = 16413 (0x401d)
write(1,"\^W\^C\^C@\^X_\M-'\M-$>\M^M\M^Y"...,16413) = 16413 (0x401d)
write(1,"\^W\^C\^C@\^X_\M-'\M-$>\M^M\M^Y"...,16413) = 16413 (0x401d)
write(1,"\^W\^C\^C@\^X_\M-'\M-$>\M^M\M^Y"...,16413) = 16413 (0x401d)
write(1,"\^W\^C\^C@\^X_\M-'\M-$>\M^M\M^Y"...,16413) = 16413 (0x401d)
write(1,"\^W\^C\^C@\^X_\M-'\M-$>\M^M\M^Y"...,16413) = 16413 (0x401d)
write(1,"\^W\^C\^C\^TT_\M-'\M-$>\M^M\M^Y"...,5209) = 5209 (0x1459)
sigprocmask(SIG_SETMASK,{
SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIG
SEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SI
GTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR
1|SIGUSR2 },{ }) = 0 (0x0)
sigaction(SIGALRM,{ 0x80192ba00 SA_RESTART|SA_SIGINFO ss_t },{ SIG_DFL
SA_RESTART ss_t }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0)
setitimer(0,{ 0.000000, 1800.000000 },{ 0.000000, 0.000000 }) = 0 (0x0)

Re: Slow XOVER

<8354579699.65a94979@freebsd-inject1.usenet.blueworldhosting.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=954&group=news.software.nntp#954

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.rehmer@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: Re: Slow XOVER
Date: Fri, 8 Jul 2022 12:32:26 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <8354579699.65a94979@freebsd-inject1.usenet.blueworldhosting.com>
References: <8048880366.bc4d486f@freebsd-inject1.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 12:32:26 -0000 (UTC)
Injection-Info: news.usenet.blueworldhosting.com;
logging-data="80326"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:T9QiRISA30ptNAMdL147BlNa0wg= sha256:jX6TGOfYJf7JEIHTmPqRJLSq01sIzhKmNZmpCm6ArQs=
sha1:Di3ib6CFfO39bva5vmndsiunUrA= sha256:3vvnd2VVsukJv0oQerbeNH6KM9F2IrUZI43neu87wLA=
X-Usenapp: v1.22/d - Full License
 by: Jesse Rehmer - Fri, 8 Jul 2022 12:32 UTC

False alarm... Just realized at some point I set nnrpdcheckart to true in
inn.conf. Not sure why I thought I needed that or was a good idea. :)

Re: Slow XOVER

<ta9h8h$1eo15$1@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=955&group=news.software.nntp#955

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: Slow XOVER
Date: Fri, 8 Jul 2022 17:08:01 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <ta9h8h$1eo15$1@news.trigofacile.com>
References: <8048880366.bc4d486f@freebsd-inject1.usenet.blueworldhosting.com>
<8354579699.65a94979@freebsd-inject1.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 15:08:01 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105";
logging-data="1531941"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Cancel-Lock: sha1:JrtCXZmLt9JIrEczBle17o+bUPc= sha256:ivTQ4qv7KeI9M8YQsE3yWBRvXt8ajuCCVUd/iJ/v1P8=
sha1:HAjVi5RwBHLhMPfxM80SvwiXb7c= sha256:Fq5yXXCIzENYbTVIZyS9mCaQkCZRauKQBAFl4rnXh6k=
In-Reply-To: <8354579699.65a94979@freebsd-inject1.usenet.blueworldhosting.com>
 by: Julien ÉLIE - Fri, 8 Jul 2022 15:08 UTC

Hi Jesse,

> False alarm... Just realized at some point I set nnrpdcheckart to true in
> inn.conf. Not sure why I thought I needed that or was a good idea.:)

"true" is the default value of nnrpdcheckart, so you did nothing wrong!
In your case, it could indeed be set to "false".
Did it greatly improve the response time of the command?

Also, note that using virtualhost in readers.conf slows down a bit
(X)OVER responses as the Xref header field present in overview data will
be rewritten. Not sure it really takes much time, though!

--
Julien ÉLIE

« C'est comme chercher une aiguille dans du foin en bottes ! »
(Jolitorax)

Re: Slow XOVER

<9554221030.115134f6@freebsd-inject1.usenet.blueworldhosting.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=960&group=news.software.nntp#960

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.rehmer@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: Re: Slow XOVER
Date: Fri, 8 Jul 2022 15:52:22 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <9554221030.115134f6@freebsd-inject1.usenet.blueworldhosting.com>
References: <8048880366.bc4d486f@freebsd-inject1.usenet.blueworldhosting.com> <8354579699.65a94979@freebsd-inject1.usenet.blueworldhosting.com> <ta9h8h$1eo15$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 15:52:22 -0000 (UTC)
Injection-Info: news.usenet.blueworldhosting.com;
logging-data="88338"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:qJOCI3STHfG2btLdIZu267rHhdQ= sha256:3DD1yuJPtdFVleK6fOmlOO7F29a8L/zSSHApAcH/U2I=
sha1:/PB5Z1HD8rIO8VXwsSp+yGP3mOo= sha256:s5smMwK1UJdl0Hb4tWcba5jdxRS0AQpzeGzxiMf7WEo=
X-Usenapp: v1.22/d - Full License
 by: Jesse Rehmer - Fri, 8 Jul 2022 15:52 UTC

On Jul 8, 2022 at 10:08:01 AM CDT, "Julien ÉLIE" in
<ta9h8h$1eo15$1@news.trigofacile.com> wrote:

> Hi Jesse,
>
>> False alarm... Just realized at some point I set nnrpdcheckart to true in
>> inn.conf. Not sure why I thought I needed that or was a good idea.:)
>
> "true" is the default value of nnrpdcheckart, so you did nothing wrong!
> In your case, it could indeed be set to "false".
> Did it greatly improve the response time of the command?

Ah, my first thought was I turned it on when I was having trouble with
expireover, but this makes sense.

> Also, note that using virtualhost in readers.conf slows down a bit
> (X)OVER responses as the Xref header field present in overview data will
> be rewritten. Not sure it really takes much time, though!

Setting it to false *dramatically* improved XOVER performance, hard to
quantify but certainly orders of magnitude faster (few seconds for fetching
50,000 records vs. minutes).

I did read that note about a performance hit using virtualhost, but I can't
say I notice any difference after configuring virtualhost. I happened to
notice the slow XOVER response because I was subscribing to the largest group
in my newsreader to look at something else.

Re: Slow XOVER

<ta9k9o$1eqj6$1@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=962&group=news.software.nntp#962

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!aioe.org!news.freedyn.de!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176.143-2-105.abo.bbox.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: Slow XOVER
Date: Fri, 8 Jul 2022 17:59:52 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <ta9k9o$1eqj6$1@news.trigofacile.com>
References: <8048880366.bc4d486f@freebsd-inject1.usenet.blueworldhosting.com>
<8354579699.65a94979@freebsd-inject1.usenet.blueworldhosting.com>
<ta9h8h$1eo15$1@news.trigofacile.com>
<9554221030.115134f6@freebsd-inject1.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 15:59:52 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105";
logging-data="1534566"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Cancel-Lock: sha1:+3C7feb6DfR3JSgHq21RJ6gsWqc= sha256:EFouEVXfh/3lKc+iOLXedIZbhip+hnDzUFMtVH1soWA=
sha1:ZsMgRq18lx92K3TV5EUXU2F8vm8= sha256:nSGh16QYMTCOee7uzIxn5JrnsR9uiYnifh4mSgtd0kY=
In-Reply-To: <9554221030.115134f6@freebsd-inject1.usenet.blueworldhosting.com>
 by: Julien ÉLIE - Fri, 8 Jul 2022 15:59 UTC

Hi Jesse,

>> "true" is the default value of nnrpdcheckart, so you did nothing wrong!
>> In your case, it could indeed be set to "false".
>> Did it greatly improve the response time of the command?
>
> Setting it to false *dramatically* improved XOVER performance, hard to
> quantify but certainly orders of magnitude faster (few seconds for fetching
> 50,000 records vs. minutes).

Checking the existence of articles (nnrpdcheckart) is indeed really
time-consuming for 50,000 records!

> I happened to
> notice the slow XOVER response because I was subscribing to the largest group
> in my newsreader to look at something else.

In such cases, the COMPRESS extension is also useful to speed up the
transmission of overview data. Unfortunately, I'm not aware of any news
client other than flnews that implemented it :-/

--
Julien ÉLIE

« Piscis primum a capite foetet. »

Re: Slow XOVER

<9953444968.64184771@freebsd-inject1.usenet.blueworldhosting.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=965&group=news.software.nntp#965

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.rehmer@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: Re: Slow XOVER
Date: Fri, 8 Jul 2022 16:58:55 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <9953444968.64184771@freebsd-inject1.usenet.blueworldhosting.com>
References: <8048880366.bc4d486f@freebsd-inject1.usenet.blueworldhosting.com> <8354579699.65a94979@freebsd-inject1.usenet.blueworldhosting.com> <ta9h8h$1eo15$1@news.trigofacile.com> <9554221030.115134f6@freebsd-inject1.usenet.blueworldhosting.com> <ta9k9o$1eqj6$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 16:58:55 -0000 (UTC)
Injection-Info: news.usenet.blueworldhosting.com;
logging-data="25752"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:+jN27pxCdl8BPjNigXrFITHyCWw= sha256:Nd/UmQq+uUtW2qGz9rcR+1pe7SlyUUjDQAhRg1KqGtw=
sha1:lXx+1jj8kLalZBPkWEY/FiqKo7k= sha256:ffzCA2SO0E7nGZlInhB9rlFvvSj24beKxX7urpZR99Y=
X-Usenapp: v1.22/d - Full License
 by: Jesse Rehmer - Fri, 8 Jul 2022 16:58 UTC

On Jul 8, 2022 at 10:59:52 AM CDT, "Julien ÉLIE" in
<ta9k9o$1eqj6$1@news.trigofacile.com> wrote:

> Hi Jesse,
>
>>> "true" is the default value of nnrpdcheckart, so you did nothing wrong!
>>> In your case, it could indeed be set to "false".
>>> Did it greatly improve the response time of the command?
>>
>> Setting it to false *dramatically* improved XOVER performance, hard to
>> quantify but certainly orders of magnitude faster (few seconds for fetching
>> 50,000 records vs. minutes).
>
> Checking the existence of articles (nnrpdcheckart) is indeed really
> time-consuming for 50,000 records!
>
>
>> I happened to
>> notice the slow XOVER response because I was subscribing to the largest group
>> in my newsreader to look at something else.
>
> In such cases, the COMPRESS extension is also useful to speed up the
> transmission of overview data. Unfortunately, I'm not aware of any news
> client other than flnews that implemented it :-/

I bet there are some newsreaders more focused around downloading binaries that
implement it. I sent a question to the Usenapp Support team asking if their
client does. Usenapp is relatively new and has zero documentation at the
moment.

The client seems well rounded for newsreading and binary downloads and from
what I've observed, more conformant to standards than similar predecessors
(Unison, for example). I prefer it for reading and composing over Thunderbird.
It has more of the 'old school' newsreader features that have disappeared
from many clients (killfiles, for example).


computers / news.software.nntp / Slow XOVER

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor