[PATCH 4/4] Update NEWS for user.other_name
[notmuch-archives.git] / b1 / c73bbabf9111725f83886164563d3197917e48
1 Return-Path: <stefan@datenfreihafen.org>\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 75D51431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 06:51:20 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id 5jnA1c2aOZfQ for <notmuch@notmuchmail.org>;\r
11         Sat, 21 Nov 2009 06:51:19 -0800 (PST)\r
12 Received: from mout.perfora.net (mout.perfora.net [74.208.4.194])\r
13         by olra.theworths.org (Postfix) with ESMTP id 99B73431FAE\r
14         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 06:51:19 -0800 (PST)\r
15 Received: from sirius.lasnet.de (sirius.lasnet.de [78.47.116.19])\r
16         by mx.perfora.net (node=mxus0) with ESMTP (Nemesis)\r
17         id 0MHnnR-1NCfil1w0j-004C5X for notmuch@notmuchmail.org;\r
18         Sat, 21 Nov 2009 09:51:19 -0500\r
19 Received: from p5b034af6.dip.t-dialin.net ([91.3.74.246] helo=excalibur)\r
20         by sirius.lasnet.de with esmtpsa \r
21         (Cipher TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63 #1)\r
22         id 1NBrIv-0003yC-3M by authid <stefan@sostec.de> with cram_md5\r
23         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 15:51:15 +0100\r
24 Received: from stefan by excalibur with local (Exim 4.69)\r
25         (envelope-from <stefan@excalibur.local>) id 1NBrIu-0006At-2N\r
26         for notmuch@notmuchmail.org; Sat, 21 Nov 2009 15:51:12 +0100\r
27 Date: Sat, 21 Nov 2009 15:51:11 +0100\r
28 From: Stefan Schmidt <stefan@datenfreihafen.org>\r
29 To: notmuch@notmuchmail.org\r
30 Message-ID: <20091121145111.GB19397@excalibur.local>\r
31 MIME-Version: 1.0\r
32 Content-Type: text/plain; charset=us-ascii\r
33 Content-Disposition: inline\r
34 X-Mailer: Mutt http://www.mutt.org/\r
35 X-KeyID: 0xDDF51665\r
36 X-Website: http://www.datenfreihafen.org/\r
37 User-Agent: Mutt/1.5.20 (2009-06-14)\r
38 Subject: [notmuch] 25 minutes load time with emacs -f notmuch\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.12\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sat, 21 Nov 2009 14:51:20 -0000\r
52 \r
53 Hello.\r
54 \r
55 Disclaimer: I'm using vim, in combination with mutt for email, for years, but\r
56 never dealt with emacs. Please have this in mind and spot any emacs user errors\r
57 in this report. :)\r
58 \r
59 I have first seen notmuch several weeks ago as it seems a silent project. Being\r
60 more then happy now that it envolves quickly and a real developer community\r
61 builds around it.\r
62 \r
63 But now to my problem. Getting m mail indexed was easy enough:\r
64 \r
65 stefan@excalibur:~$ du -chs not-much-mail/\r
66 1.5G    not-much-mail/\r
67 1.5G    total\r
68 stefan@excalibur:~$ time notmuch new\r
69 Found 103677 total files.\r
70 Processed 103677 total files in 42m 30s (40 files/sec.).\r
71 Added 100899 new messages to the database (not much, really).\r
72 \r
73 Tip: If you have any sub-directories that are archives (that is,\r
74 they will never receive new mail), marking these directories as\r
75 read-only (chmod u-w /path/to/dir) will make "notmuch new"\r
76 much more efficient (it won't even look in those directories).\r
77 \r
78 real    43m0.943s\r
79 user    22m46.513s\r
80 sys     0m39.418s\r
81 \r
82 \r
83 I put (require  'notmuch) in my ~/.emacs ans start emacs with the -f notmuch\r
84 option to enter the notmuch mode. What happends then is that a notmuch process\r
85 gets started and emacs waits for the return.\r
86 \r
87 23649 pts/1    SN+    0:00      |       \_ emacs -f notmuch\r
88 23651 ?        RNs    0:03      |           \_ /usr/local/bin/notmuch search\r
89 --sort=oldest-first tag:inbox\r
90 \r
91 Sadly that takes around 25 minutes here on an Intel Core2Duo notbeook (Thinkpad\r
92 X200s). I tried this several times now. CPU load was low (~10%) during this time\r
93 so it is mostly IO bound.\r
94 \r
95 I checked that I don't have any big files like mutt header caches left and all\r
96 my mail is stored in maildir format diretcly from offlineimap. I'm more then\r
97 happy to test any patches on this issue or do some debugging myself if I get\r
98 some hints where to look.\r
99 \r
100 regards\r
101 Stefan Schmidt\r