SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm not sure why your system is using so much memory, but it looks like that's the reason why your performance is so slow. (800 MHz is more than decent.)
I find it curious that your system is using NO swap space. Do you have a swap partition? (Assuming you do.) I would recommend reformatting it. I recall seeing something about this posted here, probably in that (now huge) kernel 2.6 thread. As root:
mkswap /dev/<swap partition - you can get this from /etc/fstab>
(may require a reboot - I don't know)
Regarding cutting down demand on your memory, check out /etc/rc.d to see if there are any things in there you can do without and chmod -x them (eg. bind,sendmail). You can also look in /etc/inetd.conf to see if there are any items you can do without (eg. ftp).
Don't worry about the high ram usage. Linux handles ram quite differently than, say, Windows. Lots of stuff gets cached there, which is a good thing. What good is ram if things aren't already loaded up into it in the first place for them to load faster?
The kernel aggressively flushes memory out if you need it, so to have most of it filled is neither unusual nor detrimental to system performance. See the "Memory Management" section of here: http://www.tldp.org/LDP/tlk/tlk.html.
As to the high drive access I have no idea. All I know is, your ram and processor are fine. If you're really worried about performance, might I suggest switching windows managers? KDE and gnome can be kind of bloaty, which is being worked on but future progress means nothing to people who want things now. I personally use fluxbox, but you can check out the alternatives yourself with the command xwmconfig.
First of all, your computer seems more than adequate to run Slackware correctly. I wish I had a computer as powerful as yours...
I suspect that the NVidia driver for your GeForce2 is buggy and/or out of date. Try updating it. Make sure the driver is compatible with a 2.6.x kernel, as this can slow things down.
Like 'major.tom' recommended, you should also check if you are running unnecessary services. Make sure your /etc/rc.d/rc.* files do not start things like Apache or Sendmail, which can require a lot of CPU cycle.
I deleted the user 'tom' and re-added it which seemed to help (clearing out the KDE config files etc). Now the top command shows less memmory usage.
I suspect you are right with regards to the Nvidia thing. The module was compiled by the installer program as it said that no module was availlble to match my kernel (which i built myself). I guess there is not much I can do about this. Turning off some off the graphical stuff in KDE has helped too.
I'm not sure about turnig off services to be honest. I presume I have to comment them out in the files you are talking about. The swap seems to be working. I guess KDE is quite a large for this older PC. I have just put slack on a 2.4ghz, 0.5gig ram, 120mb HD (8mb cache) machine and it is VERY fast
So any advice on turning off services? I also tried to put slack on a 400mhz dell latitude craptop but it crashes when loading up. Is it worth even bothering with this awful dell doorstop?
PS, how do you get the KDE volume control programme? I had it in kde 3.2.2 but it's not there in the new one. Is is a sepertate programme. I want to turn the radio down.
Is Dropline Gnome 2.6.1 worth considering? My other PC is pretty fast.
Noryungi, what are you running it on? Do you use KDE.
Thanks for your help.
Still have 2 zombies tho! but my konsole throws up errors about not finding certain fonts.
oh it never rains.
#To be, or not to be: that is the question:
#Whether 'tis nobler in the mind to suffer
#The slings and arrows of outrageous fortune,
#Or to take arms against a sea of troubles,
#And by opposing end them?
To turn off services, just take a look at the files in the /etc/rc.d/ directoryn that are named rc.inet1, rc.inet2, etc...
They contain a lot of comments and indicate when services are launched. Make sure you take your time and read the information. Then, simply put a '#' (pound) sign in front of the services you'd like *not* to be started.
Then, do a /etc/rc.d/rc.inet1 'restart' (for instance) to stop the services. That should do the trick. Hope this helps!
Well, I tried doing chmod -x <module name> on things like sendmail. But somehow this turned off the networking side of things. It's a bit wierd as, I didn't modify the inet1, inet2 etc files and these seem to be the ones to do with networking. Should I be going into them and modifying the text (using # as you mention)??
I don't want sendmail. etc, running, as they slow the machine down. Anyway, after compiling all the new kernel and getting kde 3.2.3, I have wiped it off and put it on the first disk of the computer, which is much faster. I think in my learning process I have steadily screwed it up. But at least I know what the pitfalls are now. I am going to run this PC on dropling gnome I think and the one I am writing on now (the 2.4ghz) on KDE, with all the bells. I might have slack again on both machines as a test bed. I might also try Gentoo.
Thanks for the tips with hdparm etc. I will investigate. So basically am I right doing chmod -x? or should I be looking to blank out certain things? For anyone who is interested, Slackware on a 2.4ghz is seriously fast :-)
I quess I still have plenty to learn. I like slack, but it is making me work. Now I have to build new kernel download and configure gnome/kde and twice over............ Then alsa, samba, maybe NFS....