LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-16-2004, 06:07 PM   #1
proximity
LQ Newbie
 
Registered: Dec 2003
Location: vormedal, norway
Distribution: Mandrake Linux 10.0 Community. kernel 2.6.3
Posts: 20

Rep: Reputation: 0
Question How do i tweak my box? (KDE, Mandrake)


Hi!

Im running mandrake with KDE, and Im looking for good performance/tweak tips on how to make KDE faster, and give faster respons. With the setting im using now, it takes 10seconds to open konqueror. IMO, this is not acceptable. X itself takes 15megs of RAM, and i have an average systemload on over 2.0.

I have disabled all fancy stuff like transparent menus, mouse-over effects and animated windows etc. etc. etc. A normal session for me is:

Starting KDE, with a light background-image. The kicker, some desktop icons. Then i use Opera, Konqueror, Xmms, X-chat, Aterm, Kontakt. I also run an httpd-server that few people are visiting. And an ssh-server always running.

From "ps -e" Im also wondering what these processes are:
5 ? 00:00:00 kapmd
8 ? 00:00:04 kswapd0
9 ? 00:00:00 aio/0
11 ? 00:00:00 kseriod
15 ? 00:00:09 kjournald
105 ? 00:00:00 devfsd
236 ? 00:00:00 khubd
696 ? 00:00:01 kjournald
1368 ? 00:00:00 portmap
1791 ? 00:00:06 klogd
2035 ? 00:00:00 atd
2061 ? 00:00:00 smartd
2961 tty1 00:00:46 magicdev
2975 tty1 00:00:00 gconfd-2
2978 ? 00:00:05 kdeinit
2987 ? 00:32:11 fam
2998 tty1 00:00:00 kwrapper
2999 ? 00:00:00 pdflush
Is there something i dont need here? (BTW, there are more instances of kdeinit. How many kdeinit's do I need?)

Any performance/tweak tips will be greatly appreciated

Last edited by proximity; 06-16-2004 at 06:24 PM.
 
Old 06-16-2004, 09:00 PM   #2
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
How fast is the CPU and how much ram? Disabling more feature might give some added speed but I have never found KDE to be that fast. You might want to consider using a window-manager instead of a desktop environment and replace konqueror with something light-weight such as firefox. I know the mandrake cd's come with blackbox, icewm, enlightenment and probably xfce. You might want to give those a try.
 
Old 06-17-2004, 12:30 AM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
basially it's more a problem of a bloated distro -- but there is stuff to do
turn off all unused services being started at boot
you can turn off -- fam -- most likely being started by xinetd
fam and kde don't seem to get along too well
recompile kernel with optimizations (-O3) for your processor (-mcpu=)
(you have to hack the kernel Makefile)
and slimm the kernel down to only support your exact hardware and nothing else
and without filesystem debugging and whatnot can really inprove kernel i/o throuput
(use -s compiler flag and never use -g so you have no debug symbols)
you can also compile qt and kde by hand with optimizations and they will run alot better
also better to have qt/kde use external libs instaed of internal whenever possible in ./configure
don't wory about the kdeinits
basically kde and qt are single huge libraries (not millions of small libs like gnome)
so they are slow to load but once loaded at startup everything should run good
unless things are being swapped out
for size it may help to just strip the libs of debugging symbols
caution this might kill your libraries though i have never experienced that so make a backup
call
strip --strip-debug
on libqt-mt and libkde
also the gentoo linux people have been able to really improve kde load times using prelink
i can't get prelink to work on kde but i bet you can read the gentoo delopers baords and find out how they did it (or possibly your disro is doing it already but i doubt it ??)
 
  


Reply



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
Transfairing files from windows xp box to mandrake linux 10.0 box. tyledogg Linux - Newbie 4 07-25-2004 11:24 PM
Access Mandrake box from Fedora Core 1 box btexpress Linux - Networking 0 05-30-2004 07:50 PM
Want to tweak out a Redhat 9 box; how would i do it? drkmushroomz Linux - General 2 11-16-2003 05:24 AM
any good ways to tweak kde in slackware cerberus Linux - General 1 04-16-2002 08:04 PM
installed Mandrake 7.2 with Lnx4win--need tweak hwreagan Linux - Newbie 0 04-26-2001 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration