Re: [notmuch] 25 minutes load time with emacs -f notmuch
authorStefan Schmidt <stefan@datenfreihafen.org>
Sat, 21 Nov 2009 15:36:55 +0000 (16:36 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:38 +0000 (09:35 -0800)
1f/9c10d5b80643c30cc80c758f943891211dea08 [new file with mode: 0644]

diff --git a/1f/9c10d5b80643c30cc80c758f943891211dea08 b/1f/9c10d5b80643c30cc80c758f943891211dea08
new file mode 100644 (file)
index 0000000..30b6aca
--- /dev/null
@@ -0,0 +1,90 @@
+Return-Path: <stefan@datenfreihafen.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id ABCE0431FBC\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 07:37:03 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id oKnxHhV+6Mhy for <notmuch@notmuchmail.org>;\r
+       Sat, 21 Nov 2009 07:37:02 -0800 (PST)\r
+X-Greylist: delayed 2746 seconds by postgrey-1.32 at olra;\r
+       Sat, 21 Nov 2009 07:37:02 PST\r
+Received: from sirius.lasnet.de (sirius.lasnet.de [78.47.116.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 75425431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 07:37:02 -0800 (PST)\r
+Received: from p5b034af6.dip.t-dialin.net ([91.3.74.246] helo=excalibur)\r
+       by sirius.lasnet.de with esmtpsa \r
+       (Cipher TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63 #1)\r
+       id 1NBs1A-0005Bk-Jj by authid <stefan@sostec.de> with cram_md5;\r
+       Sat, 21 Nov 2009 16:37:00 +0100\r
+Received: from stefan by excalibur with local (Exim 4.69)\r
+       (envelope-from <stefan@excalibur.local>)\r
+       id 1NBs1A-0006Jw-2I; Sat, 21 Nov 2009 16:36:56 +0100\r
+Date: Sat, 21 Nov 2009 16:36:55 +0100\r
+From: Stefan Schmidt <stefan@datenfreihafen.org>\r
+To: Bdale Garbee <bdale@gag.com>\r
+Message-ID: <20091121153655.GC19397@excalibur.local>\r
+References: <20091121145111.GB19397@excalibur.local>\r
+       <1258816372.8741.15.camel@rover>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <1258816372.8741.15.camel@rover>\r
+X-Mailer: Mutt http://www.mutt.org/\r
+X-KeyID: 0xDDF51665\r
+X-Website: http://www.datenfreihafen.org/\r
+User-Agent: Mutt/1.5.20 (2009-06-14)\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] 25 minutes load time with emacs -f notmuch\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 21 Nov 2009 15:37:03 -0000\r
+\r
+Hello.\r
+\r
+On Sat, 2009-11-21 at 08:12, Bdale Garbee wrote:\r
+> On Sat, 2009-11-21 at 15:51 +0100, Stefan Schmidt wrote:\r
+> \r
+> > Sadly that takes around 25 minutes here on an Intel Core2Duo notbeook (Thinkpad\r
+> > X200s). I tried this several times now. CPU load was low (~10%) during this time\r
+> > so it is mostly IO bound.\r
+> \r
+> I see the same behavior on my notebook.  \r
+> \r
+> I gather from talking to keithp that things like the 'state of already\r
+> being read' aren't being picked up from the file names in the local\r
+> Maildir yet.  Thus I suspect it's a fairly unusual / worst case scenario\r
+> trying to start up with 178k (in my case) supposedly-unread messages\r
+> tagged inbox.\r
+\r
+Using the read flag during notmuch new would indeed be nice. But some further\r
+testing brings some doubts that it is an overload due to to many unread\r
+messages.\r
+\r
+I executed "/usr/local/bin/notmuch search --sort=oldest-first tag:inbox" by hand\r
+and from the 21 minutes it took it stayed around 20 in a state where no new\r
+message where printed and then sudenly all the rest comes up.\r
+\r
+In my case only 80 messages were printed before the gap. All of them had a wrong\r
+year in the timestamp. 1900 and 1970. Maybe notmuch just comes into a bad state\r
+with this dates?\r
+\r
+Bdale, can you confirm this for your case?\r
+\r
+I will remove these mails and re-generate the notmuch index to test this out\r
+after dinner later today.\r
+\r
+regards\r
+Stefan Schmidt\r