Gnus development mailing list
 help / color / mirror / Atom feed
From: Wolfgang Jenkner <wjenkner@inode.at>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: ding@gnus.org,  Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Excessive nntp reads since today
Date: Sat, 16 Jun 2012 16:18:42 +0200	[thread overview]
Message-ID: <858vfne3wd.fsf@iznogoud.viz> (raw)
In-Reply-To: <87k3z7bep9.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Sat, 16 Jun 2012 14:53:38 +0200")

On Sat, Jun 16 2012, Tassilo Horn wrote:

> Wolfgang Jenkner <wjenkner@inode.at> writes:
>
>>>> Well, as I said, when plugged the agent cache is, IMHO, designed to
>>>> be transparent with respect to the server.
>>>>
>>>> This implies that the summary should be the same as if the agent
>>>> were non used at all.
>>>>
>>>> Only when the agent is unplugged it effectively is the server and
>>>> you may expose its internal state in the summary.
>>
>>> Thus there shouldn't be a need to have subscribed groups to be
>>> complete (header) mirrors of all available messages on the server.
>>
>> Of course not.  Nobody said that the agent should cache all headers.
>>
>> Quite the contrary, actually :-)
>
> But that's actually the effect of your patch.  If the fetch-old argument
> is something not numerical, it'll fetch all headers starting with
> article number 1 and cache them in the .overview.

And that's consistent with the principles I humbly think the agent is
based upon and which I stated above.  Now, it's quite possible that
these principles exist only in my imagination or that the convenience of
making an exception and handling the case fetch-old=some specially would
outweigh the resulting conceptual inconsistency.

Please note, however, that not only the "bad new" behaviour has been
documented since at least 2005 but also that Kevin Greiner, who rewrote
a lot of the agent stuff, actually significantly clarified the meaning
of `some' as value of gnus-fetch-old-headers on 2005-11-20 [*].

Wolfgang

[*] Here's the diff:

diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index dfc3c09..9df8131 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -63,17 +63,21 @@ it will be killed sometime later."
 
 (defcustom gnus-fetch-old-headers nil
   "*Non-nil means that Gnus will try to build threads by grabbing old headers.
-If an unread article in the group refers to an older, already read (or
-just marked as read) article, the old article will not normally be
-displayed in the Summary buffer.  If this variable is t, Gnus
-will attempt to grab the headers to the old articles, and thereby
-build complete threads.  If it has the value `some', only enough
-headers to connect otherwise loose threads will be displayed.  This
-variable can also be a number.  In that case, no more than that number
-of old headers will be fetched.  If it has the value `invisible', all
+If an unread article in the group refers to an older, already
+read (or just marked as read) article, the old article will not
+normally be displayed in the Summary buffer.  If this variable is
+t, Gnus will attempt to grab the headers to the old articles, and
+thereby build complete threads.  If it has the value `some', all
+old headers will be fetched but only enough headers to connect
+otherwise loose threads will be displayed.  This variable can
+also be a number.  In that case, no more than that number of old
+headers will be fetched.  If it has the value `invisible', all
 old headers will be fetched, but none will be displayed.
 
-The server has to support NOV for any of this to work."
+The server has to support NOV for any of this to work.
+
+This feature can seriously impact performance it ignores all
+locally cached header entries."
   :group 'gnus-thread
   :type '(choice (const :tag "off" nil)
 		 (const :tag "on" t)




  reply	other threads:[~2012-06-16 14:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 12:11 Tassilo Horn
2012-06-12 13:11 ` Wolfgang Jenkner
2012-06-12 13:36   ` Tassilo Horn
2012-06-12 14:35     ` Wolfgang Jenkner
2012-06-12 15:56       ` Wolfgang Jenkner
2012-06-12 16:31       ` Tassilo Horn
2012-06-13 13:48         ` Wolfgang Jenkner
2012-06-13 15:18           ` Tassilo Horn
2012-06-13 16:36             ` Wolfgang Jenkner
2012-06-13 18:57               ` Tassilo Horn
2012-06-16 11:37                 ` Wolfgang Jenkner
2012-06-16 12:53                   ` Tassilo Horn
2012-06-16 14:18                     ` Wolfgang Jenkner [this message]
2012-09-05 13:56         ` Lars Ingebrigtsen
2012-09-05 14:38           ` Tassilo Horn
2012-09-05 16:19             ` Lars Ingebrigtsen
2012-09-05 17:16               ` Tassilo Horn
2012-09-05 17:34                 ` Wolfgang Jenkner
2012-09-05 17:36                   ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=858vfne3wd.fsf@iznogoud.viz \
    --to=wjenkner@inode.at \
    --cc=ding@gnus.org \
    --cc=larsi@gnus.org \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).