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.

KDE performance

Tags: None
(comma "," separated)
GDR!
Registered Member
Posts
5
Karma
0

KDE performance

Wed Mar 26, 2014 12:50 pm
I'm experiencing KDE freezes all the time.

For example, I click on an icon on the taskbar and it reacts (activates the window) after a minute.

Otherwise my system is performing well, if I switch tasks using alt-tab it works instantly. System load is low, there's now iowait (ssd), plenty of free RAM. I did not remove akonadi/nepomuk yet, but they don't seem to use too much CPU.

If I click on anything on the desktop or taskbar, I sometimes wait for a minute. I already removed all plasmoids from the desktop because I suspected they may be slow.

My question is: How do I debug it? Are there any tools to examine in which part of code KDE spends time? If KDE was a multi-process system I'd use top but it won't really help me tell which part of Plasma is taking too much time.

I'm not looking for help with my particular system, I'm looking for a general way to solve KDE performance problems.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE performance

Thu Mar 27, 2014 7:34 am
Unfortunately there is no "general" way to solve "problems" as they depend on the specifics of the problem at hand.
In your case I strongly suspect you're using a proprietary driver - likely Nvidia?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
GDR!
Registered Member
Posts
5
Karma
0

Re: KDE performance

Thu Mar 27, 2014 9:32 am
No, I'm using an Intel chipset running on i915 kmod.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KDE performance

Thu Mar 27, 2014 10:26 pm
It may be as well an issue of the video drivers: what distribution are you using? One of my machines runs 4.13 beta (a rather slow dual core netbook with i915) and I've yet to see any freeze.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
GDR!
Registered Member
Posts
5
Karma
0

Re: KDE performance

Fri Mar 28, 2014 11:36 am
I highly doubt it's a video driver issue, everything but KDE works quickly (even Kwin, if I don't use the taskbar or desktop, the animations are smooth)

It wasn't like this out of the box, it could be some change I made, but I need a way to find out what's going on other than rm -rf ~/.kde4

Linux Mint 15 Olivia
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE performance

Sat Mar 29, 2014 10:51 pm
What form of Intel graphics are you running? Depending on the version of the driver you're using, and the parameters it is set to use (which some distributions could be patching to enable) the Intel driver can be unstable.

To eliminate any form of KDE related configuration, please try a new user.

As for why it appears to perform extremely well, but then freeze - the driver could be inducing a deadlock within the GPU, which then causes the GPU to be reset - which would explain why the issue corrects itself.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
GDR!
Registered Member
Posts
5
Karma
0

Re: KDE performance

Tue Apr 01, 2014 9:24 am
I just went the other route - tried running KDE over VNC, same user, same configuration. It freezes.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE performance

Wed Apr 02, 2014 8:21 am
As requested - please try a new user account to eliminate any configuration related causes.
Also, please perform an exact timing of the freeze.

Finally, how did you access it via VNC? Depending on how it was done, the system may still have been using the primary GPU - exposing you to the same cause of the freeze.


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


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]