From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CB9AB431FD0 for ; Fri, 22 Apr 2011 13:18:15 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 27Qb9qzCptBa for ; Fri, 22 Apr 2011 13:18:15 -0700 (PDT) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 145CB431FB6 for ; Fri, 22 Apr 2011 13:18:14 -0700 (PDT) Received: by wwi36 with SMTP id 36so756487wwi.2 for ; Fri, 22 Apr 2011 13:18:13 -0700 (PDT) Received: by 10.216.192.34 with SMTP id h34mr980957wen.112.1303503492952; Fri, 22 Apr 2011 13:18:12 -0700 (PDT) Received: from localhost (18.144-240-81.adsl-dyn.isp.belgacom.be [81.240.144.18]) by mx.google.com with ESMTPS id j49sm1544516wer.14.2011.04.22.13.18.11 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Apr 2011 13:18:11 -0700 (PDT) From: Pieter Praet To: Xavier Maillard , notmuch@notmuchmail.org Subject: Re: notmuch painfully slow In-Reply-To: References: User-Agent: Notmuch/0.5-87-g30203d7 (http://notmuchmail.org) Emacs/23.1.50.1 (x86_64-pc-linux-gnu) Date: Fri, 22 Apr 2011 22:18:09 +0200 Message-ID: <871v0u59by.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Fri, 22 Apr 2011 20:18:15 -0000 On Fri, 22 Apr 2011 16:14:52 +0200, Xavier Maillard wrote: > Hi, > > as time goes, notmuch is really becoming slower and slower. It may be > normal as it has more and more messages to "track" but I am not sure it > is that normal give these numbers: > > - notmuch version: notmuch 0.5-133-gc509598 > - notmuch count: 18475 > - uname: Linux kcals 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 > i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux > - Load average: 0.00 0.00 0.00 1/144 28377 > - Memory: > total used free shared buffers cached > Mem: 992 881 111 0 253 500 > -/+ buffers/cache: 127 865 > Swap: 506 0 505 > > This is on a Slackware GNU/linux system on a Eee PC 901 (thus SSD > storage). I am using my computer *exclusively* in the virtual linux > console (tty) and 99% of my tasks are done through GNU Emacs (dunno if > is of any interest for this problem though). > > My sync script is taking really long time to achieve, updating one mail > at a time is also really slow (several seconds). In the worst cases, > updating my collection can take upto 15 minutes and updating just one > message can take up to the minute too ! > > What is happening here ? Is there any maintenance task I should do onto > my mail collection ? > > Thank you for your help. Have you switched your Xapian database from flint to chert yet? This really makes a huge difference in responsiveness. > /Xavier > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch Peace -Pieter