On Tue, Oct 1, 2013 at 2:49 PM, Maxim Vuets <[email protected]> wrote: > On Tue, Oct 01, 2013 at 12:32:26PM -0500, Felipe Contreras wrote: >>On Tue, Oct 1, 2013 at 11:40 AM, Maxim Vuets <[email protected]> wrote: >>> 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. > > I had a quick look at offlineimap. From its log file I cannot see > anything that offlineimap would do different. After all the same IMAP > queries done the same way.
After I fetched the whole label I realized that offlineimap does also take a long long time, and is synchronizing all the flags. It's slightly faster than mbsync at doing so, but that's not an issue. So at the end of the day, the real difference is that offlineimap does allow me to set a maxage for the messages, while mbsync does not. That's why I cannot use my folders with lots of messages, and that's why it takes so long to sync the flags. -- 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=60134071&iu=/4140/ostg.clktrk _______________________________________________ isync-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/isync-devel
