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 2B5E8429E20 for ; Sat, 29 Jan 2011 15:49:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.804 X-Spam-Level: X-Spam-Status: No, score=0.804 tagged_above=-999 required=5 tests=[DATE_IN_PAST_12_24=0.804] 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 uNY04pn8UIFO for ; Sat, 29 Jan 2011 15:49:10 -0800 (PST) X-Greylist: delayed 353 seconds by postgrey-1.32 at olra; Sat, 29 Jan 2011 15:49:10 PST Received: from kaylee.flamingspork.com (kaylee.flamingspork.com [74.207.245.61]) by olra.theworths.org (Postfix) with ESMTP id A4903431FB6 for ; Sat, 29 Jan 2011 15:49:10 -0800 (PST) Received: from willster (localhost [127.0.0.1]) by kaylee.flamingspork.com (Postfix) with ESMTPS id 53E7C6079; Sat, 29 Jan 2011 23:40:29 +0000 (UTC) Received: by willster (Postfix, from userid 1000) id 5AA77C415; Sat, 29 Jan 2011 11:05:03 +1000 (EST) From: Stewart Smith To: micah anderson , Thomas Schwinge , notmuch@notmuchmail.org Subject: Re: notmuch's idea of concurrency / failing an invocation In-Reply-To: <8762taxk9y.fsf@algae.riseup.net> References: <87fwsetdin.fsf@kepler.schwinge.homeip.net> <8762taxk9y.fsf@algae.riseup.net> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) Date: Sat, 29 Jan 2011 11:05:03 +1000 Message-ID: <87y664zfi8.fsf@flamingspork.com> 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: Sat, 29 Jan 2011 23:49:13 -0000 On Thu, 27 Jan 2011 13:40:25 -0500, micah anderson wrote: > Due to my harddisk in my laptop being slow (5400RPM), my notmuch > database growing, and perhaps some fragmentation somewhere, this has > become *incredibly* annoying for me. I am checking email every 30 > minutes, and I'm nicing and ionicing the processes so I can use my > machine, but while those processes are running, I'm effectively locked > out of a good portion of my email. I used to use spinning rust and also noticed things were slow. This is in fact mostly not xapian - but rather crawling the Maildir. I improved this early on in notmuch history by reducing the number of seeks needed when traversing the Maildir hierarchy (e.g. stat in i-node order, which is roughly on-disk order). I'm about at the point where I'm going to take my git mail store experiments and get them really to work (and everyone will have to use 'notmuch cat' or the like to access the messages) which should provide both great storage efficiency, much faster backups of your Maildir as well as having way fewer paths to traverse checking for new mail. -- Stewart Smith