GNOME Bugzilla – Bug 725800
Background sync heavy load with multiple large databases
Last modified: 2014-03-14 00:29:59 UTC
In a similar vein as Bug 724475 (and made somewhat more pathological by the recent fix for Bug 714865), the background sync task can place a heavy load on a system when there are multiple, large accounts. Here, with three multi-Gb account databases, when the background sync'ing is running the desktop can stutter, and system load heads north, both both CPU and I/O. There's near constant CPU fan noise! Since it's a background task, the UX may be improved using a similar workaround as in 724475 - serialising the sync, perhaps with decreasing the reschedule interval. I guess ideally this sync process would be event driven or just made much less intensive, but that's probably a lot of work.
We should take a look at this soon. I'm assuming bug #714865 makes this issue worse because it made the sync happen more frequently, is that what you mean?
Mike, can you give us a log file so we know what's going on specifically in your case? Just the output from letting 'geary --debug' run until the problem hits and then subsides, would be great, and you can email it to us privately at geary@yorba.org (feel free to scrub it of private information first). Thanks!
Michael, looking at your log file it's apparent that you're suffering from bug #713530, which is a bug I thought we'd eradicated but obviously have not. I'm marking this as a duplicate and re-opening it. (You might want to cc: yourself on that ticket.) It may be we still need to serialize the account synchronizer, but let's fix this problem first before considering that. *** This bug has been marked as a duplicate of bug 713530 ***
Sure thing. Bugzilla has CC'ed me already, let me know if there's anything further I can do to help.