Gnus development mailing list
 help / color / mirror / Atom feed
From: Hannu Koivisto <azure@iki.fi>
Subject: Re: overview file access when spooling and nnml/nnimap performance
Date: 22 Sep 1999 18:32:33 +0300	[thread overview]
Message-ID: <87emfrufla.fsf@senstation.vvf.fi> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "22 Sep 1999 16:13:36 +0200"

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

| I think nnimap is even slower than nnml because the NOV parsing done
| by Gnus is so fast.  In fact, nnimap now includes a NOV cache feature
| which fetches overview info from the IMAP server only once.  After
| that, the overview information is stored in a file in ~/News and
| subsequently fetched from there.

Hm, I don't quite follow why this gives a reason why nnimap is even
slower than nnml.  After all, Gnus parses NOV stuff less in
nnimap's case as it doesn't have to touch overview info when mail
is getting spooled to folders -- IMAP server does that.  It has to
handle overview info when entering a group but that's same for nnml
and nnimap, isn't it?  Of course, without caching, that overview
file would be read over network, but after all, I was more
concerned about optimizing the spooling phase which in IMAP's case
is handled on the background, like you say below.  Perhaps there
would be some way to get asynchronous external spooling directly to
nnml folders too, but, unlike with nnmh, that would require locking
here and there and is probably far from easy to do.

| I use a Cyrus server and I do server-side splitting with Sieve.  So

Thanks, I'll check those out.  I hope that splitting doesn't
require anything special and could be done with procmail instead of
that Sieve thingy.  I'd rather avoid converting my 9k .procmailrc
into another system.

| getting new mail is real fast -- O(n) where n is the number of
| subscribed groups.  The splitting happens in the background.  That's a
| nice feature of the Gnus/nnimap combination.

Indeed.

| slow.  Recently, I moved all articles from one 3500 message nnml group
| to an 8000 message group, and that was real slow.  Towards the end,

yeah, and when you have 80000 articles instead of 8000, the real
fun begins :)

| of the last line is found.  And writing new lines could happen by
| appending to the existing file.  Yes, that might be faster for large
| overview files, but what's the size where it starts winning.

Yes, that's what I thought too (and as far as I can see, it should
start winning immediately or something is broken), but the fact
that Gnus possibly removes some lines from those overview files or
whatever (this is the part I didn't quite grok when reading the
source) shoots down the idea of appending.

| As to displaying large summary buffers, I find that I normally get by
| with just displaying few messages.  I switched from total-expire to

So do I, normally, but there are few folders that I don't touch for
a long time and then read all accumulated messages.  This would be
fine (it wouldn't hit me often) if I didn't peek into those folders
for something important every now and then.

| Rather than displaying thousands of messages to search for an old one,
| I use nnir to search for it.  (Should use nnir much more often,
| though.)

Hmm, I'll have to check that out too.  I assume it handles
full-text regexp searches, yes?

-- 
Hannu


  reply	other threads:[~1999-09-22 15:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-22 13:48 Hannu Koivisto
1999-09-22 14:13 ` Kai Großjohann
1999-09-22 15:32   ` Hannu Koivisto [this message]
1999-09-22 15:50     ` Kai Großjohann
1999-09-22 17:00       ` Simon Josefsson
1999-09-22 16:52     ` Simon Josefsson
1999-09-22 14:54 ` Simon Josefsson
1999-09-22 15:58   ` Hannu Koivisto
1999-09-22 16:17     ` Kai Großjohann
1999-09-22 17:08     ` Simon Josefsson
1999-09-22 18:15       ` Hannu Koivisto
1999-10-04 10:27 ` Robert Bihlmeyer

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=87emfrufla.fsf@senstation.vvf.fi \
    --to=azure@iki.fi \
    /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).