From owner-freebsd-ports@FreeBSD.ORG Wed Jul 25 10:47:37 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ECFDF106566B; Wed, 25 Jul 2012 10:47:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id A4CFC8FC17; Wed, 25 Jul 2012 10:47:37 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Stz7q-00074L-PB; Wed, 25 Jul 2012 11:47:30 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Stz7q-0005qf-E7; Wed, 25 Jul 2012 11:47:30 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6PAlUHk092122; Wed, 25 Jul 2012 11:47:30 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6PAlUQK092121; Wed, 25 Jul 2012 11:47:30 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 25 Jul 2012 11:47:29 +0100 From: Anton Shterenlikht To: Matthias Andree Message-ID: <20120725104729.GA92090@mech-cluster241.men.bris.ac.uk> References: <20120724171842.GA47545@mech-cluster241.men.bris.ac.uk> <500F0CF7.4040209@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <500F0CF7.4040209@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org Subject: Re: mutt 1.5 much slower than mutt 1.4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 10:47:38 -0000 On Tue, Jul 24, 2012 at 11:00:39PM +0200, Matthias Andree wrote: > Am 24.07.2012 19:18, schrieb Anton Shterenlikht: > > mail/mutt is much slower on my amd64 and ia64 > > -current boxes after it was updated from 1.4 > > to 1.5. Each keystroke takes few seconds to > > act. Below is my mutt 1.5 config: > ... > > > Anybody else is seeing this behaviour? > > Not here™ on amd64 9-stable -- which may have little relevance for > 10-current. > > > Any advice? > > Any chance to figure out what mutt is doing, like with truss or similar? I'll need to read up on this. > > Is debugging turned on; was mutt built WITH_DEBUG=yes? yes, I just rebuilt with this set. > > Is the lag CPU-bound (near 100% CPU) and if yes, in system or in user > space, or is the lag IO-bound (near 100% wait)? This is on ia64 r237134 For example, when I type "mutt", then "c" and choose a folder, I get: -- Mutt: Directory [~/Mail], File mask: !^\.[^.] Sorting mailbox... which goes for over 50 sec. At the same time I see in top: PID UID THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 92075 1001 1 22 0 24248K 21384K biowr 0 0:02 3.08% mutt The same on quitting "q" (about 40 sec): PID UID THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 92075 1001 1 21 0 24248K 21384K biowr 1 0:03 2.20% mutt > > Can you verify the header cache databases, or move them away just for > the sake of the experiment? sorry, I don't know what you mean here. > > Does it help if you "make clean" before building world? This has cured > strance effects on occasions in -STABLE (RELENG_[6-9]) branches for me. Well, I might do this later, if no other clue emerges. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423