LinuxQuestions.org
Visit Jeremy's Blog.
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 05-07-2004, 09:19 AM   #1
wijnands
Member
 
Registered: Mar 2004
Posts: 132

Rep: Reputation: 15
memory/performance tuning guide?


Hi,

Anyone know a good howto that will help me free up some memory and get slightly better performance out of my system? At the moment it's paging to disk now and then and I want to see if I can do something about that.
 
Old 05-07-2004, 10:01 AM   #2
jimieee
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Rep: Reputation: 15
I'm not saying I can help, but it might help other people a bit if you tell them more about which dist you're using etc.

Have you tried http://www.tldp.org/ ? I had a quick look at the howtos and there was one about monitoring http://www.tldp.org/HOWTO/CSPM-HOWTO/index.html that looks like it maybe of interest to you.
 
Old 05-07-2004, 03:14 PM   #3
wijnands
Member
 
Registered: Mar 2004
Posts: 132

Original Poster
Rep: Reputation: 15
errm.. right.

System is clarkconnect 1.3 which is a soho server distro based on RH 7.3

This is running as my mail/web/samba server and acts as firewall. and does dhcp for my internal network. All this on an old HP vectra with pentium pro 200 and 128mb ram

Everything is basically running fine but things like php applications run rather sluggisly.

What I wanted to do was see if I can free iup a bit of ram so that it doesn't have to use swapspace that often, fiddle with hdparm and then start on apache and a php accelerator.

Now, when I look at top I get this:

10:07pm up 40 days, 20:55, 1 user, load average: 0.17, 0.23, 0.15
56 processes: 55 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 4.0% user, 5.8% system, 0.0% nice, 90.1% idle
Mem: 142708K av, 135036K used, 7672K free, 0K shrd, 13116K buff
Swap: 143128K av, 30116K used, 113012K free 32632K cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
3904 root 17 0 1052 1052 848 R 8.0 0.7 0:11 top
3851 root 15 0 1900 1860 1556 S 0.9 1.3 0:02 sshd
1 root 15 0 476 432 420 S 0.0 0.3 0:27 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:02 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:02 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:36 ksoftirqd_CPU0
5 root 15 0 0 0 0 SW 0.0 0.0 3:18 kswapd
6 root 25 0 0 0 0 SW 0.0 0.0 0:00 bdflush
7 root 15 0 0 0 0 SW 0.0 0.0 0:34 kupdated
8 root 25 0 0 0 0 SW 0.0 0.0 0:00 mdrecoveryd
12 root 15 0 0 0 0 SW 0.0 0.0 17:26 kjournald
130 root 15 0 0 0 0 SW 0.0 0.0 0:00 kjournald
562 root 15 0 540 496 460 S 0.0 0.3 4:47 syslogd
567 root 15 0 1164 472 472 S 0.0 0.3 0:00 klogd
641 root 15 0 1140 1008 972 S 0.0 0.7 5:00 sshd
674 root 15 0 856 768 680 S 0.0 0.5 1:06 xinetd
692 root 15 0 740 700 580 S 0.0 0.4 0:13 dhcpd

When I try to check drive speed I get:



[root@vuurmuur root]# hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 24.00 seconds = 5.33 MB/sec
Timing buffered disk reads: 64 MB in 18.01 seconds = 3.55 MB/sec
Hmm.. suspicious results: probably not enough free memory for a proper test.
[root@vuurmuur root]#


So...
 
  


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
Filesystem/RAID Performance Tuning/Optimization comsatcat Linux - General 1 06-05-2004 09:54 AM
network performance tuning Skunk_Face Linux - Networking 1 04-16-2004 05:50 AM
NFS Performance Tuning joeclark Linux - Networking 2 03-16-2004 08:08 PM
ACID maintenance and performance tuning using sql mikmok Linux - General 0 03-02-2004 12:16 PM
maintenance and performance tuning? groovin Linux - General 3 06-30-2003 09:20 PM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration