On Sonntag, 8. Juli 2007, Daniel D Jones wrote:
> On Saturday 07 July 2007 12:55, Hemmann, Volker Armin wrote:
> > > Second, Kmail doesn't seem very adept at handling folders with lots of
> > > messages.
> >
> > yes it does.
> >
> > > I have one folder which has about 40k messages in it.  It's the
> > > archives of a mailing list I run and I expect it to grow much larger
> > > relatively quickly.  It's in maildir format on a reiserfs volume.
> >
> > that is your problem.
> >
> > > Just
> > > clicking on the folder makes  Kmail freeze for about four of five
> > > seconds before it displays a list of messages in the window and becomes
> > > responsive to key presses and mouse clicks again.  If I try to search
> > > for messages in the folder, the search will run for a minute or two and
> > > Kmail will crash. Every time.  This rather defeats the purpose of
> > > having an archive folder. Is anyone else using Kmail with folders
> > > holding thousands of email messages? Have you seen these issues?  If
> > > Kmail is working well in those circumstances for you, are you using
> > > maildir or mbox?  What file system?
> >
> > I have a 70000 messages folder - and several in the 30000 messages realm.
> >
> > If they become slow, it is time to defrag.
> >
> > Really, this is a fs problem. I like reiserfs, and it is very good with
> > small files - but fragmentation is a real problem and slows down
> > everything horrendously.
> >
> > Back up everything and run a mkfs.reiserfs. Restore, and kmail will be
> > fast again.
>
> I added a spare hard drive to the computer.  Created a new ext3 file system
> and copied /home to the new drive.  Mounted the new drive under /home and
> logged in as my normal user.  Kmail performance is marginally improved but
> it's far from snappy.

because ext3 is not really fast with small files ...

> For example, clicking on the Archive folder displays 
> the watch icon for about seven to eight seconds before displaying the
> folder. Doing a search for the word "gentoo" in the body of the message ran
> for 12 minutes and twenty seconds and crashed with a sig11.  Twelve minutes
> to search 40k messages, and it wasn't through when it crashed.


Ok, I let search run on my gentoo-archive folder which includes 3 subfolders 
and over 120 000 messages. I searched for 'gentoo' in the text.

It took ten minutes and I got ~70 000 hits.

While the search was running, kmail was slow, but usable. I read a new message 
in a different folder, switched back to the gentoo folder and read another 
message.

Sig11?

Maybe you should recheck your CFLAGS? And revdep-rebuilt?
-- 
[EMAIL PROTECTED] mailing list

Reply via email to