This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

launching kde apps slow especially from a terminal

Tags: None
(comma "," separated)
User avatar
aapgorilla
Registered Member
Posts
247
Karma
0
OS
Launching apps always seems to have been a bit slow in kde (both kde3 and kde4) especially when launched from a terminal. I always see a lot of info being spit out in the terminal and wonder if the slowness has something to do with this and whether or not this can be turned off (compile option). As far as I know I am not using kde packages with debug turned on.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
When compiled in release mode, that output is "warning" output only usually. It is not possible to disable it, and it is not a likely cause of the slowness. I do not know why the applications may start more slowly, unfortunately.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
aapgorilla
Registered Member
Posts
247
Karma
0
OS
My neither, but there is a marked difference in startup from terminal and from a normal launcher or the menu eventhough normal startup is a little bit slow too on older machines, so I figured it had something to do with all this output maybe it's just normal loading of libraries.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It is possible that more applications ( and their libraries ) have to be kept in memory when launching applications from the terminal, where as less with the user interface.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Ahmad Samir
Registered Member
Posts
127
Karma
0
OS
Cooker or stable releases? or both?
User avatar
aapgorilla
Registered Member
Posts
247
Karma
0
OS
always this is not even a kde4 regression
User avatar
Madman
Registered Member
Posts
593
Karma
1
OS
The only apps that start slow for me are Amarok (which isn't even that slow - the splash screen is up for 5 seconds at most) and Kontact (which I suspect is slow because of the loading of its modules - individual modules, like KMail, start markedly faster). Konqueror, Kopete, Konsole, Gwenview and KOffice apps all start about half a second after I click them, which seems to be a damn-sight faster then Gnome on the same hardware.

Which begs the question - what's the hardware of your machine like?


Madman, proud to be a member of KDE forums since 2008-Oct.
User avatar
aapgorilla
Registered Member
Posts
247
Karma
0
OS
on my faster computer c2d clicking an an app launches within a second, from terminal about 3 seconds on my slower computer (p4) it takes about 3 secs to launch when clicking, 7-8 secs from a terminal but I wouldnt consider a p4 2.4 GHz particularly slow actually...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Are standard X applications affected by the same slowdown? You can try with applications such as "xterm"


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
aapgorilla
Registered Member
Posts
247
Karma
0
OS
no they're fast
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Interesting. Are Qt applications such as Quassel or Psi affected?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
aapgorilla
Registered Member
Posts
247
Karma
0
OS
quassel is kinda slow but opera and qtconfig are quick, also I have to note subsequent launches are faster, so part of the problem seems to be loading libraries, still launching from the terminal is slower
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unfortunately I do not know why this occurs. It is likely libraries loading, but why KDE applications take longer with the terminal is unknown. It may be related to kDebug / kWarning however, which are part of KDELibs.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
aapgorilla
Registered Member
Posts
247
Karma
0
OS
it's definitely related to the amount of blurn they spit out in the terminal, kwrite is particularly bad but dragon player a lot faster. I stick with my conclusion the amount of blurb apps spit out makes them proportionally slower and these symptoms are worse when launching from a terminal.

Really you can see it happening, launch app, blurb...blurp....blurp....blurp stops, app apears
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You may wish to file a report at bugs.kde.org for this. You may wish to run "kdebugdialog" and disable everything which should reduce that output.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]