This forum has been archived. All content is frozen. Please use KDE Discuss instead.

slow performance

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

slow performance

Mon Feb 24, 2014 7:47 pm
Hello
I have laptop, CPU=2GHz Duo2Core, RAM=2GB, video card=nVidia GeForce 8600M GT, running Debian jessie (testing) and KDE 4.11.3
I'm suffering with the slowness of kde applications, for example: if i try to launch/run kde application like dolphin, konsole, kate...etc, it would take 1-2 seconds to display the window, this is fine, but sometimes it would take 5-10 seconds to display the window, the delaying happens randomly, not in a specific time,

I'm running conky, and htop, just to monitor the usage of CPU and Memory, everything is quiet, The CPU usage is 2% only, RAM is still free with more than 1200MB, Swap partition is empty 0%, HardDisk is not busy, Nepomuk is off, and Akonadi too, strange?
Do you think about kde did free the cache for kdelibs(?) and reloaded again and again?

Sorry for my bad English.
Thanks!
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: slow performance

Mon Feb 24, 2014 7:58 pm
welcome,

do applications that are not KDE also open slowly?

if you disable compositing (alt+shift+F12) does it help?


OpenSuse Leap 42.1 x64, Plasma 5.x

luebking
Karma
0

Re: slow performance

Mon Feb 24, 2014 8:50 pm
It will likely wait for some socket (X11, dbus or so) - I'd try stracing:
Code: Select all
strace dolphin 2>&1 | tee dolphin.strace

At some point it will likely halt or print tons of EAGAINs or similar.
output is copied into dolphin.strace for later inspection.
nadhim
Registered Member
Posts
5
Karma
0

Re: slow performance

Tue Feb 25, 2014 11:28 am
google01103 wrote:welcome,

do applications that are not KDE also open slowly?

Hello google01103 :)
gtk and Qt applications are not slow like kde applications, they are fast, and same speed every time.

if you disable compositing (alt+shift+F12) does it help?

i disabled compositing, it seems same performance but without desktop effects

Hint: i don't turn off this laptop usually, but i do reboot when i need it, and i have settings to turn OFF only LCD screen after 10mins,
This morning i did run dolphin and it got the delaying >5 seconds to display the window, i noticed in laptop the indicator/led for hdd became very busy (flashing the led so much within >5seconds), this problem happend without compositing when i did run dolphin.
nadhim
Registered Member
Posts
5
Karma
0

Re: slow performance

Tue Feb 25, 2014 11:33 am
luebking wrote:It will likely wait for some socket (X11, dbus or so) - I'd try stracing:
Code: Select all
strace dolphin 2>&1 | tee dolphin.strace

At some point it will likely halt or print tons of EAGAINs or similar.
output is copied into dolphin.strace for later inspection.

hello luebking
thanks for the help, what to do with dolphin.strace?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: slow performance

Tue Feb 25, 2014 11:46 am
if you run Ksysguard (system monitor application) you can add columns for IO write and IO read (right click on one of the column headers and select show column ....) and next time the delay occurs and the hdd light is busy you can see what process is causing the disk activity


OpenSuse Leap 42.1 x64, Plasma 5.x

luebking
Karma
0

Re: slow performance

Tue Feb 25, 2014 2:27 pm
He claims there was no (major) disk I/O

@nadhim
The idea was the you check what happens when the strace output stalls or starts repeating access before dolphin shows up, but if you've a strace logged (and closed dolphin right after it appeared...) you could upload it somewhere (you'll likely have to compress it - straces tend to grow HUGE) if you cannot see any long wait for resources.
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: slow performance

Tue Feb 25, 2014 3:57 pm
I have an old T61 with an Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz and 4GB RAM of which I allocated 2 to tmpfs because I've got an SSD.

I can report similar behaviour after some time of not rebooting (similar to OP). After some deliberation I realized that my swap gets busy after a number of days and that this is the cause for the apparent delays.

My rather simple solution is to switch the laptop off once a week to avoid the issue completely.

Not exactly high-tech but it works ;)


Debian testing


Bookmarks



Who is online

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