Bug 246584 - Applications first startup(s) very slow (on N900)
Summary: Applications first startup(s) very slow (on N900)
Status: CLOSED FIXED
Alias: None
Product: KDE PIM Mobile
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Other
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 247782 (view as bug list)
Depends on:
Blocks: 246519
  Show dependency treegraph
 
Reported: 2010-08-03 10:11 UTC by Bernhard E. Reiter
Modified: 2010-12-05 22:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard E. Reiter 2010-08-03 10:11:37 UTC
Version:           unspecified
OS:                other

Nepomuk should not be started by default on mobile or weak machines, otherwise
it might ruin the user experience by indexing everything.

Reproducible: Always

Steps to Reproduce:
Initially start kmail-mobile or any other kontact-mobile.


Expected Results:  
Disable nepomuk until it runs smoothly.

Of course nepomuk is an essential part of the application for searching
and completion. In the long run it must be tuned to well behave and then enabled. But for beta testing the N900 it can be disabled until it is tuned.
Comment 1 Bernhard E. Reiter 2010-08-03 10:12:04 UTC
Problem reported several times with 20100730-1 tag for N900.
Comment 2 Bjoern Ricks 2010-08-03 10:24:08 UTC
On my device there is no running nepomukservicestub with latest packages

 2592 user     37368 S    /usr/bin/akonadi_control
 2594 user      140m S    akonadiserver
 2596 user      100m S    /usr/sbin/mysqld --defaults-file=/home/user/.local/sh
 2625 user     83236 S    /usr/bin/akonadi_contacts_resource --identifier akona
 2626 user     83236 S    /usr/bin/akonadi_contacts_resource --identifier akona
 2627 user     84996 S    /usr/bin/akonadi_ical_resource --identifier akonadi_i
 2628 user     84996 S    /usr/bin/akonadi_ical_resource --identifier akonadi_i
 2629 user      120m S    /usr/bin/akonadi_imap_resource --identifier akonadi_i
 2630 user     86024 S    /usr/bin/akonadi_kolabproxy_resource --identifier ako
 2631 user     83732 S    /usr/bin/akonadi_maildir_resource --identifier akonad
 2632 user     83732 S    /usr/bin/akonadi_maildir_resource --identifier akonad
 2633 user     83808 S    /usr/bin/akonadi_maildir_resource --identifier akonad
 2634 user     84032 S    /usr/bin/akonadi_maildispatcher_agent --identifier ak
 2635 user     92808 S    /usr/bin/akonadi_nepomuk_contact_feeder --identifier
 2661 user     42840 S    /usr/bin/nepomukserver
 2662 user     32920 S    kdeinit4: kdeinit4 Running...
 2663 user     40024 S    kdeinit4: klauncher [kdeinit] --fd=8
 2666 user     83752 S    kdeinit4: kded4 [kdeinit]
 2670 user     76032 S    kdeinit4: kwalletd [kdeinit]
 2676 user     76960 S    /usr/bin/knotify4
 2679 user      2160 R    ps ux
Comment 3 Bernhard E. Reiter 2010-08-05 10:34:54 UTC
I am changing focus of this issue. When I submitted the issues,
it seemed very likely that nepomuk is the culprid. More into the analysis
this is not clear anymore. 

Nepomuks should run, but only with the contact feeder.
(The fileindexer could cause problems in the past.)

My N900 suffers from a file description overflow which overshadowed everything
after a while so This issues is now about the described symptoms on kde-mobile-users that initital startup and subsequent startups can be very slow and slow down the rest of the n900.
Comment 4 Bjoern Ricks 2010-09-15 15:15:37 UTC
*** Bug 247782 has been marked as a duplicate of this bug. ***
Comment 5 Sergio Martins 2010-11-17 15:32:56 UTC
SVN commit 1198124 by smartins:

Make kmail-mobile start 2x faster (for big mail folders) by removing the pop filtering code.

In kmail-desktop i commented some stuff instead of removing, feel free to clean that cruft.

CCMAIL: amantia@kde.org
CCBUG: 246584

 M  +6 -4      kmail/kmfilterdlg.cpp  
 M  +0 -5      kmail/kmkernel.cpp  
 M  +0 -2      kmail/kmkernel.h  
 M  +5 -5      kmail/kmmainwidget.cpp  
 M  +10 -29    mailcommon/filtermanager.cpp  
 M  +1 -3      mailcommon/filtermanager.h  
 M  +0 -1      mailcommon/mailinterfaces.h  
 M  +4 -7      mobile/mail/mobilekernel.cpp  
 M  +2 -2      mobile/mail/mobilekernel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1198124
Comment 6 Volker Krause 2010-11-26 10:34:30 UTC
Application startup has been massively improved since this was reported.
Comment 7 Sabine Faure 2010-12-05 22:11:47 UTC
It is corrected now.

If Akonadi server is not already launched:
- After 7s the 'Kontact Mobile' screen appears
- After 31s Kmail-mobile main window appears

If Akonadi server is already launched:
- After 5s the 'Kontact Mobile' screen appears
- After 18s Kmail-mobile main window appears

N900, 4:4.6~20101203.1203110-1maemo1.1202581