Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id ACB6E431FD0 for ; Mon, 31 Oct 2011 04:44:49 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ehvOSf8KvHZh for ; Mon, 31 Oct 2011 04:44:47 -0700 (PDT) Received: from mail.forumcivico.org (mail.forumcivico.org [208.116.44.169]) by olra.theworths.org (Postfix) with ESMTP id C4B47431FB6 for ; Mon, 31 Oct 2011 04:44:47 -0700 (PDT) Received: from dummy.name; Mon, 31 Oct 2011 07:39:35 -0400 Content-Type: text/plain; charset=us-ascii Subject: Displaying tags with many messages very slow in Emacs Mime-Version: 1.0 From: webservice@bontempi.net X-Mailer: CommuniGate Pro WebUser v5.4.0 Date: Mon, 31 Oct 2011 12:44:31 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: To: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2011 11:44:49 -0000 Hello, I am planning to have some tags with more than 10k messages, and I am = experiencing very slow list display in emacs. Installation on OS X 10.6, using brew: notmuch 0.9, chert database = format. Emacs 24.0.90.1 on iMac, intel 2.8 Ghz i7, 8Gb ram. Testing 'notmuch new' on a Maildir folder with about 30000 messages = (about one fourth of my archive). At beginning notmuch was indexing about 200 msgs/sec. The more it = indexed, the slower it became. After about 20000 msgs it slowed down to = 70 msgs/sec. I am not sure if that is a behaviour due to Xapian. Anyway, after initial indexing, starting notmuch from emacs, I have: "Welcome to notmuch. You have 34,366 messages." Once I start browsing the inbox (34,208), Emacs displays the initial = screenful, but the whole list takes quite a while to load, about 2 = minutes. After that time, in the status bar I see "Top of 2M". That happens every time I am browsing the inbox, in order to assign = proper tags. The real issue, though, is that scrolling down the list has a noticeable = delay, enough to make it basically unusable. Is there something I do not know that I should do to improve that speed = (either from within Emacs, or in notmuch config file? I would be very grateful for any advice or pointer on how to speed up = the notmuch experience. Thank you, Sam=