* IMAP Performance
@ 2001-04-15 18:22 Johan Parin
2001-04-15 18:44 ` simon
2001-04-15 20:44 ` Russ Allbery
0 siblings, 2 replies; 6+ messages in thread
From: Johan Parin @ 2001-04-15 18:22 UTC (permalink / raw)
I don't know what I'm doing wrong (I certainly hope I'm doing
something wrong), but I have severe performance problem with moving
messages to IMAP folders.
Experiment : 100 1-line messages created.
Gnus
Move between IMAP folders : 18 1/2 min
Copy between IMAP folders : 12 min
Netscape/Win
Copy between IMAP folders : about 2 seconds
(the folders are on the same IMAP server)
What is the problem here? It surely shouldn't be this slow. The IMAP
server responds like this:
* OK tor Solstice (tm) Internet Mail Server (tm) IMAP4 service @ 2.0 - at Sun, 15 Apr 2001 20:08:39 +0200 (MET DST)
Any clue as to what is going on here?
Johan
--
Johan Parin <Johan.Parin@abc.se>
"Lisp is a programmable programming language" - John Foderaro
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IMAP Performance
2001-04-15 18:22 IMAP Performance Johan Parin
@ 2001-04-15 18:44 ` simon
2001-04-15 20:44 ` Russ Allbery
1 sibling, 0 replies; 6+ messages in thread
From: simon @ 2001-04-15 18:44 UTC (permalink / raw)
Cc: ding
Johan Parin <Johan.Parin@abc.se> writes:
> I don't know what I'm doing wrong (I certainly hope I'm doing
> something wrong), but I have severe performance problem with moving
> messages to IMAP folders.
>
> Experiment : 100 1-line messages created.
>
> Gnus
> Move between IMAP folders : 18 1/2 min
> Copy between IMAP folders : 12 min
>
> Netscape/Win
> Copy between IMAP folders : about 2 seconds
>
> (the folders are on the same IMAP server)
You can evaluate `(setq imap-log "*imap-log*")' to log what is being
sent to and received from the server, and then observe at least a few
mailbox (re-)selects per moved message, making things slow. The next
step would be to optimize nnimap for batch moving/copying and sending
patches. :)
Without modifying code, perhaps you could use splitting to move
messages were you want them? (And then leave them there.) I know it
doesn't solve the real problem.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IMAP Performance
2001-04-15 18:22 IMAP Performance Johan Parin
2001-04-15 18:44 ` simon
@ 2001-04-15 20:44 ` Russ Allbery
2001-04-16 11:59 ` Karl Kleinpaste
1 sibling, 1 reply; 6+ messages in thread
From: Russ Allbery @ 2001-04-15 20:44 UTC (permalink / raw)
Johan Parin <Johan.Parin@abc.se> writes:
> I don't know what I'm doing wrong (I certainly hope I'm doing something
> wrong), but I have severe performance problem with moving messages to
> IMAP folders.
> Experiment : 100 1-line messages created.
> Gnus
> Move between IMAP folders : 18 1/2 min
> Copy between IMAP folders : 12 min
> Netscape/Win
> Copy between IMAP folders : about 2 seconds
> (the folders are on the same IMAP server)
Moving and copying messages is rather slow in nnml too. I'd love to see
that fixed. It really shouldn't take hours, or even minutes, to move a
few thousand messages between nnml groups if one can use rename() in the
underlying file system (and Gnus can always fall back to a copy if it
can't).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IMAP Performance
2001-04-15 20:44 ` Russ Allbery
@ 2001-04-16 11:59 ` Karl Kleinpaste
2001-04-16 20:40 ` Paul Jarc
2001-04-16 22:43 ` Russ Allbery
0 siblings, 2 replies; 6+ messages in thread
From: Karl Kleinpaste @ 2001-04-16 11:59 UTC (permalink / raw)
Russ Allbery <rra@stanford.edu> writes:
> Moving and copying messages is rather slow in nnml too. I'd love to see
> that fixed. It really shouldn't take hours, or even minutes, to move a
> few thousand messages between nnml groups if one can use rename() in the
> underlying file system
Messages can't simply be renamed because e.g. Xref headers must be rebuilt.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IMAP Performance
2001-04-16 11:59 ` Karl Kleinpaste
@ 2001-04-16 20:40 ` Paul Jarc
2001-04-16 22:43 ` Russ Allbery
1 sibling, 0 replies; 6+ messages in thread
From: Paul Jarc @ 2001-04-16 20:40 UTC (permalink / raw)
Karl Kleinpaste <karl@charcoal.com> writes:
> Russ Allbery <rra@stanford.edu> writes:
> > Moving and copying messages is rather slow in nnml too. I'd love to see
> > that fixed. It really shouldn't take hours, or even minutes, to move a
> > few thousand messages between nnml groups if one can use rename() in the
> > underlying file system
nnmaildir uses add-name-to-file and delete-file. Well, sometimes -
nnmaildir-request-move-article binds nnmaildir--file to the article
filename in a (let), puts the message in a buffer, and proceeds to
eval the foorm passed by Gnus. nnmaildir-request-accept-article then
checks nnmaildir--file and tries add-name-to-file before falling back
to copying the buffer. But I think sometimes Gnus arranges things so
that -request-accept-article isn't called until after
-request-move-article returns, so nnmaildir--file no longer holds the
filename. This ought to be solved by fixing the backend interface, I
think.
> Messages can't simply be renamed because e.g. Xref headers must be rebuilt.
nnmaildir generates Xrefs on the fly, so this isn't a problem. At
present, the generates Xrefs are fairly useless, but is fixable.
paul
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IMAP Performance
2001-04-16 11:59 ` Karl Kleinpaste
2001-04-16 20:40 ` Paul Jarc
@ 2001-04-16 22:43 ` Russ Allbery
1 sibling, 0 replies; 6+ messages in thread
From: Russ Allbery @ 2001-04-16 22:43 UTC (permalink / raw)
Karl Kleinpaste <karl@charcoal.com> writes:
> Russ Allbery <rra@stanford.edu> writes:
>> Moving and copying messages is rather slow in nnml too. I'd love to
>> see that fixed. It really shouldn't take hours, or even minutes, to
>> move a few thousand messages between nnml groups if one can use
>> rename() in the underlying file system
> Messages can't simply be renamed because e.g. Xref headers must be
> rebuilt.
Hurm. Is there anything besides Xref? I don't use Xref in mail at all; I
have nnml configured not to crosspost (I don't find that behavior useful).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-04-16 22:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-15 18:22 IMAP Performance Johan Parin
2001-04-15 18:44 ` simon
2001-04-15 20:44 ` Russ Allbery
2001-04-16 11:59 ` Karl Kleinpaste
2001-04-16 20:40 ` Paul Jarc
2001-04-16 22:43 ` Russ Allbery
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).