- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Need help with sar
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 02:35 AM
тАО11-10-2006 02:35 AM
Need help with sar
I have sar installed, but I'm not familiar with how to analyze it or what I should look for. Can anyone tell me what screen delays may be pointing to and what sar parameters I should run to analyze?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 03:07 AM
тАО11-10-2006 03:07 AM
Re: Need help with sar
If CPU & memory looks OK then check your network card and disks.
For the network card I would use the command:
sar -n DEV
and see if you saturated your NIC, rxbyt/s + txbyt/s. Is your NIC 100Mb or 1Gb (1,000 Mb)? My rule of thumb is the max. no. of bytes a NIC can handle is Mb (Megabits) / 10 so a 100Mb NIC can handle at most 10MBs/sec, a 1Gb NIC can handle at most 100 MBs/sec.
For disks, if you have it, I would use the iostat command to see if they're the problem. The command would be:
iostat -x
I check the avgqu-sz column to see if I/O requests are getting queued up because the disk is too busy.
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 04:41 AM
тАО11-10-2006 04:41 AM
Re: Need help with sar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 06:13 AM
тАО11-10-2006 06:13 AM
Re: Need help with sar
When you say users are complaining that there is a lag/delay when moving between screens, are you talking about an application that connects to a database on your linux server or a terminal based application that connects directly via SSH, etc??
I would start by checking your basic network settings. You say you have a GbE, but is the switch GbE as well? Or only 100/Mbs? If so you'll want to review your duplex settings and such, make sure the NIC matches the switch port that it is connected to.
What version of Linux are you running? Here's some info to start with for RHEL:
http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-modules-ethernet.html
I've had all kinds of problems in the past with duplex that causes a delay in application response even though the server is performing above average.
HTH.
Peace,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 06:16 AM
тАО11-10-2006 06:16 AM
Re: Need help with sar
I reread your message and I see that you're referring to a database server. I'm assuming therefor that the users are connecting with a client on Win32.
Check the duplex as stated above, but I would also look at the following:
1. Check with your DBA on the status of the database performance. Are tables optimized as well as SQL queries?
2. Has the database grown in size recently that would cause slow performance?
3. Was the system running well in the past? How long has this problem been going on?
Answer those and we'll move from there ;-)
Peace,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 06:53 AM
тАО11-10-2006 06:53 AM
Re: Need help with sar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2006 07:09 PM
тАО11-11-2006 07:09 PM
Re: Need help with sar
In most cases disk performance is a bottleneck for DB. Check your RAID controller options for best performance. Many DB vendors suggest some kernel tuning, filesystem tuning and so on - so check release nites for your DB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2006 12:41 AM
тАО11-12-2006 12:41 AM
Re: Need help with sar
The rxbyt/s plus txbyt/s are in bytes so with a 1Gb NIC, you could see no.s up in the tens of millions. Your sample of 318.64 rxbyt/s and 283.06 txbyt/s shows the NIC is basically idle.
My estimate of a 1Gb NIC handling up to 100 MBs seems a bit hit according to others. More realistically, the no. would be 70-75 MBs. When you add the no.s together they should go up to 70,000,000 to 75,000,000 when the NIC is saturated.
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2006 11:16 PM
тАО11-12-2006 11:16 PM
Re: Need help with sar
For bandwidth and latency tests there are a few open source tools available: ttcp netperf netpipe and nTop.
To see what actuall runs on the wire for various protocols check out the open source tool Ethereal (would think you could find your Progres protocols there).
Also, I have recently seen Opnet ACE and Compuware Vantage in action - those are really imressing diagnostics packages, but they are not really cheap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2006 11:59 PM
тАО11-12-2006 11:59 PM
Re: Need help with sar
How much is the "load" of the server?
You can see with "top".
Sometimes the cpu and memory have a lot of free space, but the load is high.
In Linux, when the load is between 0.00 and 1.50 is ok, but when it go from 3.00 and over, there is porbabily and imminent crash or slow machine.
In hp-ux i see a load over 30.00 but the connection in telnet was impossible and the application was instable.
For resolve i had restarted Oracle.
do you have java application running too?