LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-19-2007, 07:15 PM   #1
megaM
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Question Linux Performance Tuning


I deal with Red Hat EL 3&4 Linux.
Does anyone have any good ideas on tuning my servers for optimum performance?
eg1: How to resolve High I/O issues, how do I identify the culprits?
eg2: CPU Bound performance issues - how to diagnose them?
eg3: How to resolve Memory bound performance issues?
eg4: How to resolve Network bound performance issues?
 
Old 12-19-2007, 07:20 PM   #2
megaM
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Just another note:
We run IBM xSeries and Dell servers both running on intel CPU's
 
Old 12-19-2007, 07:40 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,283

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
With RHEL you should have "sysstat" - look into that. Not much you can do about 1), but the rest is just a matter of looking at the data.
 
Old 12-19-2007, 07:51 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Here ya go: http://www.redhat.com/magazine/011sep05/features/tools/
 
Old 12-19-2007, 08:02 PM   #5
pengaru
LQ Newbie
 
Registered: Dec 2007
Distribution: GNU/Linux
Posts: 9

Rep: Reputation: 0
sysstat, iostat, vmstat, top, hdparm, sdparm, tune2fs, readprofile, oprofile... are all important tools for monitoring and tuning systems.

Theres a commercial host monitoring product that graphs alot of this stuff for you with 1HZ sample rates @ muldex.net. I prefer something like this since I don't have to login and run commandline-based inefficient stats collectors while the server is in production and already stressed... I also tend to not be watching programs like iostat or vmstat when performance issues happen, rather someone complains via email the next day.

Archiving the statistics continuously and looking at graphs after the fact is alot more flexible. There are free tools out there that do similar things (nagios and zabbix come to mind) but I havent seen anything as efficient while providing a high sample rate, and it takes just a few minutes to get setup.
 
Old 12-20-2007, 08:26 AM   #6
mastrboy
Member
 
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 73

Rep: Reputation: 15
and you can tweak /etc/security/limits.conf with CPU, Processes, Open Files etc.. limits so your apps and users don't bring down the server
 
Old 10-10-2008, 07:24 AM   #7
markseger
Member
 
Registered: Jul 2003
Posts: 241

Rep: Reputation: 25
Don't forget collectl

see - http://collectl.sourceforge.net/ and it also addresses many of the comments pengaru made.

It can monitor many of the different types of data that the listed tools can do and do it in one tool. It's lightweight (<.1% cpu load) and so you can keep it running all the time and if you're not watching the terminal when a problem occurs, no problem - you can play the data back for the time frame you're interested from the logs it collects. And finally, if you're into graphs, collectl can generate output in a form easily plotted by gnuplot or loadable into a spreadsheet that supports plotting.

-mark
 
  


Reply

Tags
cpu, enterprise, io, linux, memory, network, performance, tuning


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
apache performance tuning sachin1361 Linux - Enterprise 1 03-05-2007 06:19 AM
LXer: Win a(sic) copies of “The Linux® Kernel Primer” and “Linux® Debugging and Performance Tuning” LXer Syndicated Linux News 0 09-04-2006 11: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
maintenance and performance tuning? groovin Linux - General 3 06-30-2003 09:20 PM


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