unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Oliver Charles <oliver.g.charles@googlemail.com>
To: Olly Betts <olly@survex.com>
Cc: notmuch@notmuchmail.org
Subject: Re: Notmuch performance problems on OSX
Date: Tue, 9 Feb 2010 22:16:29 +0000	[thread overview]
Message-ID: <5641883d1002091416m4b1f0210odf71c7a3054299@mail.gmail.com> (raw)
In-Reply-To: <slrnhn3n8t.3ls.olly@msgid.survex.com>

On Tue, Feb 9, 2010 at 10:09 PM, Olly Betts <olly@survex.com> wrote:
> On 2010-02-09, Oliver Charles wrote:
>> I just upgraded to xapian-core HEAD and notmuch master tip today, in
>> desparation to get away from GMail. Sadly it's still taking at least
>> 0.7s to tag a single thread (with one message). I'm really eager to
>> solve this, could anyone give me any pointers on how I could go about
>> profiling it or finding the cause of this problem?
>
> The first thing to try is disabling use of F_FULLFSYNC.  You'll need to
> run this command in the xapian-core source tree to comment out the F_FULLFSYNC
> code:
>
> perl -pi -e 's/^#ifdef F_FULLFSYNC/#if 0/' backends/*/*_io.h
>
> Then run "make" and "make install".

$ time notmuch tag +inbox thread:6e66368b7887184c6d4c63653211b3f2

real    0m0.067s
user    0m0.036s
sys     0m0.028s

Now this looks a little bit more usable!

> Assuming that helps, then (a) you have a workaround, and (b) we'll know for
> sure it is F_FULLFSYNC to blame.

Looks like this is the case.

> I've created a ticket for a change to Xapian which should help here, but
> not had a chance to work on it yet:
>
> http://trac.xapian.org/ticket/426

I will add my info there and follow the ticket if I can.

--
   Oliver Charles / aCiD2

(Olly, sorry about the double email - in all my excitement I didn't
hit reply all :))

  reply	other threads:[~2010-02-09 22:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-14 15:30 Notmuch performance problems on OSX Oliver Charles
2010-01-14 23:16 ` Carl Worth
2010-01-18 18:35   ` Oliver Charles
2010-02-09 20:46     ` Oliver Charles
2010-02-09 22:09       ` Olly Betts
2010-02-09 22:16         ` Oliver Charles [this message]
2010-01-15  3:58 ` Olly Betts
2010-02-16  3:53   ` Stewart Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5641883d1002091416m4b1f0210odf71c7a3054299@mail.gmail.com \
    --to=oliver.g.charles@googlemail.com \
    --cc=notmuch@notmuchmail.org \
    --cc=olly@survex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).