Version: (using KDE KDE 3.1.3) Installed from: Mandrake RPMs Compiler: gcc version 3.3.1 OS: Linux Switching from one mail folder to another, where the destination folder has in excess of 10,000 messages (all folders are Maildir) causes a long pause (more than 10 seconds) and kmail is unresponsive for the duration of the swich. The more messages you have in the folder, the longer the pause.
A certain delay is not avoidable since the list of messages has to be build and sorted. But we've improved the speed for KDE 3.2. Switching to a 30,000 message folder (with a slow Notebook harddisk) took about 7 seconds the first time after starting KMail and only about 2 seconds the second, third, etc. time.
Subject: Re: kmail pauses switching folders where number of messages is over 10,000 > A certain delay is not avoidable since the list of messages has to be build > and sorted. But we've improved the speed for KDE 3.2. Switching to a 30,000 > message folder (with a slow Notebook harddisk) took about 7 seconds the > first time after starting KMail and only about 2 seconds the second, third, > etc. time. True, but as far back as 3.0.0 folder switching was almost instant, even with 40k messages in a folder. Mark.
Have a look at strace while you switch. And make sure not to use NFS as backing FS :)
Subject: Re: kmail pauses switching folders where number of messages is over 10,000 > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=69439 > > > > > ------- Additional Comments From coolo@kde.org 2003-12-01 21:35 ------- > Have a look at strace while you switch. And make sure not to use NFS as > backing FS :) It's a local XFS filesystem, on a 40GB IBM drive on its own ATA-100 channel.... I'll check the strace and get back to you, but I wonder if its to do with the folders being Maildirs and not mbox format?
Subject: Re: kmail pauses switching folders where number of messages is over 10, 000 On Tuesday 02 December 2003 09:58, Mark Watts wrote: > I'll check the strace and get back to you, but I wonder if its to do with the > folders being Maildirs and not mbox format? > Possible. It depends a lot on XFS's implementation of large folders. Greetings, Stephan