[SimpleMail-usr] Re: compressible folder indices?

  • From: sebauer@xxxxxxxxxxx (Sebastian Bauer)
  • To: <simplemail-usr@xxxxxxxxxxxxx>
  • Date: Sun, 14 Dec 2003 11:49:00 +0100

Kulwant Bhogal wrote:
> Would it be possible in the folder preferences (individual folder
> settings) to choose to compress the folder index file?
>
> I say this because I now have over 4,800 files in my SPAM folder and
> I find that startup and close down times are getting longer and
> longer. Not only that, isolating just 1 SPAM message takes a long
> time if this is the first
> on after staring a new Simplemail session. Even having over 2000
> buffers on the partition doesn't help speed it up much.
>
> I imagine it is caused by inefficient FFS routines on large files so
> loading a compressed file into memory should be quicker, especially
> if Simplemail then works totally within RAM on an uncompressed file
> and then compresses it and saves it to disk when finished. I'm
> guessing on this one, does this sound plausible.

I probably could optimize the case so if you move a mail to a folder the
index of the folder is not loaded but the new mail is only appended to the
index. But with 4000 entries FFS suffers also in normal directory operations
so this optimization would only help partly.

Ciao,
Sebastian

__________________________________________________________________________
SimpleMail mailing list   -   //www.freelists.org/list/simplemail-usr
Listserver help.: mailto:simplemail-usr-request@xxxxxxxxxxxxx?Subject=HELP
Unsub....: mailto:simplemail-usr-request@xxxxxxxxxxxxx?Subject=UNSUBSCRIBE

Other related posts: