1 Return-Path: <oliver.g.charles@googlemail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 9D78B431FBC
\r
6 for <notmuch@notmuchmail.org>; Tue, 9 Feb 2010 14:22:46 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.548 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.549, BAYES_50=0.001] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id nDgSynRKwnAT for <notmuch@notmuchmail.org>;
\r
16 Tue, 9 Feb 2010 14:22:46 -0800 (PST)
\r
17 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 574A1431FAE
\r
19 for <notmuch@notmuchmail.org>; Tue, 9 Feb 2010 14:22:43 -0800 (PST)
\r
20 Received: by fg-out-1718.google.com with SMTP id 16so1855fgg.2
\r
21 for <notmuch@notmuchmail.org>; Tue, 09 Feb 2010 14:22:42 -0800 (PST)
\r
22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
23 d=googlemail.com; s=gamma;
\r
24 h=domainkey-signature:mime-version:received:in-reply-to:references
\r
25 :date:message-id:subject:from:to:cc:content-type;
\r
26 bh=OqvpI7Cp7F2NCbUGYopfkTurAP1S1tiR132sG32pOB0=;
\r
27 b=baOKD9rVKY8X1B2EY7h456bqVtmxU9jL0+NBHIPpzS9IBhktO9aZ9Me+vpWwoDqVaP
\r
28 m7qQn4VaHV5ZWZhwvId77sFKYQ1I3F7w2m5qBjia7HTMSpuGoPGV0DFFj9ohr2GGhRzl
\r
29 L/c7mWg3P/QWKqO4uimNw+oUA3xs8UedNI78E=
\r
30 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma;
\r
31 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
\r
33 b=X0RYTmDrcM4kfUShYndSKYV0TIkHJ5F6YtTp88+bX1p69rjJqvRN5cvxoWplGCtYLl
\r
34 gAu0TWaOv9D1rqfxM4UubB5bj//sChgacYD1sXFDoGf5f1Ja9cutaSPCDgNKCW5jGG3i
\r
35 0qNEDoYIbu0IeHJuaSE0V9OI+Cry4wuhIN/+A=
\r
37 Received: by 10.87.9.39 with SMTP id m39mr1326298fgi.73.1265753789475; Tue, 09
\r
38 Feb 2010 14:16:29 -0800 (PST)
\r
39 In-Reply-To: <slrnhn3n8t.3ls.olly@msgid.survex.com>
\r
40 References: <5641883d1001140730l22832715ld6bdc95c9938d314@mail.gmail.com>
\r
41 <87d41ce0qf.fsf@yoom.home.cworth.org>
\r
42 <5641883d1001181035j534d8f5cxc3b5b0db315ff290@mail.gmail.com>
\r
43 <5641883d1002091246r41562e28ref69732cdc79d1f8@mail.gmail.com>
\r
44 <slrnhn3n8t.3ls.olly@msgid.survex.com>
\r
45 Date: Tue, 9 Feb 2010 22:16:29 +0000
\r
46 Message-ID: <5641883d1002091416m4b1f0210odf71c7a3054299@mail.gmail.com>
\r
47 From: Oliver Charles <oliver.g.charles@googlemail.com>
\r
48 To: Olly Betts <olly@survex.com>
\r
49 Content-Type: text/plain; charset=ISO-8859-1
\r
50 Cc: notmuch@notmuchmail.org
\r
51 Subject: Re: [notmuch] Notmuch performance problems on OSX
\r
52 X-BeenThere: notmuch@notmuchmail.org
\r
53 X-Mailman-Version: 2.1.13
\r
55 List-Id: "Use and development of the notmuch mail system."
\r
56 <notmuch.notmuchmail.org>
\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
60 List-Post: <mailto:notmuch@notmuchmail.org>
\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
64 X-List-Received-Date: Tue, 09 Feb 2010 22:22:46 -0000
\r
66 On Tue, Feb 9, 2010 at 10:09 PM, Olly Betts <olly@survex.com> wrote:
\r
67 > On 2010-02-09, Oliver Charles wrote:
\r
68 >> I just upgraded to xapian-core HEAD and notmuch master tip today, in
\r
69 >> desparation to get away from GMail. Sadly it's still taking at least
\r
70 >> 0.7s to tag a single thread (with one message). I'm really eager to
\r
71 >> solve this, could anyone give me any pointers on how I could go about
\r
72 >> profiling it or finding the cause of this problem?
\r
74 > The first thing to try is disabling use of F_FULLFSYNC. You'll need to
\r
75 > run this command in the xapian-core source tree to comment out the F_FULLFSYNC
\r
78 > perl -pi -e 's/^#ifdef F_FULLFSYNC/#if 0/' backends/*/*_io.h
\r
80 > Then run "make" and "make install".
\r
82 $ time notmuch tag +inbox thread:6e66368b7887184c6d4c63653211b3f2
\r
88 Now this looks a little bit more usable!
\r
90 > Assuming that helps, then (a) you have a workaround, and (b) we'll know for
\r
91 > sure it is F_FULLFSYNC to blame.
\r
93 Looks like this is the case.
\r
95 > I've created a ticket for a change to Xapian which should help here, but
\r
96 > not had a chance to work on it yet:
\r
98 > http://trac.xapian.org/ticket/426
\r
100 I will add my info there and follow the ticket if I can.
\r
103 Oliver Charles / aCiD2
\r
105 (Olly, sorry about the double email - in all my excitement I didn't
\r