Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
@ 2001-07-31 13:10 Christoph Conrad
  2001-07-31 13:20 ` Karl Kleinpaste
  2001-08-17  9:52 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 12+ messages in thread
From: Christoph Conrad @ 2001-07-31 13:10 UTC (permalink / raw)
  Cc: christoph.conrad

Hello,

latest CVS Oort Gnus with Emacs 21.0.103 on Windows NT.

Since a few days i discovered that every time when i update my
"gnus.ding"-Group in Gnus (nntp "quimby.gnus.org") with
gnus-topic-get-new-news-this-topic Gnus grabs about 20-30 KByte data
(shown in the status line) from the server, even when only one or two
messages with about 2-4 KByte are new.

Has anyone an explanation for this behaviour?

Best regards,
Christoph Conrad



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-07-31 13:10 gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding Christoph Conrad
@ 2001-07-31 13:20 ` Karl Kleinpaste
  2001-07-31 14:44   ` Christoph Conrad
  2001-08-17  9:52 ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 12+ messages in thread
From: Karl Kleinpaste @ 2001-07-31 13:20 UTC (permalink / raw)


Christoph Conrad <cc@cli.de> writes:
> Gnus grabs about 20-30 KByte data
> (shown in the status line) from the server, even when only one or two
> messages with about 2-4 KByte are new.

If `gnus-fetch-old-headers' is non-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 non-nil, 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
  old headers will be fetched, but none will be displayed.

  The server has to support NOV for any of this to work.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-07-31 13:20 ` Karl Kleinpaste
@ 2001-07-31 14:44   ` Christoph Conrad
  0 siblings, 0 replies; 12+ messages in thread
From: Christoph Conrad @ 2001-07-31 14:44 UTC (permalink / raw)
  Cc: ding

Hello Karl,

you wrote:

    Karl> If `gnus-fetch-old-headers' is non-nil:

It's value is nil in my case, tested within gnus-ding. And, the
behaviour seems to be only with this group.

Best regards,
Christoph Conrad



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-07-31 13:10 gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding Christoph Conrad
  2001-07-31 13:20 ` Karl Kleinpaste
@ 2001-08-17  9:52 ` Lars Magne Ingebrigtsen
  2001-08-17 11:37   ` Christoph Conrad
  2001-08-17 11:38   ` Christoph Conrad
  1 sibling, 2 replies; 12+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-08-17  9:52 UTC (permalink / raw)


Christoph Conrad <cc@cli.de> writes:

> Since a few days i discovered that every time when i update my
> "gnus.ding"-Group in Gnus (nntp "quimby.gnus.org") with
> gnus-topic-get-new-news-this-topic Gnus grabs about 20-30 KByte data
> (shown in the status line) from the server, even when only one or two
> messages with about 2-4 KByte are new.

Christoph Conrad <cc@cli.de> writes:

>     Karl> If `gnus-fetch-old-headers' is non-nil:
>
> It's value is nil in my case, tested within gnus-ding. And, the
> behaviour seems to be only with this group.

Du you have any ticked or dormant articles in the group?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-08-17  9:52 ` Lars Magne Ingebrigtsen
@ 2001-08-17 11:37   ` Christoph Conrad
  2001-08-17 11:38   ` Christoph Conrad
  1 sibling, 0 replies; 12+ messages in thread
From: Christoph Conrad @ 2001-08-17 11:37 UTC (permalink / raw)


    Lars> Du you have any ticked or dormant articles in the group?

Yes.    



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-08-17  9:52 ` Lars Magne Ingebrigtsen
  2001-08-17 11:37   ` Christoph Conrad
@ 2001-08-17 11:38   ` Christoph Conrad
  2001-08-17 12:07     ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 12+ messages in thread
From: Christoph Conrad @ 2001-08-17 11:38 UTC (permalink / raw)


Hello Lars,

you wrote:

    Lars> Du you have any ticked or dormant articles in the group?

As i wrote, yes, but: both ticked and dormant articles are cached.    

