notmuch in Emacs very slow
authornotmuch <notmuch@bontempi.net>
Sun, 30 Oct 2011 01:10:04 +0000 (01:10 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:51 +0000 (09:39 -0800)
2e/819071b90ebca86dc2d283d7709411f40b9cc7 [new file with mode: 0644]

diff --git a/2e/819071b90ebca86dc2d283d7709411f40b9cc7 b/2e/819071b90ebca86dc2d283d7709411f40b9cc7
new file mode 100644 (file)
index 0000000..27c10e5
--- /dev/null
@@ -0,0 +1,89 @@
+Return-Path: <notmuch@bontempi.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id AD73A429E25\r
+       for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 11:10:04 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.001\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
+       tests=[UNPARSEABLE_RELAY=0.001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id VXn5+jHjtRfC for <notmuch@notmuchmail.org>;\r
+       Sat, 29 Oct 2011 11:10:04 -0700 (PDT)\r
+X-Greylist: delayed 3615 seconds by postgrey-1.32 at olra;\r
+       Sat, 29 Oct 2011 11:10:04 PDT\r
+Received: from mail.forumcivico.org (mail.forumcivico.org [208.116.44.169])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1E3D6431FB6\r
+       for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 11:10:04 -0700 (PDT)\r
+Received: from dummy.name; Sat, 29 Oct 2011 13:04:38 -0400\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: notmuch in Emacs very slow\r
+Mime-Version: 1.0\r
+From: notmuch@bontempi.net\r
+X-Mailer: CommuniGate Pro WebUser v5.4.0\r
+Content-Transfer-Encoding: quoted-printable\r
+Message-Id: <A232351A-27CE-4B6A-B6A4-8EA79F8A460F@bontempi.net>\r
+To: notmuch@notmuchmail.org\r
+X-Mailman-Approved-At: Tue, 22 Nov 2011 08:49:56 -0800\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+Date: Sat, 29 Oct 2011 18:10:04 -0000\r
+X-Original-Date: Sat, 29 Oct 2011 19:09:32 +0200\r
+X-List-Received-Date: Sat, 29 Oct 2011 18:10:04 -0000\r
+\r
+Hello,\r
+\r
+I would like to report my experience with notmuch (newbie here).\r
+\r
+I absolutely love it. I would like very much to continue using it, but I =\r
+am having a speed issue from inside Emacs.\r
+\r
+I have installed notmuch 0.9, on OS X 10.6, using of course the chert =\r
+database format. I am also using Emacs 24.0.90.1 on a quad-core Intel =\r
+Core i7 (no SSD though).\r
+\r
+I started doing 'notmuch new' on a Maildir folder with about 30000 =\r
+messages (about one fourth of my archive).\r
+\r
+At beginning notmuch was indexing about 200 msgs/sec. The more it =\r
+indexed, the slower it became. After about 20000 msgs it slowed down to =\r
+70 msgs/sec. I am not sure if that is a behaviour due to Xapian.\r
+\r
+Anyway, after it finished that first part, starting notmuch from inside =\r
+emacs, it says:\r
+\r
+"Welcome to notmuch. You have 34,366 messages."\r
+\r
+Once I start browsing the inbox (34,208), Emacs displays the initial =\r
+screenful, but the whole list takes quite a while to load, about 50 =\r
+seconds. After that time, in the status bar I see "Top of 1.1M".\r
+\r
+That happens every time I am browsing the inbox, in order to assign =\r
+proper tags.\r
+\r
+The real issue for me, though, is that scrolling down the list has a =\r
+noticeable delay, enough to make it basically unusable.\r
+\r
+Is there something I do not know that I should do to improve that speed =\r
+(either from within Emacs, or in notmuch config file?\r
+\r
+I would be very grateful for any advice or pointer on how to speed up =\r
+the notmuch experience.\r
+\r
+Thank you,\r
+\r
+Sam=\r