LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-24-2010, 12:13 AM   #1
j_kubik
LQ Newbie
 
Registered: Aug 2010
Posts: 16

Rep: Reputation: 1
self compiled KDE 3.5.10 eats whole CPU power


I am compiling LFS system, and i have compiled KDE 3.5.10 ( stable LFS suggest 3.5.9, but kde.org doesn't share it anymore). Everything went fine, but after i started kde the whole processor power was shared equally by kdesktop, kicker and kded. Additional kde-based programs like kate also eat as much processor as they can, when started. Strangely enough, konsole works quite well.

Except huge performance loss everything seems to work quite fine. There are no system log entries that i could relate to this problem.

I tried to ssh with X-tunneling from a different computer to check if it's not a fault of X-server. However, newly started kde was still eating CPU power. In reverse case (ssh connection from my computer to another one) everything was fine - i guess my X server has it's alibi then

Now i am thinking about either trying to compile kde 3.9 and see if problem remains, or recompiling kde 3.10 with debugging symbols and trying to figure out what it is doing all the time. As both compilations are quite time-consuming, i don't know which option is better.

What else I could do to find a source of this problem?

Last edited by j_kubik; 12-29-2010 at 12:21 PM.
 
Old 12-24-2010, 12:29 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,988

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
Not like I can help you with issue, but you need to post
make & model
cpu, mem

But I will tell you if you have limited resources, you will have even less when using remote.
 
Old 12-24-2010, 01:26 AM   #3
dE_logics
LQ Newbie
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 19

Rep: Reputation: 1
Maybe your compile time parameters were wrong.

Why not try Gentoo which (I think) still supports KDE 3 but in forms of overlays.
 
Old 12-24-2010, 09:16 AM   #4
j_kubik
LQ Newbie
 
Registered: Aug 2010
Posts: 16

Original Poster
Rep: Reputation: 1
make & model?

About my pc - it is Athlon 2000+ (1666MHz) + 1GB RAM - on my old ubuntu kde 3.5.10 works much quicker, and doesn't need almost any CPU power when doing nothing.

Quote:
Why not try Gentoo which (I think) still supports KDE 3 but in forms of overlays.
Yes but for how long will they support it? I want to keep using KDE3 at least for several years...
 
Old 12-24-2010, 09:39 AM   #5
dE_logics
LQ Newbie
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 19

Rep: Reputation: 1
Quote:
Originally Posted by j_kubik View Post
make & model?

About my pc - it is Athlon 2000+ (1666MHz) + 1GB RAM - on my old ubuntu kde 3.5.10 works much quicker, and doesn't need almost any CPU power when doing nothing.



Yes but for how long will they support it? I want to keep using KDE3 at least for several years...
Gentoo is a source based distro. The maintainers don't have to maintain it, it maintains itself.

If the new GCC can't compile the old KDE you can install GCC 3.x which's still in the official Gentoo tree, and best of all, you can install multiple versions of GCC and even choose which one to use. I think Gentoo is the only distro to have this capability.
 
Old 12-24-2010, 11:40 AM   #6
j_kubik
LQ Newbie
 
Registered: Aug 2010
Posts: 16

Original Poster
Rep: Reputation: 1
Quote:
Gentoo is a source based distro.
So is LFS - i compiled every piece of software i have
KDE compiled well, so i don't know if the problem is related to gcc. When i am out of options i will try older one.
 
Old 12-24-2010, 11:53 AM   #7
dE_logics
LQ Newbie
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 19

Rep: Reputation: 1
Quote:
Originally Posted by j_kubik View Post
So is LFS - i compiled every piece of software i have
KDE compiled well, so i don't know if the problem is related to gcc. When i am out of options i will try older one.
But Gentoo has a package manager (rather the most powerful available in the industry) so you don't have to declare gcc flags every time you compile. Passing options is also made a piece of cake.

You should try it out you know, it'll be a lot easier than LFS but as powerful and customizable.

Here we go -

http://gpo.zugaina.org/kde-base/kde-desktop
 
Old 12-25-2010, 03:12 PM   #8
j_kubik
LQ Newbie
 
Registered: Aug 2010
Posts: 16

Original Poster
Rep: Reputation: 1
Quote:
Maybe your compile time parameters were wrong.
I used only the ones from BLFS instructions

Quote:
Originally Posted by dE_logics View Post
But Gentoo has a package manager (rather the most powerful available in the industry) so you don't have to declare gcc flags every time you compile. Passing options is also made a piece of cake.

You should try it out you know, it'll be a lot easier than LFS but as powerful and customizable.

Here we go -

http://gpo.zugaina.org/kde-base/kde-desktop
Perhaps it is a better idea - however i already have complete LFS system and i don't want to rebuild another one - and there is no guarantee that in newly built Gentoo the problem will reocurr. If i will rebuild my system again in the future, i guess i will give it a try.

For now i am looking for a solution to my kde-problem.

EDIT:

I found a rason. After reompiling and debugging i discovered that file alteration monitor library was spamming kde with alteration notifications. Strangely enough, I don't even remember instaling libfam... after removing libfam from lib/include dirs i recompiled again, and now it works perfectly.. Hope kde will be able to get file alterations only with INotify.

Last edited by j_kubik; 12-29-2010 at 12:21 PM.
 
  


Reply

Tags
kde3, loss, performance


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cyrus IMAP pegs processor and slowly eats resources digitolx Linux - Server 2 04-07-2010 03:21 PM
Kde 4.2: Qt compiled without support for -fvisibility=hidden veeall Slackware 4 02-05-2009 08:33 PM
KDE start menu breaked on a self-compiled KDE kleag Mandriva 3 09-01-2005 09:17 AM
no prompt in Konsole or su in KDE on compiled 2.6.8.1 martinp26 Linux - General 19 09-21-2004 09:21 AM
Cant get console prompt or su in KDE on compiled 2.6.8.1 martinp26 Linux - General 3 09-02-2004 11:04 AM


All times are GMT -5. The time now is 04:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration