Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 46 / 459067980ff327e00684f0576b7cefb2dc3ab2
1 Return-Path: <jason@jasonwoof.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 1AD3A431FD0\r
6         for <notmuch@notmuchmail.org>; Tue, 12 Jul 2011 13:25:07 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 Rmlsv3evIpbX for <notmuch@notmuchmail.org>;\r
16         Tue, 12 Jul 2011 13:25:05 -0700 (PDT)\r
17 Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com\r
18         [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 909CD431FB6\r
21         for <notmuch@notmuchmail.org>; Tue, 12 Jul 2011 13:25:05 -0700 (PDT)\r
22 Received: by vws13 with SMTP id 13so4150272vws.26\r
23         for <notmuch@notmuchmail.org>; Tue, 12 Jul 2011 13:25:05 -0700 (PDT)\r
24 Received: by 10.220.8.193 with SMTP id i1mr117404vci.108.1310502304759;\r
25         Tue, 12 Jul 2011 13:25:04 -0700 (PDT)\r
26 Received: from compy.jasonwoof.org (c-98-216-100-90.hsd1.ma.comcast.net\r
27         [98.216.100.90])\r
28         by mx.google.com with ESMTPS id w16sm2364435vco.29.2011.07.12.13.25.02\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Tue, 12 Jul 2011 13:25:02 -0700 (PDT)\r
31 Date: Tue, 12 Jul 2011 16:24:59 -0400\r
32 From: Jason Woofenden <jason@jasonwoof.com>\r
33 To: Notmuch Mail <notmuch@notmuchmail.org>\r
34 Subject: Re: Slowness (search opens every email file?)\r
35 Message-ID: <20110712202459.GB15019@compy.jasonwoof.org>\r
36 Mail-Followup-To: Notmuch Mail <notmuch@notmuchmail.org>\r
37 References: <20110711190721.GA5386@compy.jasonwoof.org>\r
38         <CAH-f9WtBHJ8bL6eWoSNrTs=jkrOYYCuWEVVPDUt_iCw0dKcZbw@mail.gmail.com>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=us-ascii\r
41 Content-Disposition: inline\r
42 In-Reply-To:\r
43  <CAH-f9WtBHJ8bL6eWoSNrTs=jkrOYYCuWEVVPDUt_iCw0dKcZbw@mail.gmail.com>\r
44 User-Agent: Mutt/1.5.21 (2010-09-15)\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Tue, 12 Jul 2011 20:25:07 -0000\r
58 \r
59 On 2011-07-11 06:13PM, Austin Clements wrote:\r
60 > On Mon, Jul 11, 2011 at 3:07 PM, Jason Woofenden <jason@jasonwoof.com> wrote:\r
61 > > notmuch search tag:foo is slow!\r
62 > >\r
63 > > (when my e-mail files are not already in the disk cache)\r
64 > >\r
65 > > I saw on my activity monitor applet that it was using mostly i/o,\r
66 > > and started to wonder if it was opening every e-mail. I little work\r
67 > > with strace and searching revealed that this command was opening\r
68 > > many many e-mail files from my maildir(s). I spent a little while\r
69 > > digging around in the notmuch source, and didn't see where it was\r
70 > > opening the email files.\r
71\r
72 > It is opening every file to get a few headers to display in the search\r
73 > output.  Istvan Marko sent an experimental patch to store these\r
74 > headers in the database a while ago, though as far as I know there\r
75 > hasn't been any progress cleaning it up for inclusion:\r
76 > id:"m3sjsv2kw2.fsf@zsu.kismala.com" .\r
77 \r
78 Cool. I suspected it was reading for header files.\r
79 \r
80 I googled the id and found this patchwork link:\r
81 \r
82 http://patchwork.notmuchmail.org/patch/947/\r
83 \r
84 (I didn't see any way to ask mailman for a message id.)\r
85 \r
86 Does someone want to work at this soon or should I try my hand at\r
87 it?\r
88 \r
89 \r
90 Thanks,     - Jason\r