From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73214 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.gnus.general Subject: Re: fast list Date: Sun, 17 Oct 2010 18:58:16 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287356516 17729 80.91.229.12 (17 Oct 2010 23:01:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 17 Oct 2010 23:01:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21586@lists.math.uh.edu Mon Oct 18 01:01:55 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 1P7cEi-0006If-7c for ding-account@gmane.org; Mon, 18 Oct 2010 01:01:52 +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 1P7cEF-0002dE-89; Sun, 17 Oct 2010 18:01:23 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P7cED-0002cx-CY for ding@lists.math.uh.edu; Sun, 17 Oct 2010 18:01:21 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P7cE8-0000tU-1T for ding@lists.math.uh.edu; Sun, 17 Oct 2010 18:01:20 -0500 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P7cE7-0005gV-00 for ; Mon, 18 Oct 2010 01:01:15 +0200 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 5EAD140161; Sun, 17 Oct 2010 23:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1287356473; bh=WianEREWYCUTrUqajm95YoQoNfJevyxCcx89VefJZTc=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=hRj6Tk9sD0v0RLIegRPZLOIZER6gfqANQdMTJTqhLA78HMeWYkl/FIBVxEstI332n sQ3mVAJxNpxPo/rnYk/ZnnHvxEcloBaoi5hGDKozwagegdXf2olVI/oqPSsPaO+R7Q N3Lk3MqnAX7ZJJUgchnDPUuH1MAHUi1DYo+zT+xY= Original-Received: from carbon.jhcloos.org (localhost [127.0.0.1]) by carbon.jhcloos.org (Postfix) with ESMTP id 99C1D1DF31D for ; Sun, 17 Oct 2010 22:58:16 +0000 (UTC) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 18 Oct 2010 00:02:33 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 39 X-Hashcash: 1:30:101017:ding@gnus.org::EjmEU3ZfyjBoOupF:000NY84E X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73214 Archived-At: >>>>> "LMI" == Lars Magne Ingebrigtsen writes: JC> RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) LMI> That doesn't really help Gnus all that much, since Gnus needs to do a LMI> marks resync, and getting the numbers of each of these won't give Gnus LMI> the data it needs. LMI> If they'd implemented LIST RETURN QRESYNC instead, that would have been LMI> awesome. What, exactly, does gnus need for each group? DBmail doesn't store arbitrary marks, so I don't need mark syncing for gnus' internal marks. I don't have a recent packet trace, but doesn't it just do a LIST followed by either EXAMINE or STATUS? LIST-STATUS does that pair of ops in a single op. And that has to speed startup. I expect that: LIST "" "%" RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) will take less than one second whereas running STATUS or EXAMINE on every group returned by LIST takes about fifteen minutes. I can ensure that my patches to dbmail support more than just messages, recent, uidnext, uidvalidity and unseen if that helps. BTW, based on: http://permalink.gmane.org/gmane.mail.imap.dovecot/51621 it looks like dovecot 2.0 also supports LIST-STATUS. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6