Gnus development mailing list
 help / color / mirror / Atom feed
* Leaving gnus is slow
@ 2005-11-16  8:28 Andreas J. Koenig
  2005-11-16 10:47 ` Adam Sjøgren
  2005-11-16 15:21 ` Simon Josefsson
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas J. Koenig @ 2005-11-16  8:28 UTC (permalink / raw)


Leaving gnus takes between 5 and 10 minutes on a fast and otherwise
sane and well behaving machine. Other gnus operations are as fast as
they have always been. The slowdown became noticable a few months ago,
then became annoying a few weeks ago. strace shows the same pattern
several 10000 times:

  gettimeofday({1132127555, 814214}, NULL) = 0
  gettimeofday({1132127555, 814633}, NULL) = 0
  setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 1000}}, NULL) = 0
  sigreturn()                             = ? (mask now [])
  --- SIGALRM (Alarm clock) @ 0 (0) ---
  gettimeofday({1132127555, 824205}, NULL) = 0
  gettimeofday({1132127555, 824611}, NULL) = 0
  setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 1000}}, NULL) = 0
  sigreturn()                             = ? (mask now [])
  --- SIGALRM (Alarm clock) @ 0 (0) ---
  gettimeofday({1132127555, 834211}, NULL) = 0
  gettimeofday({1132127555, 834616}, NULL) = 0
  setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 1000}}, NULL) = 0
  sigreturn()                             = ? (mask now [])
  --- SIGALRM (Alarm clock) @ 0 (0) ---

My ~/.gnus.registry.eld file looks a bit largish to me:

-rw-rw-r-- 1 k k 18651823 Nov 16 08:59 /home/k/.gnus.registry.eld

My largest overview files are:

-rw------- 1 k k 4366389 Nov 16 08:14 /home/k/Mail/subversion/.overview
-rw------- 1 k k 4879095 Aug 31 04:41 /home/k/Mail/svg-developers/.overview
-rw------- 1 k k 7715045 Nov 16 08:07 /home/k/Mail/junk/.overview
-rw------- 1 k k 9153921 Nov 16 09:03 /home/k/Mail/pause/.overview

Any suggestions where to have further looks and how to pull this
straight again?

I'm running current CVS.

Thanks,
-- 
andreas



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Leaving gnus is slow
  2005-11-16  8:28 Leaving gnus is slow Andreas J. Koenig
@ 2005-11-16 10:47 ` Adam Sjøgren
  2005-11-16 15:13   ` Andreas J. Koenig
  2005-11-16 15:21 ` Simon Josefsson
  1 sibling, 1 reply; 4+ messages in thread
From: Adam Sjøgren @ 2005-11-16 10:47 UTC (permalink / raw)


On Wed, 16 Nov 2005 09:28:57 +0100, Andreas wrote:

> My ~/.gnus.registry.eld file looks a bit largish to me:

> -rw-rw-r-- 1 k k 18651823 Nov 16 08:59 /home/k/.gnus.registry.eld

You may want to try and make this smaller - a while after I started
using the Gnus registry (for spam.el) I noticed a considerable
slowdown due to the size of that file.

The "cure" is perhaps something like this:

 (setq gnus-registry-max-entries 5000)

(my registry-file is now around 600-700 KB and quitting is quite speedy).


(I don't know about the overview-files.)


  Best regards,

-- 
 "I always imagined that Cthulu would wear a tie.             Adam Sjøgren
  Instead he seems quite sporty."                        asjo@koldfront.dk




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Leaving gnus is slow
  2005-11-16 10:47 ` Adam Sjøgren
@ 2005-11-16 15:13   ` Andreas J. Koenig
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas J. Koenig @ 2005-11-16 15:13 UTC (permalink / raw)
  Cc: ding

>>>>> On Wed, 16 Nov 2005 11:47:18 +0100, asjo@koldfront.dk (Adam Sjøgren) said:

  > The "cure" is perhaps something like this:

  >  (setq gnus-registry-max-entries 5000)

Thank you! This did the trick; very, very nice.

-- 
andreas



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Leaving gnus is slow
  2005-11-16  8:28 Leaving gnus is slow Andreas J. Koenig
  2005-11-16 10:47 ` Adam Sjøgren
@ 2005-11-16 15:21 ` Simon Josefsson
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Josefsson @ 2005-11-16 15:21 UTC (permalink / raw)
  Cc: ding

andreas.koenig.gmwojprw@franz.ak.mind.de (Andreas J. Koenig) writes:

> Leaving gnus takes between 5 and 10 minutes on a fast and otherwise
> sane and well behaving machine. Other gnus operations are as fast as
> they have always been. The slowdown became noticable a few months ago,
> then became annoying a few weeks ago. strace shows the same pattern
> several 10000 times:

What does profiling using elp indicate?

>   gettimeofday({1132127555, 814214}, NULL) = 0
>   gettimeofday({1132127555, 814633}, NULL) = 0
>   setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 1000}}, NULL) = 0
>   sigreturn()                             = ? (mask now [])
>   --- SIGALRM (Alarm clock) @ 0 (0) ---
>   gettimeofday({1132127555, 824205}, NULL) = 0
>   gettimeofday({1132127555, 824611}, NULL) = 0
>   setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 1000}}, NULL) = 0
>   sigreturn()                             = ? (mask now [])
>   --- SIGALRM (Alarm clock) @ 0 (0) ---
>   gettimeofday({1132127555, 834211}, NULL) = 0
>   gettimeofday({1132127555, 834616}, NULL) = 0
>   setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 1000}}, NULL) = 0
>   sigreturn()                             = ? (mask now [])
>   --- SIGALRM (Alarm clock) @ 0 (0) ---
>
> My ~/.gnus.registry.eld file looks a bit largish to me:
>
> -rw-rw-r-- 1 k k 18651823 Nov 16 08:59 /home/k/.gnus.registry.eld
>
> My largest overview files are:
>
> -rw------- 1 k k 4366389 Nov 16 08:14 /home/k/Mail/subversion/.overview
> -rw------- 1 k k 4879095 Aug 31 04:41 /home/k/Mail/svg-developers/.overview
> -rw------- 1 k k 7715045 Nov 16 08:07 /home/k/Mail/junk/.overview
> -rw------- 1 k k 9153921 Nov 16 09:03 /home/k/Mail/pause/.overview
>
> Any suggestions where to have further looks and how to pull this
> straight again?

Based on your strace output, it doesn't seem like it is writing any
files.  It is probably computing or waiting for something.

FWIW, quitting Gnus is fast here.  Which I notice every time I
accidentally do it...



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-16 15:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-16  8:28 Leaving gnus is slow Andreas J. Koenig
2005-11-16 10:47 ` Adam Sjøgren
2005-11-16 15:13   ` Andreas J. Koenig
2005-11-16 15:21 ` Simon Josefsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).