From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Performance problem Date: Mon, 23 May 2011 07:50:57 -0400 Message-ID: <87ei3pfxem.fsf@fastmail.fm> References: <22fpa8xo1v.ln2@news.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOTfB-00047r-KR for emacs-orgmode@gnu.org; Mon, 23 May 2011 07:51:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOTf6-0002X3-P9 for emacs-orgmode@gnu.org; Mon, 23 May 2011 07:51:09 -0400 Received: from out5.smtp.messagingengine.com ([66.111.4.29]:33777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOTf6-0002Wn-J7 for emacs-orgmode@gnu.org; Mon, 23 May 2011 07:51:04 -0400 In-Reply-To: <22fpa8xo1v.ln2@news.c0t0d0s0.de> (Michael Welle's message of "Mon, 23 May 2011 09:30:42 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Welle Cc: emacs-orgmode@gnu.org Michael Welle writes: > I use Emacs 23.2.1 and org-mode 7.5. After some time, usually after a > few days of 'uptime', building an agenda becomes very sloooow. Is this the standard agenda or a custom agenda? > I expect the agenda built from 120 org file to show up within five > seconds. Five seconds still seems like a long time. How many lines are in your agenda? Are your org buffers already open when you call it? Or have you closed your org buffers by typing "x" in the agenda? > If Emacs is in the bad state it takes three minutes. Restarting Emacs > solves the problem. > I don't blame org-mode for that behaviour, but maybe someone of you has > observed such behaviour, too? Any hints on debugging? M-x elp-instrument-package org [RET] M-x org-agenda-list M-x elp-results Best, Matt > Building the agenda results in more than 60k stat syscalls. Mostly > /etc/localtime is stat'ted and the org files. That is strange, but not > different if all works as expected.