On Tue, Oct 1, 2013 at 11:40 AM, Maxim Vuets <[email protected]> wrote: > On Mon, Sep 30, 2013 at 09:59:30AM -0500, Felipe Contreras wrote: >>I switched away from offlineimap when I got a synchronization issue >>and had to re-download all my mail, and it took forever. Then mbsync >>was much faster, but today offlineimap seems quite fast, maybe even >>faster. > > I am being just curious now (-: When was the last time you compared > offlineimap and mbsync? Do you remember rough numbers?
Maybe two or three years ago. And no, I don't remember the numbers. >>Either way, even if it was slower, and buggy, it is more useful, and >>that's what really matters. >> >>There's no point in using mbsync when I cannot use most of my Gmail >>labels because they have too many messages, and to forever have the >>unread flag out of sync. > > I'd really like to understand what is the underlying problem and why > offlineimap can handle it better (-: You are saying you experience a > slowness when pulling message statuses from Gmail back to local Maildir, > correct? Essentially it is a "FETCH 1:N (UID FLAGS)"-like IMAP query, > where N is a highest known message ID that results in multiple rename(2) > syscalls. (Unless I'm missing something.) I'm not familiar with IMAP queries, but basically I want to things: 1. Fetch the whole contents of all the messages that don't exist locally, I believe that's done with PullNew 2. Fetch all the flag updates 3. Push all the flag updates, I think Push does that Essentially, the flags are always synchronized. > Now via a Gmail web interface I mark all my 7870 read messages in a test > folder as unread and run mbsync --verbose. It took 3.323s on my 2 years > old HDD laptop connected to Internet via a home WiFi router. > > When you are saying mbsync takes way long and you have too many > messages, what exact numbers do you mean? This is running a test where I synchronize a single tag from Gmail using PullFlags. There isn't even anything to update, everything is marked as read both locally and remotely and there's no other changes. Reading configuration file /home/felipec/.mbsyncrc Resolving imap.gmail.com... ok Connecting to 173.194.64.108:993... ok Connection is now encrypted Logging in... Channel gmail-test Selecting slave git... 148273 messages, 0 recent Selecting master git... 148289 messages, 0 recent Synchronizing Expunging master Expunging slave mbsync gmail-test 0.89s user 0.45s system 0% cpu 2:45.92 total And the 'git' tag is not even close to how many messages I have in other tags. -- Felipe Contreras ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ isync-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/isync-devel
