[nycbug-talk] httpsd

Jonathan jonathan
Mon Feb 7 19:58:38 EST 2005


Marc Spitzer wrote:
> On Mon, 07 Feb 2005 17:33:27 -0500, Jonathan <jonathan at kc8onw.net> wrote:
> 
> 
>>Just a "Me Too" but I have the same problem.  Courier-IMAP will max out
>>for about 10-15 seconds before Squirrelmail even gets the data to start
>>creating the page.  This is with a Maildir folder with 11000+ messages
>>in it.  My 300 message inbox only takes about 3-4 seconds total.  The
>>numbers may be somewhat off as it's been a while since I've actually
>>used my webmail but they should be fairly close.  I do have threading
>>enabled which I know increases the workload but even before I enabled
>>threading it was not much faster :P  If someone would like a shell
>>account to test things I may be able to provide one, or just tell me
>>what to do on IM.
>>
>>Hope I can help,
>>Jonathan
> 
> 
> here is a thought, if it is not turned on  rebuild your kernel with
> DIRHASH(sp?)  turned  on.  I think it is turned on by default.  What
> it does is store files in a hash instead of a linked list .  And this
> can speed up file access quite a bit for fat directories.
> 
> marc

DIRHASH is enable by default now so no help there :P

server% grep -i dirhash /usr/src/sys/i386/conf/GENERIC
options         UFS_DIRHASH             # Improve performance on big 
directories

Thanks for the suggestion though,
Jonathan




More information about the talk mailing list