FS#46592 - [akonadi] (or akonadi using components) delay plasmashell login considerably

Attached to Project: Arch Linux
Opened by Olaf the Lost Viking (OlafLostViking) - Wednesday, 07 October 2015, 12:18 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 08 October 2015, 11:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After installing a fresh Arch with KDE Plasma desktop (all KF5) I am seeing delays when logging in. Removing all akonadi using components (korgac, the clock, krunner modules) improves startup time by 25 seconds (the normal startup is between 5-10 seconds, so with an unconfigured akonadi it's 35 seconds). journalctl shows the following messages - I don't know if they are relevant at all, but at least here are the 25 seconds hiding ;-)


Journalctl -b:
...
Oct 02 12:24:47 kessel kdeinit5[604]: powerdevil: Screen brightness value max: 0
Oct 02 12:24:49 kessel akonadi_followupreminder_agent[920]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:24:51 kessel akonadi_ical_resource[922]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:24:53 kessel akonadi_indexing_agent[923]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:24:55 kessel akonadi_maildir_resource[924]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:24:57 kessel akonadi_maildispatcher_agent[925]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:24:59 kessel akonadi_migration_agent[926]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:25:01 kessel akonadi_newmailnotifier_agent[927]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:25:03 kessel akonadi_notes_agent[928]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:25:05 kessel akonadi_mailfilter_agent[929]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:25:07 kessel akonadi_sendlater_agent[930]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:25:09 kessel akonadi_archivemail_agent[931]: akonadiagentbase_log: Identifier argument missing
Oct 02 12:25:10 kessel kwin_x11[655]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3690, resource id: 2097184, major code: 18 (ChangeProperty), minor code: 0
...


Additional info:
* forum thread: https://bbs.archlinux.org/viewtopic.php?id=203203


Steps to reproduce:
* fresh installation of Arch or Manjaro
* login into plasmashell via sddm
* experience (in my case) 25s longer startup/splash screen than without akonadi using components
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 08 October 2015, 11:39 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Thursday, 08 October 2015, 11:39 GMT
Well, I'd say this is expected. In my desktop machine akonadi takes ~20s to start, while in my laptop with an SSD it takes little more than 5s. So depending on your hardware and the size of your database it's perfectly possible that it takes that long. If you feel that this is unreasonable, please take it with upstream.

Note that neither krunner nor the clock applet use akonadi in Plasma 5 (yet), so disabling those should not have any effect.

Loading...