Summary: | moving the contents of a mail folder is extremely slow | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Bruno Haible <bruno> |
Component: | Mixed Maildir resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | krammer, Martin |
Priority: | NOR | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Bruno Haible
2012-01-02 12:26:08 UTC
The reason why I moved the contents of the folder, instead of renaming the folder, is that the first folder has some subfolders. Namely, the source folder is 'gnulib', with subfolders 'incoming' and 'waiting'. I move the contents of 'gnulib' to 'gnulib-2011', but the subfolders 'incoming' and 'waiting' are not specific to a single year and therefore stay under 'gnulib'. Interesting observation. I haven't had time yet to try this myself, but my guess is the problem is the "compaction" of the source mbox. Could you check if copying from an mbox to an mbox inside mixedmaildir shows the same behavior? > my guess is the problem is the "compaction" of the source mbox. As I wrote in the original description, 90% of the time was spent after the size of the original mbox file had gone down to 0 and the size of the destination mbox file had reached its final size. During this long time, akonadi was updating databases. Each database update took ca. 7 seconds. > Could you check if copying from an mbox to an mbox inside mixedmaildir shows > the same behavior? That's precisely what I did. From an mbox to an mbox inside the same mixedmaildir resource. Is it that hard to reproduce? Do you want me to send you an mbox folder with 4000 emails? If so, please contact me by private email. Bruno, thank you for your report. Does it still happen for you with KDEPIM + Akonadi 16.04. I bet it may still happen as I find moving folder on maildir *extremely* inefficient with that version still, but please confirm. Otherwise I intend to close this bug report, as KDEPIM 4 and Akonadi 1 is unmaintained. Thanks, Martin If Akonadi behaves similarily as I described in 364114 - moving a folder within one maildir resource is extremely slow and inefficient with mbox folders, this may explain quite a lot of the slowness you described. This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present? If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input. |