LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-30-2003, 03:08 PM   #1
viking2k4
LQ Newbie
 
Registered: Dec 2003
Location: Germany
Posts: 7

Rep: Reputation: 0
need help with KDE. everything is so slow


hi,

some days ago i installed gentoo on my laptop. it all runs fine so far but i have some problems with kde. when i start kde(kdm command in console) i get to the login screen where i can pick a user. i have two users to pick from, root and my normal work account. i enter my pass and continue to login. the small kde window opens and there my problem begins. the initialization is very slow. when its done, i get to the normal kde desktop. now when i select a program from the startmenu (it doesnt matter which program i choose its the same with all) it takes ages to load. a simple calculator needs ~20-30 seconds to load. during the program start there is the windowname in the taskbar with a small sandglas turning and turning. i have the impression that actually nothing is happening cause the hd-led is not blinking. after some time(20-30 secs) the hd-led blinks and the program opens. does anyone have a clue how to speed this up? i doubt that this is normal cause on other pcs running kde i have never seen something like that.

My system:

Dell Inspiron 8500
2,2GHz
1Gb Ram
40Gb HDD (5Gb partition for linux)
Resolution: 1920x1200

thx in advance
 
Old 12-31-2003, 01:45 AM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
do you have dma enabled,
it is unlikely to be anabled by default

at a terminal as root type

hdparm -d /dev/hda

this will tell you if dma is on or not
if it isn't

hdparm -d1 /dev/hda

will turn it on
same for cdroms
if this is the problem, then add

hdparm -d1 -c1 -k1 /dev/hda

(-c1 switches 32bit support on and -k1 keeps settings even if the drive is told to reset)

and so on, to the end of the /etc/rc.local file
 
Old 12-31-2003, 02:55 AM   #3
viking2k4
LQ Newbie
 
Registered: Dec 2003
Location: Germany
Posts: 7

Original Poster
Rep: Reputation: 0
it seems that this isnt the problem, when i type:

hdparam -d /dev/hda

this is what i get:

/dev/hda: using_dma = 1 (on)

so it seems to me it is enabled....maybe you have another suggestion.
 
Old 12-31-2003, 03:59 AM   #4
viking2k4
LQ Newbie
 
Registered: Dec 2003
Location: Germany
Posts: 7

Original Poster
Rep: Reputation: 0
i just read something about a problem with qt which can cause this slow program loading, can someone tell me what qt is used for? im currently doing an "emerge qt" maybe it helps....
 
Old 12-31-2003, 04:06 AM   #5
viking2k4
LQ Newbie
 
Registered: Dec 2003
Location: Germany
Posts: 7

Original Poster
Rep: Reputation: 0
it really seems that the qt update did it, kde is now blazing fast!
 
Old 12-31-2003, 04:25 AM   #6
viking2k4
LQ Newbie
 
Registered: Dec 2003
Location: Germany
Posts: 7

Original Poster
Rep: Reputation: 0
as it seems it was just a one time thing....after ~30minutes the prgrams are as slow as before
 
Old 12-31-2003, 10:14 AM   #7
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
Memory useage is my guess (in that it's capable of running faster)...

Reboot your computer - using a text console (before login, but immediately after turning on your computer) check your memory (memory statis in "top" will be sufficient). Go back to your graphical login screen login - do whatever, but keep checking your memory usage. Does it go much lower when your computer starts to slow down?

If it had never sped up at all (and this still may help) I would suggest checking that your video card specific X driver is loaded. (This helped a lot on my Celeron Toshiba Satelite) - but not as much as I had hoped.
 
Old 01-01-2004, 06:37 AM   #8
viking2k4
LQ Newbie
 
Registered: Dec 2003
Location: Germany
Posts: 7

Original Poster
Rep: Reputation: 0
ok here is what i got:

after reboot

tasks 23 total, 1 running, 22 sleeping, 0 stopped, 0 zomie
cpu(s) 0,0% user, 0.0% system, 0.0% nice, 100.0% idle

mem 904396k total, 34568k used, 869828k free, 2164k buffers
swap 514072k total. 0k used , 514072k free. 19676k cached

after kdm

mem 904396k total, 82632k used, 821764k free, 3592k buffers
swap 514072k total. 0k used , 514072k free. 47888k cached

after login

mem 904396k total, 150636k used, 753312k free, 6076k buffers
swap 514072k total. 0k used , 514072k free. 708892k cached

for tasks and cpu the results dont change much, so i didnt list them.

for me it seems there is enough free ram, but i dont know what those big increase in the swap section for cached means.
after i logged in i had the same effect as usual, a simple console needs around 20-30 secs to open.....
 
Old 01-01-2004, 09:41 PM   #9
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Try updating KDE to 3.1.4 and see if that helps. I had a similar problem with my 500mhz DELL Latitude laptop the other day. I found that I had a service that was not enabled at boot time that was causing other services to delay in which caused (what seemed to be) a mem problem. In my particular case, it was that I had a "Internet" service enabled at boot but the "Network" was not. Since I have a router hooked to my cable modem (and not a direct line), I need both to start at boot...(at least that's my interpretation)
 
  


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
kde is too slow alaios Linux - Software 10 05-13-2005 02:04 AM
Everything is slow!! How come? Using KDE... Fatch_R Debian 9 02-18-2005 04:56 PM
why KDE 3.3 is slow? hubabuba Linux - General 7 11-16-2004 10:06 AM
Slow, slow KDE with network connected bglad Linux - Software 0 10-27-2004 10:54 AM
Why is KDE so slow? ebenh Linux - Software 13 08-28-2004 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:55 PM.

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