Best regards,
Christoph Conrad
-- 
TTi Entwicklungszentrum GmbH,  Elisabethstr. 16, D-52062 Aachen
Fon: +49 241 47051-0  Fax: +49 241 47051-89 Web: http://www.cli.de
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-08-17 11:38   ` Christoph Conrad
@ 2001-08-17 12:07     ` Lars Magne Ingebrigtsen
  2001-08-17 12:44       ` Christoph Conrad
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-08-17 12:07 UTC (permalink / raw)


Christoph Conrad <cc@cli.de> writes:

>     Lars> Du you have any ticked or dormant articles in the group?
>
> As i wrote, yes, but: both ticked and dormant articles are cached.    

I think having dormant and cached articles in a group might lead to
much longer NOV download times if `nntp-nov-gap' is high or nil.  Is
that the case?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-08-17 12:07     ` Lars Magne Ingebrigtsen
@ 2001-08-17 12:44       ` Christoph Conrad
  2001-08-17 13:05         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Christoph Conrad @ 2001-08-17 12:44 UTC (permalink / raw)


    Lars> I think having dormant and cached articles in a group might
    Lars> lead to much longer NOV download times if `nntp-nov-gap' is
    Lars> high or nil. Is that the case?

nntp-nov-gap's value is 5



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-08-17 12:44       ` Christoph Conrad
@ 2001-08-17 13:05         ` Lars Magne Ingebrigtsen
  2001-08-17 13:32           ` Christoph Conrad
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-08-17 13:05 UTC (permalink / raw)


Christoph Conrad <cc@cli.de> writes:

