From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72287 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: slow nnimap moves due do many SELECTs Date: Thu, 30 Sep 2010 10:50:01 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y6aj6xjq.fsf@lifelogs.com> References: <87lj6tg8sc.fsf@lifelogs.com> <87sk11n1rg.fsf@maru.md5i.com> <87k4mdmzsg.fsf@maru.md5i.com> <87wrq6hu71.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285862676 17301 80.91.229.12 (30 Sep 2010 16:04:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 16:04:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20660@lists.math.uh.edu Thu Sep 30 18:04:35 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1LcY-0006q9-Mp for ding-account@gmane.org; Thu, 30 Sep 2010 18:04:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P1LcA-0003dj-BN; Thu, 30 Sep 2010 11:04:10 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P1LTR-0003aM-03 for ding@lists.math.uh.edu; Thu, 30 Sep 2010 10:55:09 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P1LTM-00030w-FK for ding@lists.math.uh.edu; Thu, 30 Sep 2010 10:55:08 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P1LTL-0000OE-00 for ; Thu, 30 Sep 2010 17:55:03 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1LTL-0002eB-Fu for ding@gnus.org; Thu, 30 Sep 2010 17:55:03 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 17:55:03 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 17:55:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:/kg7pk3F63SMRuvoK8EAOda080E= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72287 Archived-At: On Wed, 29 Sep 2010 23:46:21 +0200 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> Have you had a chance to try turning off the mark copy on IMAP >> copy/move? It's making article moves and copies REALLY slow with large >> IMAP groups and it seems like a simple (negative lines of code) fix. LMI> I've looked over the code, and Gnus needs to get the article ID back LMI> from `nnimap-request-move-article' not only for marks copying (which, as LMI> you point out, can be done on the IMAP level), but also for updating LMI> active info and stuff. I'm not 100% sure that all that useful, LMI> though... LMI> The scenario is that if we copy a message from group A to group B, then LMI> Gnus (at present) knows immediately that group B has gotten the new LMI> article, and adjusts the active ranges and the group buffer LMI> automatically. I think. Let's test... Yes. So that wouldn't work any LMI> more with the IMAP COPY thing. LMI> So if we want that to work, we have to SELECT the group we're moving to, LMI> unfortunately. OK, I can live with the slowness if it happens once. But currently it SELECTs the destination group for *every* article move instead of batching the moves. Ted