Author Topic: threading performance  (Read 2869 times)

Offline ior

  • Newbie
  • *
  • Posts: 3
threading performance
« on: July 28, 2010, 08:02:56 PM »
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?
« Last Edit: July 28, 2010, 08:13:20 PM by ior »

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
threading performance
« Reply #1 on: July 29, 2010, 02:18:47 AM »

Offline ior

  • Newbie
  • *
  • Posts: 3
threading performance
« Reply #2 on: July 29, 2010, 02:55:54 AM »
Quote from: alec;29020
Try 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.
« Last Edit: July 29, 2010, 03:16:38 AM by ior »

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
threading performance
« Reply #3 on: July 29, 2010, 03:31:56 AM »
Are you sure patches were applied cleanly? The same issue was discussed on users mailing list RoundCube Mailing Lists

Offline ior

  • Newbie
  • *
  • Posts: 3
threading performance
« Reply #4 on: July 29, 2010, 03:39:43 AM »
I actually applied the patches manually and as you suspected I made a mistake, made a huge difference, works lovely now. Thanks :)