Bug 200992 - extreme slow startup of some programms
Summary: extreme slow startup of some programms
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 15:28 UTC by David Goller
Modified: 2009-12-04 18:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the sytemtray, before the programms work normal (5.90 KB, image/png)
2009-07-21 15:33 UTC, David Goller
Details
the sytemtray, then everything is normal (8.04 KB, image/png)
2009-07-21 15:37 UTC, David Goller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Goller 2009-07-21 15:28:47 UTC
Version:            (using KDE 4.2.96)
OS:                Linux
Installed from:    SuSE RPMs

first, i'm not sure, if it is realy a bug of plasma.
then i start the pc (and kde) some programms need some minutes to start, for example konqueror (after konqueror has startet it freezes again for some minutes then typing the first letter in the adressbar) and kmail, other programms start normal like konsole and firefox.

then killing the x-server after the first start of kde and restart kde the programms start normal (this way is much faster as waiting)

i think, the bug is in plasma, because the arrow to expand systemtray comes then konqueror works normal.

i use opensuse 11.1 and kde 4.2.96
Comment 1 David Goller 2009-07-21 15:33:24 UTC
Created attachment 35513 [details]
the sytemtray, before the programms work normal
Comment 2 David Goller 2009-07-21 15:37:00 UTC
Created attachment 35514 [details]
the sytemtray, then everything is normal
Comment 3 Dario Andres 2009-07-21 15:53:24 UTC
Is Kmail always executed on the start of the session ? Can you disable it just for testing ? Thanks
Comment 4 David Goller 2009-07-21 16:11:21 UTC
no, i start it manually
Comment 5 Dario Andres 2009-07-21 16:19:08 UTC
Can you try this:
- After Plasma/the KDE session starts, launch Konsole, type "kquitapp plasma-desktop" and press Return. Plasma should close. Now you can try to launch some application and see what happens.
Also, - when this problem appeared? - what is the cpu usage during the startup ? (is some application using too much CPU? you can find this using the shell program "top" or just "ksysguard")

Thanks
Comment 6 David Goller 2009-07-21 19:19:11 UTC
well, this doesn't change anything, the cpu usage is low
Comment 7 Dario Andres 2009-07-21 19:23:31 UTC
- When this behaviour started? Thanks
Comment 8 David Goller 2009-07-21 21:30:15 UTC
i'm not sure, i think it started after the update from 4.3beta1 to 4.3beta2
Comment 9 FiNeX 2009-07-21 23:53:34 UTC
I've the same behaviour since some weeks, maybe more than one month... I've never reported because I can understand some slow behaviour on a "trunk" version :-)

kde starts, plasma starts, I launch some apps (with krunner)... the systemtray is empty, konqueror or firefox (started with krunner) needs some time... after a bit the systemtray apps are all visible, and all software starts fine.

after the desktop, plasmoids and panel have been started, the system needs from 30 to 60 seconds to be really usable (CPU E8500 with 4Gb of RAM).

bye

P.s: I start kmail manually too (because it doesn't start automatically :-( ).
Comment 10 Dario Andres 2009-07-22 16:28:53 UTC
Mh.. It also takes me some seconds to get an "usable system", but not that much, even with a less powerful computer (Celeron1.8ghz,1Gbram)

Some questions:
- Does the KSplash screen takes a lot of time ? (here it takes some time; may be you are not spending that much time on KSplash but in the initialization later )
- Between Plasma starts rendering and the applications you launched start to be responsible, what other symptoms do you have? (you said there was no CPU full usage, but, what about disk activity, some other programs loading in background, maybe Nepumuk/strigi indexing files) ?
Comment 11 David Goller 2009-07-22 16:44:54 UTC
i have a pentium m 1,5ghz, 1gb ram - not really fast, but i think that should be enough.
it is really slow, in the time to get a usable system, i normaly can start the pc about 3 times.

-ksplash needs some time, but not much more than in kde3
-the disk activity is also low, strigi is enabled, but it was the same when disabled.
Comment 12 FiNeX 2009-07-22 17:14:54 UTC
On my system the kspash needs about 20-30 seconds. I've got no strigi/nepomuk/akonadi enabled and the disk activity seems low.
Comment 13 Dario Andres 2009-07-22 17:17:34 UTC
Any plasmoids that might require internet access? is there a possibility to check with a clean user account ? (creating a new account just for testing)?
Comment 14 David Goller 2009-07-22 17:45:12 UTC
i don't think, that one of the plasmoids require internet access.
using a clean user account doesn't change anything
Comment 15 FiNeX 2009-07-22 18:03:03 UTC
Since today kmail has been keep starting on startup yeah... one bug less...

anyway, I've just re-tested with a clean user account. the splash screen needs 10 seconds to displays all 5 icons, and other 20 seconds to disappear (30 seconds in total), but after the system is quite reactive. 

instead, my user account needs some more time to loads all the applications and plasmoids (only one is connected to the network: microblogging). 

if I logout and re-login with my user account, the splash needs only 10 seconds and all apps starts almost immediatly.
Comment 16 Dario Andres 2009-07-22 18:25:53 UTC
Mh... that happens because all the KDE libs are already cached/loaded in memory I think. so you should test everycase after starting/rebooting the PC.
Comment 17 David Goller 2009-07-22 18:42:54 UTC
that's not all, as i write in my first post, it is much faster to get an usable system when i kill the x-server after the first startup of kde (after the reboot) and restart it than waiting.
Comment 18 David Goller 2009-07-23 11:34:10 UTC
same with kde 4.2.98
Comment 19 David Goller 2009-08-04 22:05:00 UTC
Under kde 4.3.0, i tested some programms (dolphin, kmail, konsole, konqueror) after startup, konqueror is still extreme slow. The other programms do not really start fast, but much faster than konqueror it still needs some minutes.
Comment 20 Dario Andres 2009-08-04 22:12:09 UTC
Do you have the loopback device enabled? ("lo") ? Thanks
Comment 21 David Goller 2009-08-04 22:22:09 UTC
Yes, it is enabled
Comment 22 David Goller 2009-09-03 11:03:39 UTC
i still have the problem with kde 4.3.1
Comment 23 Marvin 2009-09-05 18:51:00 UTC
same problem here. it takes about 1-2 minutes from kdm to a reactive system. disk activity is high, of course, it's loading a lot of libraries. but should/must kde load all/so many libs at startup?

archlinux: kde 4.3.1, qt 4.5.2, kernel 2.6.30.5

@all with same problems: please vote!
Comment 24 David Goller 2009-11-12 19:17:30 UTC
with kde 4.3.3 it is ok now
Comment 25 Dario Andres 2009-12-04 16:21:48 UTC
@FiNeX: can you confirm this too ? Thanks
Comment 26 FiNeX 2009-12-04 18:09:58 UTC
KDE 4.3.4 and trunk seems quite better than 4 months ago :-)

I think we could consider this bug gone.
Comment 27 Dario Andres 2009-12-04 18:17:34 UTC
Bye bye report...