>     Lars> I think having dormant and cached articles in a group might
>     Lars> lead to much longer NOV download times if `nntp-nov-gap' is
>     Lars> high or nil. Is that the case?
>
> nntp-nov-gap's value is 5

Can you try to `M-x elp-instrument-package RET gnus RET', enter a
group and then `M-x elp-results'?  What's using all that time?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-08-17 13:05         ` Lars Magne Ingebrigtsen
@ 2001-08-17 13:32           ` Christoph Conrad
  2001-08-17 13:36             ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Christoph Conrad @ 2001-08-17 13:32 UTC (permalink / raw)


Hello Lars,

you wrote:

    Lars> Can you try to `M-x elp-instrument-package RET gnus RET',
    Lars> enter a group and then `M-x elp-results'? What's using all
    Lars> that time?

Function Name                                           Call Count  Elapsed Time  Average Time
======================================================  ==========  ============  ============
gnus-retrieve-headers                                   2           6.2           3.1
gnus-summary-read-group                                 1           4.106         4.106
gnus-topic-select-group                                 1           4.106         4.106
gnus-group-read-group                                   1           4.106         4.106
gnus-summary-read-group-1                               1           4.106         4.106
gnus-group-select-group                                 1           4.106         4.106
gnus-select-newsgroup                                   1           3.865         3.865
gnus-fetch-headers                                      1           3.605         3.605
gnus-cache-retrieve-headers                             1           3.105         3.105
gnus-get-newsgroup-headers-xover                        1           0.5           0.5
gnus-request-group                                      1           0.26          0.26
gnus-summary-prepare                                    1           0.16          0.16
gnus-summary-prepare-threads                            1           0.12          0.12
gnus-possibly-score-headers                             1           0.0709999999  0.0709999999
gnus-score-headers                                      1           0.0510000000  0.0510000000
gnus-score-string                                       2           0.0510000000  0.0255000000
gnus-map-function                                       116         0.05          0.0004310344
gnus-summary-from-or-to-or-newsgroups                   33          0.04          0.0012121212
gnus-simplify-subject                                   116         0.04          0.0003448275
gnus-gather-threads-by-subject                          1           0.03          0.03
gnus-message                                            9           0.03          0.0033333333
gnus-all-score-files                                    1           0.02          0.02
gnus-score-find-bnews                                   1           0.02          0.02
gnus-sort-threads                                       1           0.01          0.01
gnus-simplify-whitespace                                116         0.01          8.62...e-005
gnus-point-at-bol                                       228         0.01          4.38...e-005
gnus-summary-highlight-line                             31          0.01          0.0003225806
gnus-point-at-eol                                       338         0.01          2.95...e-005
gnus-run-hooks                                          40          0.01          0.00025
gnus-server-add-address                                 1           0.0           0.0
gnus-summary-insert-line                                2           0.0           0.0
gnus-group-topic-name                                   1           0.0           0.0
gnus-window-to-buffer-helper                            2           0.0           0.0
gnus-group-set-timestamp                                1           0.0           0.0
gnus-set-mode-line                                      1           0.0           0.0
gnus-current-topic                                      8           0.0           0.0
gnus-visual-p                                           6           0.0           0.0
gnus-summary-mode                                       1           0.0           0.0
gnus-windows-old-to-new                                 1           0.0           0.0
gnus-summary-set-local-parameters                       1           0.0           0.0
gnus-summary-position-first-unread-article              1           0.0           0.0
gnus-summary-make-tool-bar                              1           0.0           0.0
gnus-summary-initial-limit                              1           0.0           0.0
gnus-parameters-get-parameter                           8           0.0           0.0
gnus-group-goto-group                                   8           0.0           0.0
gnus-summary-limit-children                             109         0.0           0.0
gnus-score-string<                                      1167        0.0           0.0
gnus-apply-kill-file                                    1           0.0           0.0
gnus-set-work-buffer                                    2           0.0           0.0
gnus-articles-to-read                                   1           0.0           0.0
gnus-find-method-for-group                              9           0.0           0.0
gnus-score-score-files                                  1           0.0           0.0
gnus-undo-boundary                                      3           0.0           0.0
gnus-short-group-name                                   1           0.0           0.0
gnus-topic-parent-topic                                 144         0.0           0.0
gnus-group-set-info                                     1           0.0           0.0
gnus-summary-position-point                             3           0.0           0.0
gnus-update-missing-marks                               1           0.0           0.0
gnus-turn-off-edit-menu                                 1           0.0           0.0
gnus-sort-gathered-threads                              1           0.0           0.0
gnus-last-element                                       1           0.0           0.0
gnus-score-find-alist                                   1           0.0           0.0
gnus-group-set-parameter                                1           0.0           0.0
gnus-sorted-intersection                                2           0.0           0.0
gnus-update-format-specifications                       2           0.0           0.0
gnus-score-file-regexp                                  1           0.0           0.0
gnus-add-minor-mode                                     2           0.0           0.0
gnus-newsgroup-savable-name                             2           0.0           0.0
gnus-cut-threads                                        1           0.0           0.0
gnus-score-set                                          2           0.0           0.0
gnus-summary-set-display-table                          1           0.0           0.0
gnus-server-opened                                      1           0.0           0.0
gnus-group-group-name                                   1           0.0           0.0
gnus-current-topics                                     8           0.0           0.0
gnus-group-topic-parameters                             8           0.0           0.0
gnus-make-threads                                       1           0.0           0.0
gnus-uncompress-range                                   7           0.0           0.0
gnus-undo-mode                                          1           0.0           0.0
gnus-set-difference                                     2           0.0           0.0
gnus-create-hash-size                                   2           0.0           0.0
gnus-use-long-file-name                                 6           0.0           0.0
gnus-make-sort-function                                 1           0.0           0.0
gnus-parameter-charset                                  1           0.0           0.0
gnus-simplify-mode-line                                 1           0.0           0.0
gnus-get-function                                       1           0.0           0.0
gnus-make-sort-function-1                               1           0.0           0.0
gnus-summary-first-subject                              1           0.0           0.0
gnus-summary-buffer-name                                1           0.0           0.0
gnus-home-score-file                                    2           0.0           0.0
gnus-update-summary-mark-positions                      2           0.0           0.0
gnus-summary-make-menu-bar                              1           0.0           0.0
gnus-cache-save-buffers                                 2           0.0           0.0
gnus-group-remove-parameter                             1           0.0           0.0
gnus-adjust-marked-articles                             1           0.0           0.0
gnus-thread-loop-p                                      53          0.0           0.0
gnus-summary-setup-buffer                               1           0.0           0.0
gnus-virtual-group-p                                    1           0.0           0.0
gnus-copy-sequence                                      1           0.0           0.0
gnus-byte-compile                                       1           0.0           0.0
gnus-topic-find-topology                                56          0.0           0.0
gnus-check-server                                       1           0.0           0.0
gnus-sorted-complement                                  3           0.0           0.0
gnus-topic-parameters                                   16          0.0           0.0
gnus-undo-register-1                                    1           0.0           0.0
gnus-parameter-ignored-charsets                         1           0.0           0.0
gnus-sort-score-files                                   1           0.0           0.0
gnus-group-topic-p                                      1           0.0           0.0
gnus-topic-hierarchical-parameters                      8           0.0           0.0
gnus-get-buffer-create                                  5           0.0           0.0
gnus-configure-frame                                    2           0.0           0.0
gnus-score-file-name                                    1           0.0           0.0
gnus-set-sorted-intersection                            1           0.0           0.0
gnus-group-get-parameter                                9           0.0           0.0
gnus-file-newer-than                                    1           0.0           0.0
gnus-thread-sort-by-number                              256         0.0           0.0
gnus-group-auto-expirable-p                             1           0.0           0.0
gnus-group-quit-config                                  1           0.0           0.0
gnus-undo-register                                      1           0.0           0.0
gnus-cache-update-active                                2           0.0           0.0
gnus-server-extend-method                               1           0.0           0.0
gnus-group-decoded-name                                 3           0.0           0.0
gnus-summary-setup-default-charset                      1           0.0           0.0
gnus-newsgroup-kill-file                                2           0.0           0.0
gnus-make-hashtable                                     2           0.0           0.0
gnus-sort-threads-1                                     41          0.0           0.0
gnus-put-text-property-excluding-characters-with-faces  31          0.0           0.0
gnus-get-unread-articles-in-group                       1           0.0           0.0
gnus-all-windows-visible-p                              1           0.0           0.0
gnus-put-text-property                                  97          0.0           0.0
gnus-configure-windows                                  1           0.0           0.0
gnus-mailing-list-make-menu-bar                         1           0.0           0.0
gnus-nocem-unwanted-article-p                           25          0.0           0.0
gnus-range-length                                       2           0.0           0.0
gnus-goto-colon                                         3           0.0           0.0
gnus-summary-make-local-variables                       2           0.0           0.0
gnus-update-read-articles                               1           0.0           0.0
gnus-list-of-unread-articles                            2           0.0           0.0
gnus-cache-braid-nov                                    1           0.0           0.0
gnus-set-default-directory                              1           0.0           0.0
gnus-undo-make-menu-bar                                 1           0.0           0.0
gnus-server-status                                      1           0.0           0.0
gnus-killed-articles                                    1           0.0           0.0
gnus-mailing-list-mode                                  1           0.0           0.0
gnus-set-global-variables                               3           0.0           0.0
gnus-group-parameter-value                              7           0.0           0.0
gnus-cache-articles-in-group                            1           0.0           0.0
gnus-score-load-files                                   1           0.0           0.0
gnus-mode-line-buffer-identification                    1           0.0           0.0
gnus-make-thread-indent-array                           1           0.0           0.0
gnus-group-find-parameter                               8           0.0           0.0
gnus-cache-file-name                                    3           0.0           0.0
gnus-score-load-file                                    1           0.0           0.0

Best regards,
Christoph Conrad
-- 
TTi Entwicklungszentrum GmbH,  Elisabethstr. 16, D-52062 Aachen
Fon: +49 241 47051-0  Fax: +49 241 47051-89 Web: http://www.cli.de
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-08-17 13:32           ` Christoph Conrad
@ 2001-08-17 13:36             ` Lars Magne Ingebrigtsen
  2001-08-17 14:16               ` Christoph Conrad
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-08-17 13:36 UTC (permalink / raw)


