Re: Reply all - issue
[notmuch-archives.git] / 15 / 090bda4bd349857b9917120669f52f03158717
1 Return-Path: <stewart@flamingspork.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 18FC7431FBC\r
6         for <notmuch@notmuchmail.org>; Mon, 15 Feb 2010 19:53:30 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.762\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.762 tagged_above=-999 required=5\r
12         tests=[AWL=-0.763, 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 a-C0S2744yjr for <notmuch@notmuchmail.org>;\r
16         Mon, 15 Feb 2010 19:53:29 -0800 (PST)\r
17 Received: from kaylee.flamingspork.com (kaylee.flamingspork.com\r
18         [74.207.245.61])\r
19         by olra.theworths.org (Postfix) with ESMTP id 26DB2431FAE\r
20         for <notmuch@notmuchmail.org>; Mon, 15 Feb 2010 19:53:29 -0800 (PST)\r
21 Received: from willster (localhost [127.0.0.1])\r
22         by kaylee.flamingspork.com (Postfix) with ESMTPS id 9840A6393;\r
23         Tue, 16 Feb 2010 03:50:27 +0000 (UTC)\r
24 Received: by willster (Postfix, from userid 1000)\r
25         id AF8B71023DAC; Tue, 16 Feb 2010 14:53:26 +1100 (EST)\r
26 From: Stewart Smith <stewart@flamingspork.com>\r
27 To: Olly Betts <olly@survex.com>, notmuch@notmuchmail.org\r
28 In-Reply-To: <slrnhkvpvr.2rf.olly@msgid.survex.com>\r
29 References: <5641883d1001140730l22832715ld6bdc95c9938d314@mail.gmail.com>\r
30         <slrnhkvpvr.2rf.olly@msgid.survex.com>\r
31 Date: Tue, 16 Feb 2010 14:53:26 +1100\r
32 Message-ID: <874olhbzux.fsf@willster.local.flamingspork.com>\r
33 MIME-Version: 1.0\r
34 Content-Type: text/plain; charset=us-ascii\r
35 Subject: Re: [notmuch] Notmuch performance problems on OSX\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Tue, 16 Feb 2010 03:53:30 -0000\r
49 \r
50 On Fri, 15 Jan 2010 03:58:50 +0000 (UTC), Olly Betts <olly@survex.com> wrote:\r
51 > One difference between OS X and other systems is that OS X supports the\r
52 > F_FULLSYNC ioctl, and other systems don't (currently, at least AFAIK)\r
53 > and Xapian uses that if it is available to ensure that changes have\r
54 > actually made it to disk:\r
55\r
56 > http://trac.xapian.org/ticket/288\r
57\r
58 > On other systems, it uses fdatasync() or fsync(), which typically just\r
59 > ensure that the data has left the OS - it can sit in disk controller or\r
60 > drive caches for potentially seconds longer.  This call happens once\r
61 > per table for every (explicit or implicit) flush on a database.\r
62 \r
63 At least if you OS and file system don't hate you (e.g. XFS on Linux),\r
64 then fsync() really does flush the drive cache.\r
65 \r
66 Also keep in mind that the OSX file system (HFS+) was great for\r
67 1985. It's essentially single threaded :/\r
68 \r
69 -- \r
70 Stewart Smith\r