<<< Date Index >>>     <<< Thread Index >>>

Re: slow to open mutt/ delete mails



Hi,

* atstake atstake [06-05-17 18:14:32 +1000] wrote:
On 5/17/06, Rocco Rutte <pdmef@xxxxxxx> wrote:
* atstake atstake [06-05-17 13:37:04 +1000] wrote:

[...]

I don't have any scoring turned on. Should I turn it on?

No. Scoring slows things down.

You only could try some tuning for the next stage
which is 'Sorting the mailbox'.

Do you think this will solve the problem? How should I tweak it?

With $read_inc, for example.

Oh, though it may sound really stupid: what's your value for $read_inc?
I've bumped it to 1000 here.

Again, I don't have any such value. Should I add it?

Oh, you have. Just type ':set ?read_inc' in mutt and it should print 10 which is the default. That means that it updates the progress every 10 messages it reads/writes to the folder.

For 14.000 mails, this is 1400 calls. If you change $read_inc to 1000, then it's only 14 calls (plus formatting the info line, updating the the screen for each call, etc.)

You can compare the speed like so to see if it's worth updating the config:

  $ time mutt -e 'set read_inc = 10' -e 'push x' folder

vs.

  $ time mutt -e 'set read_inc = 1000' -e 'push x' folder

That will start mutt with different values of $read_inc, exit and print the time it took. This is not a real benchmark though, more a hint or indication if $read_inc has an impact.

  bye, Rocco
--
:wq!