* Catching up Mail Groups
@ 1996-03-20 4:39 Aharon (Al) Schkolnik
1996-03-20 6:56 ` Jason L Tibbitts III
0 siblings, 1 reply; 8+ messages in thread
From: Aharon (Al) Schkolnik @ 1996-03-20 4:39 UTC (permalink / raw)
Hi all.
I really like gnus. (Shall I say that a few more times before
I start complaining ? ;-) ).
My biggest complaint is the way read articles are handled in
mail groups. I use :
(setq gnus-auto-expirable-newsgroups ".*:mail\..*")
which means that if I mark articles with E, they get expired. That is
a-good-thing. The problem is that I frequently forget, and mark
articles with d (that is what I'm used to doing in NNTP groups), or
simply want to catch-up the the group (with c). Then, the
articles are not expired. They stay around (invisibly) until I get
around to painstakenly cleaning them up by entering the group with C-u
<spc>, and then doing E down-arrow E down-arrow ad-nasuem. This is
a-bad-thing. So, I tried:
(setq gnus-total-expirable-newsgroups ".*:mail\..*")
This, I think, caused the desired effect of expiring the
articles. Although, quite frankly, I don't really understand the
difference between auto-expirable, and total-expirable. Anyway, the
performance hit was totally unacceptable - it took many, many seconds
each time I left a mail group (Expiring articles ........). This is
a-bad-thing.
What I, and I believe many others, want is for articles in mail groups
which are not marked to be saved (u command), and which are read or
deleted, to be deleted after the expiration period. I guess what this
all means is that we want deletion (or whatever is done by
catching-up, the d command, etc.) to be treated as expiration. Of
course, this must be efficient.
Thanks for your attention.
--
The day is short, and the work is great, | Aharon Schkolnik
and the laborers are lazy, and the reward | Aharon@Matat.Health.Gov.IL
is great, and the Master of the house is |
impatient. - Ethics Of The Fathers Ch. 2 |
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Catching up Mail Groups
1996-03-20 4:39 Catching up Mail Groups Aharon (Al) Schkolnik
@ 1996-03-20 6:56 ` Jason L Tibbitts III
1996-03-20 8:13 ` Greg Stark
1996-03-20 9:19 ` Catching up Mail Groups - Efficiency - More Info Aharon (Al) Schkolnik
0 siblings, 2 replies; 8+ messages in thread
From: Jason L Tibbitts III @ 1996-03-20 6:56 UTC (permalink / raw)
>>>>> "AS" == Aharon (Al) Schkolnik <aharon@healdb.matat.health.gov.il> writes:
AS> What I, and I believe many others, want is for articles in mail groups
AS> which are not marked to be saved (u command), and which are read or
AS> deleted, to be deleted after the expiration period. I guess what this
AS> all means is that we want deletion (or whatever is done by catching-up,
AS> the d command, etc.) to be treated as expiration.
This is exactly, positively, 100% what total-expire does. Every message
that is killed, deleted or caught-up is deleted after the delay you set
(default 28 days). Now, if I'm not mistaken, Gnus has to stat the files
(nnml) to see if they should go away. This could, perhaps, be made more
efficient by storing some kind of age of each article somewhere so that the
stat doesn't get done. I don't know what Gnus has to do to expire things
in an nnfolder group; I suspect it's a pile of region deletions which
causes a bunch of buffer gap movement and VM thrashing. But then, nnfolder
isn't very good for big folders. Myself, I'm drooling over the prospect of
nngdbm.
BTW, on a large nnml group (~1000 articles) with 28 day expiry it takes
about three seconds to do the expiry if the disk is local to the machine.
This goes up dramatically if I'm on an NFS mounted volume, even when the
interconnect is our 1+Gbit network. NFS sucks for this kind of thing.
AS> Of course, this must be efficient.
That's just the problem, isn't it? It's kind of difficult to say where the
bottleneck is since you don't provide any information at all about your
environment, how many articles you're looking at or what backends you're
using. Perhaps with a little more information we could give you some
optimization tips.
- J<
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Catching up Mail Groups
1996-03-20 6:56 ` Jason L Tibbitts III
@ 1996-03-20 8:13 ` Greg Stark
1996-03-20 9:19 ` Catching up Mail Groups - Efficiency - More Info Aharon (Al) Schkolnik
1 sibling, 0 replies; 8+ messages in thread
From: Greg Stark @ 1996-03-20 8:13 UTC (permalink / raw)
Cc: ding
I'm surprised at all this talk about expiration being slow; I'm using nnml
stored in that that lumbering behemoth filesystem, AFS. And I read my mail
frequently throughout the day and get a fair amount of traffic, so it runs the
expiry process much more often than necessary and frequently deletes mail.
It takes only a few extra seconds between each group which seems reasonably
efficient. It looks like maybe some specific backend or option is triggering
some inefficient behaviour.
I use gnus-total-exirable-newsgroups set to ^nnml:mail\.
and I use nnml as my backend. I think dates are in the overview so
nnmh might be much less efficient. The point movement in nnmbox/nnbabyl
should be fine, better even if it sorted the article-ids numerically instead
of alphabetically (as per my previous mail). Though it probably has to parse
date headers for all the newsgroups then run through them all a second time to
actually expire stuff, hmm that's sort of innefficient.
greg
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Catching up Mail Groups - Efficiency - More Info.
1996-03-20 6:56 ` Jason L Tibbitts III
1996-03-20 8:13 ` Greg Stark
@ 1996-03-20 9:19 ` Aharon (Al) Schkolnik
1996-03-20 19:19 ` Lars Magne Ingebrigtsen
1 sibling, 1 reply; 8+ messages in thread
From: Aharon (Al) Schkolnik @ 1996-03-20 9:19 UTC (permalink / raw)
Cc: Jason L Tibbitts III
>>>>> "Jason" == Jason L Tibbitts <tibbs@uh.edu> writes:
>>>>> "AS" == Aharon (Al) Schkolnik <aharon@healdb.matat.health.gov.il> writes:
AS> Of course, this must be efficient.
Jason> That's just the problem, isn't it? It's kind of difficult
Jason> to say where the bottleneck is since you don't provide any
Jason> information at all about your environment, how many
Jason> articles you're looking at or what backends you're using.
Jason> Perhaps with a little more information we could give you
Jason> some optimization tips.
Here is what I believe to be the relevant part of the newsrc.eld file:
("nnbabyl:mail.gnus" 2 ((1 . 2191)) ((save 1818 1861 2151 2154)
(expire (2089 . 2096) (2098 . 2121) (2123 . 2124) (2126 . 2159) 2161
(2164 . 2181) (2183 . 2186) (2188 . 2190)) (reply 1477 1861 2191)
(tick 489 639 644 866 987 991 (1477 . 1478) 1550 1643 1655 1661 1676
(1716 . 1717) 1727 1815 1818 1834 1861 1870 1877 1891 1899 1910 1919
1960 2036 2038 2097 2122 2125 2160 (2162 . 2163) 2182 2187 2191))
(nnbabyl ""))
--
The day is short, and the work is great, | Aharon Schkolnik
and the laborers are lazy, and the reward | Aharon@Matat.Health.Gov.IL
is great, and the Master of the house is |
impatient. - Ethics Of The Fathers Ch. 2 |
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Catching up Mail Groups - Efficiency - More Info.
1996-03-20 9:19 ` Catching up Mail Groups - Efficiency - More Info Aharon (Al) Schkolnik
@ 1996-03-20 19:19 ` Lars Magne Ingebrigtsen
[not found] ` <nvijzh5ox.fsf@healdb.matat.health.gov.il>
0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-03-20 19:19 UTC (permalink / raw)
aharon@healdb.matat.health.gov.il (Aharon (Al) Schkolnik) writes:
> Here is what I believe to be the relevant part of the newsrc.eld file:
>
> ("nnbabyl:mail.gnus" 2 ((1 . 2191)) ((save 1818 1861 2151 2154)
[...]
> (tick 489 639 644 866 987 991 (1477 . 1478) 1550 1643 1655 1661 1676
This is the problem. When a group has a wide "spread" (which is the
result when old articles are ticked), then total-expiry will be slow.
nnbabyl will here try to look for articles in the 489-2191 range each
time expiry is performed. This will take quite a while.
--
"Yes. The journey through the human heart
would have to wait until some other time."
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1996-03-21 18:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-20 4:39 Catching up Mail Groups Aharon (Al) Schkolnik
1996-03-20 6:56 ` Jason L Tibbitts III
1996-03-20 8:13 ` Greg Stark
1996-03-20 9:19 ` Catching up Mail Groups - Efficiency - More Info Aharon (Al) Schkolnik
1996-03-20 19:19 ` Lars Magne Ingebrigtsen
[not found] ` <nvijzh5ox.fsf@healdb.matat.health.gov.il>
1996-03-21 13:16 ` Renumbering articles in mail groups Aharon (Al) Schkolnik
1996-03-21 15:30 ` Muhammad Farrukh Khan
1996-03-21 18:12 ` Lars Magne Ingebrigtsen
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).