Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2012 11:47:29 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Matthias Andree <mandree@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mutt 1.5 much slower than mutt 1.4
Message-ID:  <20120725104729.GA92090@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <500F0CF7.4040209@FreeBSD.org>
References:  <20120724171842.GA47545@mech-cluster241.men.bris.ac.uk> <500F0CF7.4040209@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120725104729.GA92090>