Christoph Conrad <cc@cli.de> writes:

>     Lars> Can you try to `M-x elp-instrument-package RET gnus RET',
>     Lars> enter a group and then `M-x elp-results'? What's using all
>     Lars> that time?

[...]

> gnus-retrieve-headers                                   2           6.2           3.1

[...]

> gnus-cache-retrieve-headers                             1           3.105         3.105

So it's the cache that's slow.  Are there many articles in the cache?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding
  2001-08-17 13:36             ` Lars Magne Ingebrigtsen
@ 2001-08-17 14:16               ` Christoph Conrad
  0 siblings, 0 replies; 12+ messages in thread
From: Christoph Conrad @ 2001-08-17 14:16 UTC (permalink / raw)
  Cc: christoph.conrad

Hello Lars,

you wrote:

    Lars> So it's the cache that's slow. Are there many articles in
    Lars> the cache?

Yes, and i found the problem. Not a problem of Gnus, its like you
supposed: There were about 20 articles ticked, but not cached. I
cached them now, and opening the group is as fast as it ever was!

Thank you for the investigation, Lars.

Best regards,
Christoph Conrad
-- 
TTi Entwicklungszentrum GmbH,  Elisabethstr. 16, D-52062 Aachen
Fon: +49 241 47051-0  Fax: +49 241 47051-89 Web: http://www.cli.de
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2001-08-17 14:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31 13:10 gnus-topic-get-new-news-this-topic grabs a lot of data on gnus.ding Christoph Conrad
2001-07-31 13:20 ` Karl Kleinpaste
2001-07-31 14:44   ` Christoph Conrad
2001-08-17  9:52 ` Lars Magne Ingebrigtsen
2001-08-17 11:37   ` Christoph Conrad
2001-08-17 11:38   ` Christoph Conrad
2001-08-17 12:07     ` Lars Magne Ingebrigtsen
2001-08-17 12:44       ` Christoph Conrad
2001-08-17 13:05         ` Lars Magne Ingebrigtsen
2001-08-17 13:32           ` Christoph Conrad
2001-08-17 13:36             ` Lars Magne Ingebrigtsen
2001-08-17 14:16               ` Christoph Conrad

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).