LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-26-2010, 03:25 AM   #1
khaleel5000
Member
 
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Rep: Reputation: 31
Debian sid going 'slow'


Hello, i have debian Sid, for past 1 to 1.5 months, i have observed that it has become very slow, in loading programs, opening documents etc. Where should I start looking?

Info:-
System :- HP DV5 1215Tx Laptop, 2.1 ghz c2d , 500gb WD 5000 bevt harddisk, Nvidia 9600 GT, 2 gig ram .

kernel version 2.6.32-4-686
Drivers : I use NVIDIA drivers, version 190.53.

Network:- I use wired DSL WIFI available but Not in use, nor is bluetooth etc.
System is not connected to any other network .

Use :- internet, music, movies.

Display manager :- KDE 4.3.4

Desktop effects :-None, Disabled.

My question is , where and how should I start looking?

PS I am a linux user for quite a long while.It has been my Only OS for about 4~5 years.But for last 1/2 years because of my studies, i have been out of 'touch' with its commands etc,but willing to dive back in and to stuff on my own, looking for direction here.
 
Old 06-26-2010, 07:48 AM   #2
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
Have you been doing regular updates?

If you are running sid.. then unless you REALLLY stay on top of things (like bug reports, etc.) then you are looking for trouble.

Do you use apt-listbugs??

From my understanding, I *think* Kde 4 is still quite riddled with bugs (some serious).

Try Gnome or Windowmaker..etc.. and see if there is a difference.

Also try a live cd that is good.. to verify it is not a general problem with your computer.

Install Webmin and see if there are any services/servers that should not be running.

Lettuce know
 
Old 06-26-2010, 01:37 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
1) DO not install webmin for any reason

2) When was the last time you did aptitude update; aptitude full-upgrade

3) KDE4 is fine.

The nvidia driver you are using had major issues upgrade to the latest nvidia drivers.

Where did you get 2.6.32-4 kernel? Sid went from 2.6.32-3 to 2.6.32-5.

Make sure you have apt-listbugs and apt-listchanges installed. Updated regularly at least once a week.

Try installing prelink and preload. After installing prelink edit the file /etc/default/prelink as root and Change where it says "PRELINKING=unknown from unknown" to "yes". Then in a terminal as root run prelink -avRm and sit back and wait for it to finish.
 
Old 06-26-2010, 07:42 PM   #4
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
Thumbs down

Quote:
Originally Posted by craigevil View Post
1) DO not install webmin for any reason

2) ....
Why would you tell anyone not to use an administrative tool as excellent, easy and thorough as Webmin.. other than to be argumentative.

Please don't bother answering.. I am merely pointing out your absurdity and being irrational, in dealing with someone who is trying to learn Linux.

Last edited by halvy; 06-26-2010 at 08:41 PM.
 
Old 06-26-2010, 08:17 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
Originally Posted by halvy View Post
Why would you tell anyone not to use an administrative tool as excellent, easy and thorough as Webmin.. other than to be argumentative.

Please don't bother answering.. I am merely pointing out your absurdity and being irrational, in dealing with someone who is trying learn Linux.
before telling someone to install a package that is meant for use on a server and not on a desktop you should find out a bit about it.

Ask anyone in #debian about webmin they will all tell you not to use it.

From the dpkg bot in #debian:
Webmin is a lame web-based interface for unsafe system administration for Unix. Check it out at http://webmin.com/ Remember, dondelelcaro *hates* webmin. "i'd rather sit on the floor shoving table knives into live electrical outlets than run webmin on an exposed server." See
http://bugs.debian.org/343897 about the removal from Debian. Don't use their .debs, they are of extremely poor quality.

In case you are wondering who "dondelelcaro " is, he is a Debian dev.
 
Old 06-26-2010, 09:58 PM   #6
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
The desktop-environments usually come with a gui-tool which list the services and allows to enable/disable them. Debian ain't that much of them running per default, so that shouldn't be the problem anyway.
Else there would be sysv-rc-conf.
Not much need for webmin for that...but each to his own.

I too would try a different window-manager to hunt down the source of the problem.
I too would install preload (and, perhaps, prelink too).
Have a look at the output of "htop".

Last edited by j1alu; 06-26-2010 at 10:00 PM.
 
Old 06-27-2010, 03:05 AM   #7
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
j1alu, preload/link sound awesome.. thanx for the info
 
