LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2003, 12:14 PM   #1
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 255

Rep: Reputation: 35
Question system fast enough?


hi there everyone,

First I've got to tell you all, LINUX is soo damn sweet, I really love it!

I'm currently in the process of trying to make my system faster and would like to get some ideas and help from y'all.

System Specs:
Intel Pentium 4 1.3 Ghz
RAM: 512 RDRAM (I know, I know, wish it was DDR)
Vid card: Geforce 2 MX 400
3 HDDs:
1)
Seagate Barracuda ATA IV ST380021A
Capacity:80 GB
Speed:7200 rpm
Seek time:9.5 ms avg
2)
WD Caviar WD600BBRTL
Capacity:60GB
Speed:7200 rpm
Seek time:8.9 ms avg
3)
IBM DESKSTAR 120GB
Capacity:120GB
Speed:7200 rpm
Seek time: 8.7 avg

(sorry for all detailed info, but better to post now before someone asks for the specs )

OK, I already switched to fluxbox which is really a lot faster than GNOME -SPEED INCREASE

Whenever my system is up, I see that I have 62 processes running - I found out that there are several 'k' apps/processes and I coudn't find out what those were good for. Maybe you can tell me which I can safely turn off and how.

here is my ps -aux
http://www.qxsoldier.com/ps-aux

I'm currently not running a webserver or ftp - I am not using my printer (so maybe I can turn cups off too?..) PLEASE ADVISE


Another thing I looked into was hdparm

# hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.25 seconds =512.00 MB/sec
Timing buffered disk reads: 64 MB in 1.63 seconds = 39.26 MB/sec
[root@SmyTech legacy]# hdparm -Tt /dev/hdb

/dev/hdb:
Timing buffer-cache reads: 128 MB in 0.29 seconds =441.38 MB/sec
Timing buffered disk reads: 64 MB in 2.04 seconds = 31.37 MB/sec
[root@SmyTech legacy]# hdparm -Tt /dev/hdd

/dev/hdd:
Timing buffer-cache reads: 128 MB in 0.26 seconds =492.31 MB/sec
Timing buffered disk reads: 64 MB in 1.54 seconds = 41.56 MB/sec

hdparm /dev/hda /dev/hdb /dev/hdd
SAME INFO ON ALL:

multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
and different geometry of course for each drive

Do you think this is good enough? Or should I try to make it faster? PLEASE ADVISE

THANKS A LOT GUY! Can't wait for some info hehe...especially the processes..I think that is my main concern rigth there.

Last edited by slackmagic; 08-26-2003 at 12:15 PM.
 
Old 08-26-2003, 12:17 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
You could defintely turn of cups and any other printer stuff.

The link in your post doesn't work.
 
Old 08-26-2003, 12:20 PM   #3
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 35
I'm sorry, lol, you were too fast replying! try again
 
Old 08-26-2003, 12:30 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Most of the k stuff is for the kernel.

The stuff pulling CPU's are Galeon, X, bash, init, gnome-terminal and gkrellm.

I didn't notice anything that was there that shouldn't be.

The new 2.6 kernels could spped things up, you could always give it a whirl.
 
Old 08-26-2003, 12:36 PM   #5
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 35
thank you very much leonscape,

I'll look into the 2.6 kernel - just hope I don't do anything wrong hehe - I like the way my system works at this moment...
 
Old 08-26-2003, 01:07 PM   #6
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
pentium 4's have a built-in protection against getting too hot, they slow themselves down. if you notice after an extended kernel compile or whatever that the machine lags a bit, you might need a better heatsink/fan. just a thought.
 
Old 08-26-2003, 01:12 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
To stop services that would ordinarily run on start up you can always delete your chosen S symlinks in the relevant /etc/rc.d subdirectory ( /etc/rc.d/rc5.d for run-level 5 ) - be careful if you do this - and keep a note of what symlinks you've deleted - I've recently deleted about 7 or 8 symlinks to services in /etc/rc.d/init.d that ordinarily started up in Red Hat 9 that I dont need. (just an idea - but be careful)


Last edited by Skyline; 08-26-2003 at 01:20 PM.
 
Old 08-26-2003, 01:22 PM   #8
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 35
thank you very much rshaw for the info. Once finances are looking good, I think i'd be paying a visit to frys or Altex

I'm checking your step out right at this moment Skyline! Thanks to you too for the advise...
 
Old 08-26-2003, 01:26 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You say you are not running web or FTP, but how about mail? Are you needing to run the mail server?

Other ways to speed things up:
Rebuild the RPM's from SRPMS so they are for your system specifically;
Do more things from the console, use alternative applications (such as sylpheed for gui email, mutt for CLI);
Switch system loggers;
Rebuild a kernel...



Cool
 
Old 08-26-2003, 01:27 PM   #10
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 35
should I remove the symlinks from /etc/rc.d/rc5.d OR /etc/rc.d/init.d

ahh, now I see it..the first one is for apps or processes that startup through runlvl 5 and /etc/rc.d/init.d are the processes that startup automatically with RH 9.0 itself such as pcmcia which i don't need since it's my systme is not a laptop...am I correct?
 
Old 08-26-2003, 01:31 PM   #11
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 35
thanks MasterC

nope, I'm not running a mail server on this system - I'm still learning. I'll remember to use SRPMS from now on if possible.
I already got used to Kmail, guess it's about the same with sylpheed.

yeah, I should look into rebuilding my kernel...just wonder how I do that hehe...
 
Old 08-26-2003, 01:32 PM   #12
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
You'll have to use a shell as root user to delete a symlink in these directories - you delete the symlinks form

/etc/rc.d/rcx.d

where x is the relevant run level

DON'T delete anything out of /etc/rc.d/init.d


init.d contains the actuall services themselves

Last edited by Skyline; 08-26-2003 at 01:36 PM.
 
Old 08-26-2003, 01:38 PM   #13
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 35
ok...now I understand

what happens if I create a folder

mkdir /etc/rc.5/rc5.d/bkp and move the symlinks I want to "remove" into that folder - will the system still start up those processes?

if it does, maybe i should just move these symlinks to something like

/root/bkprc5.d/ or so
 
Old 08-26-2003, 01:52 PM   #14
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
I suspect it would work that way -
 
Old 08-26-2003, 02:06 PM   #15
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 35
kewl! thanks again everyone!!
 
  


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
System clock running too fast elahav Linux - Software 4 02-04-2005 07:47 PM
Making a fast system jedediah Linux - General 6 09-16-2004 11:15 AM
Ok, how fast does your Mandrake system boot? perry Mandriva 5 05-13-2004 01:53 PM
System clock is running too fast on RH 9 jimieee Linux - General 0 01-06-2004 11:24 AM
System clock is fast AND slow.... cbjhawks Linux - Hardware 1 09-10-2003 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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