Roundcube Community Forum

 

threading performance

Started by ior, July 28, 2010, 08:02:56 PM

Previous topic - Next topic

ior

Hi, after installing 0.4beta I am seeing horrible performance with threading if the folder containing the thread has 2000+ mails. I did some logging and basically what is taking time is whatever roundcube is doing between these two log messages. (notice that it takes a full minute)

[29-Jul-2010 01:56:01 +0200]: S: thrd1 OK Thread completed.
[29-Jul-2010 01:57:05 +0200]: C: fuid FETCH 27655 (UID)

During this time the apache process is using 100% cpu.

For reference here is my capabilities from imapd;
* CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS STARTTLS AUTH=PLAIN

Full debug here: http://dl.dropbox.com/u/45610/imap.txt


Any ideas / suggestions?


ior

#2
Quote from: alec;29020Try with these two patches:
Changeset 3832 ? Roundcube Webmail
Changeset 3833 ? Roundcube Webmail

Thanks for your response, unfortunately there was no or little change in performance. Opening the same email still takes ~1 minute.

Edit:To further add; the size of the thread itself does not matter. I can be a single mail and it still takes a long time. Seems only to be affected by the size of the folder.

alec

Are you sure patches were applied cleanly? The same issue was discussed on users mailing list RoundCube Mailing Lists

ior

I actually applied the patches manually and as you suspected I made a mistake, made a huge difference, works lovely now. Thanks :)