Re: Synchronization Issue (Folders not deleted)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, 2007-08-27 at 15:19 +0900, Bernhard Egger wrote:
> Hi,
>
> I'm using offlineimap to backup my mails on a courier IMAP server. It works
> nicely, although it took about 4 days with 100% CPU and >400MB of RAM to
> download my Junk folder.
> (insanely large, ~300K messages...I know, but still. The first 100K or so
> messages download reasonably fast, but then it gets slower and slower. At the
> end, only about 1 message per 3 seconds is downloaded. With 400MB of RAM one
> would assume that the necessary data structures are all in memory and thus
> accessed/traversed quickly).
This is largely due to the localstatus updates that offlineimap is
doing.
I have a patch (see the archives, or i can send it to you) that uses a
sqlite database per folder for localstatus that *dramatically* speeds
this up and significantly reduces CPU time (i've been using it myself on
my critical mail for several months now... so it does work).
It also saves a heap of RAM :)
I'd be interested to hear you trying an initial sync with my patch and
see how it goes (should be a lot quicker too)
(keep in mind that i have migration code for the old to new format for
localstatus, but not the other way... so you probably want to try this
with a fresh user somewhere and then blow it away)
--
Stewart Smith (stewart@xxxxxxxxxxxxxxxx)
http://www.flamingspork.com/
-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQIVAwUARwMc9L3yNwHyU3DLAQKiFhAAsA8/DRFFpPBiFbhWJCMazA93V70kgkdK
Xd0U/fJDgf7PPfrGXdNiZtaw45J+lzHO+746WxP8nmrCtH8AyEKwl/nIG+TpIkhA
QGO6JCNYcdi+nus+WHhy6fHnbZgg+wSdUTMBBjqBal/J/yJRxp7OGijyfHwqiBY5
MaSVR4V530CJ2TDOUXS9Hi7X5CsN5XV4qS7ndpdQxXNFia1wcOcKCsKSqcIuMstj
+W08KllBBO1PdTPellu+zXaCAymaW4NBdzELyoLMURQNUl+Q27pSiSvC+J+ANZzZ
qS3b8K5vRWGdNgIXB5B4ssZHJz1PK67rhPqJKDPJGv6wQPr9tXZ9ZKnig4quoDXW
qgclGZiRT6x+L2IuH6FTjdgMOEcXTCooU9pxzoMQNv52Lsgdvfn9+vXPXp9aVHtz
bH9KhZJv1oDjxsTD5vyISBecSswKDO8FPI/rCZRM3a0jk3oBwDeSFj4A/RKgR4Kt
AniPQUTOHkL508EyNDw+9gV5NZkEyJYiS8oI+dEIEZSuFJnju5Rc5zwfek5q0LpK
gYglZjT9q+9OLxvMg3Un1JE1iAQeHxTufVRkYpYKaOEFCQPMnodn/HIqQGuYy9Q6
7IvhrWw4Uz+XSzUeVLsCsTPM0hFLLg16yqIdnuyy78Dfw5ym8b+f+z31XqYWneza
sj/I3fKdXok=
=HRC2
-----END PGP SIGNATURE-----
- Re: Synchronization Issue (Folders not deleted),
Stewart Smith <=
|
|