LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2004, 11:58 PM   #16
linuxnubx
Member
 
Registered: Jul 2004
Posts: 92

Original Poster
Rep: Reputation: 15

Quote:
Originally posted by Mephisto
This won't directly help with why your install is sluggish but try "pstree" to get a better idea of your processes:

1. getty are your login terminals, by default 6 of them
2. everything under startx will be programs running in X
3. there will be a number of processes starting with k, they are different kernle processes (unless they are uner startx in which case they are KDE processes)
4. everything else is likely to be a daemon of some sort.

These are rules of thumb by the way, not 100% accurate.

Now for memory, type free and look at the second line in the "used" column. That is the amount of memory actually being used by active programs.

Finally is you X still using VESA or did you configure it for your video card. A lack of video acceleration mught be some of it.
That VESA could possibly be the one ruining my sht. How do I know if I'm still running vesa? And then how do I stop using it and use my radeon drivers.
 
Old 07-26-2004, 03:38 PM   #17
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Try going to a terminal and typing the following:

Code:
cd /etc/rc.d
ls -l |less
You'll see something like this:

Code:
-rwxr-xr-x  1 root root   893 2003-01-29 13:43 rc.4
-rwxr-xr-x  1 root root  5303 2004-06-21 09:32 rc.6
-rwxr-xr-x  1 root root  1989 2004-06-21 07:04 rc.K
-rwxr-xr-x  1 root root  7906 2004-06-19 20:42 rc.M
-rwxr-xr-x  1 root root 10324 2004-06-19 21:26 rc.S
-rwxr-xr-x  1 root root   466 2004-02-25 16:10 rc.acpid
-rw-r--r--  1 root root  1605 2004-05-29 13:12 rc.alsa
-rw-r--r--  1 root root  1032 2003-02-01 19:47 rc.atalk
-rw-r--r--  1 root root  1031 2003-09-21 12:07 rc.bind
-rwxr-xr-x  1 root root  3949 2003-12-15 13:23 rc.cups
The files that have "x" in the permissions are being started when you boot your computer. You may not be using some of them. Specifically, you probably don't want rc.atalk, rc.bind, rc.dnsmasq, rc.font, rc.gpm, rc.httpd, rc.ip_forward, rc.lprng, rc.mysqld, rc.nfsd, rc.pcmcia, rc.portmap, rc.samba, rc.sendamil, rc.serial, rc.wireless, and rc.yp. Of course, this may vary for you, depending on what services you need/want. To turn these services off, type something like this:

Code:
chmod -x /etc/rc.d/rc.bind
You'll just replace rc.bind with the names of the services that you don't want. Reboot, and you should already find less processes running.

Next up, we are going to look at another place that startup programs are also listed. Open up /etc/inetd.conf . Since you are using KDE, you can open that file up with Kate. You'll see a lot of lines that start with a "#". Those are commented out. What we are interested in is the lines that DON'T start with a "#". Those are services that are being run at start time. You need to put a "#" next to the services that you don't want/need. Which ones? Well, I personally comment out just about everything. Comment out the ones that you don't want and reboot. THere should now be even less processes running than before.

The next bit of advice, take it slow. You don't want to shut down everything and find out that your computer doesn't work. Make a couple of changes, reboot, and check things out. THat way, if something goes wrong you'll know where to start looking.

A side note, if you want to know about your memory, type:

Code:
free -m
Good Luck,

Last edited by shilo; 07-26-2004 at 03:40 PM.
 
Old 07-26-2004, 06:37 PM   #18
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
Quote:
Originally posted by linuxnubx
That VESA could possibly be the one ruining my sht. How do I know if I'm still running vesa? And then how do I stop using it and use my radeon drivers.
It would be in the /etc/X11/xorg.conf, in the "device" section what does the line that starts with "Driver" say. Based upon the number of processes you said were running at load you should also follow shilo's advice.
 
Old 07-28-2004, 03:27 AM   #19
ebit
Member
 
Registered: Jul 2004
Distribution: Slackware 10.1
Posts: 39

Rep: Reputation: 15
I boot straight into X, so the 6 login terms dont come up. No kde apps. From memory I've got

gdm-binary
gdm-binary
X
acpid
windowmaker
resiers??
xterm
bash
top

cant renember what else.

This is from a clean install of slack but with a lot of edited config files.

rc.modules OFF
rc.serial OFF
ldconfig OFF
APG ( copy & paste in term ) OFF
No checking shared fonts
No sendmail, samba, apache, ftp.
 
  


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
sluggish Mandrake 10 joshy Mandriva 6 08-19-2004 05:06 PM
Should Fedora 1 be this sluggish? lrt2003 Fedora 1 05-22-2004 01:00 AM
fc1 seems sluggish zombie_wolf Fedora 8 05-11-2004 10:40 AM
Sluggish performance w/ RH 7.3 theonlylivinggo Linux - Newbie 0 02-15-2004 08:13 PM
Sluggish Linux Kraggar Linux - Newbie 2 11-15-2001 02:01 PM

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

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