Old 06-27-2010, 11:50 AM   #8
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
Originally Posted by halvy View Post
j1alu, preload/link sound awesome.. thanx for the info
Just to be honest: originally craigevil posted it, and i just confirmed.

You might want to check this thread from forums.debian.net:
http://forums.debian.net/viewtopic.php?f=20&t=40654
especially some of the links given there.

Bout the: "how-to speed up boot and responsiveness" by julian67:
I followed it once, it didn't help much and i ran into some trouble.
Its long ago and i can't remember exactly. If you want to try it be prepared and take care.
All the other tips work like a charme (for me).
In the forums.debian.net how-to section is a how-to about the liquorix-kernel. Might be worth a try too.
 
Old 06-27-2010, 01:29 PM   #9
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Rep: Reputation: 45
I had this problem and found that KDE had installed some resource intensive stuff that I do not use.

Broadly speaking I tackled the problem this way:

Code:
ps -A         (As root)
See what's running. Correlate this with what SysInit is loading. Read the docs and then start pruning from KSysV.

The biggest culprit was Nepomuk. Busily indexes everything.

When you come to uninstall packages you will very likely run into the problem that a large number of packages want to be uninstalled too. To get around this you will need to uninstall the metapackages that create these dependencies. This will not remove any software, just the "artificial" dependencies.

I think you'll find that after doing this your system will spring to life again. It's sad that the KDE team have decided what's good for us and stuffed up the system with what they believe we all should run.

Good Luck.
 
Old 06-28-2010, 08:31 AM   #10
khaleel5000
Member
 
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Original Poster
Rep: Reputation: 31
thanks guys, i have updated my sid, it wasnt done for *quite * a while.
I also followed the links (debian forum one) to tweak it, i am testing it now, it does feel better but still ,
when I say play a movie, VLC opens up immediately but there is about 10~13 seconds delay after which it loads movie,
kaffeine takes up about 20 secs to load up and play movie,
ktorrent takes about 1 minute
opening my home folder takes about 25~30 seconds !

Is it 'normal'?
if not any suggestions ,which WM to install which will give the best comparision to see if its WM related issue or some other? since all i have ever used is KDE (i tried gnome in my 'infant' years but that was LOONG aga)

Last edited by khaleel5000; 06-28-2010 at 08:33 AM. Reason: added "normal" comment
 
Old 06-28-2010, 12:10 PM   #11
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
1. Make an empty new directory ~/.compose-cache
2. Start a KDE application which has a text input widget (anything with a line edit or editable combo box will do)
3. Check ~/.compose-cache, it should now have a file in it whose name is a long string of numbers

All being well, your Qt/KDE/Gtk applications should now start up 50-150ms faster.

HowTo Speed Up Boot & Increase Responsiveness (Desktop) - http://forums.debian.net/viewtopic.php?f=16&t=31275

If kde is being too much of a pain you might give LXDE a try the layout isnt much different than kde's.
 
Old 06-28-2010, 11:43 PM   #12
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
I would say: No, this is not normal. You got good specs and kde should run just fine.
Au contraire: it sounds really horrible.

I barely know lxde, but it might be a good choice.

Fluxbox, icewm or openbox (the wm of lxde) might be choices.
Check if you got the same problem when opening kde-apps.
Check if you got the same problem when opening non-kde-apps.

I used fluxbox for a while with kde-apps. It did work quite well, but of course its complete layout is different.
Icewm or openbox might be the better choice.
Anyway: i have thought to do this as a test, if the problem is kde-related or more general. Not to completely remove/replace kde.

I have come to like xfce very much. But that would be a step away from kde.

This, my post, have been some additional proposals. The idea with lxde is fine (as far i can tell).

########################################
If it was me first of all i would remove kdm and start X with startx.
If that doesn't help, in the long run, re-installing it is no biggie.

Last edited by j1alu; 06-28-2010 at 11:46 PM.
 
  


Reply


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
does Debian Lenny/sid support Debian Sarge Binary Installer..? @nthoon Debian 1 06-14-2009 10:47 AM
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 10:44 AM
Slow Gnome-2.22 on Debian Sid :-( deepclutch Debian 4 04-11-2008 04:26 PM
Debian Etch to Sid? How Stable is Sid? xxAlk3XKidXx Debian 28 02-25-2007 06:32 PM
What our the differences between debian (Sid) and knoppix 3.4 (Sid)? maximalred Debian 6 06-06-2004 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:34 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