Howto troubleshoot Perfomance using vmstat & iostat


 
Thread Tools Search this Thread
Operating Systems Solaris Howto troubleshoot Perfomance using vmstat & iostat
# 1  
Old 03-20-2009
Howto troubleshoot Perfomance using vmstat & iostat

Can anyone tell me what to look for in terms of abnormal numbers on vmstat or iostat?
I have a box with figures pbelow, how would I tell if it's underperforming & what remedies \ perfomance tuning could I perform?


thanks all

-------------------------------------


-vmstat 5 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s6 sd sd sd in sy cs us sy id
0 0 0 20258552 6355368 326 278 1998 10 11 0 9 0 23 0 0 984 1552 655 6 2 92
0 0 0 20267192 5904752 388 643 3455 0 0 0 0 0 63 0 0 2610 3075 1365 22 3 75
0 0 0 20269656 5906752 449 50 5142 14 13 0 0 0 89 0 0 2792 2767 1418 11 2 87
0 0 0 20266528 5903616 77 642 38 0 0 0 0 0 12 0 0 1502 6421 1097 26 3 71
0 0 0 20268256 5905280 4 991 18 0 0 0 0 0 10 0 0 1086 2827 797 15 2 83

-iostat 5 5
tty sd6 ssd3 ssd5 ssd7 cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id
0 1 0 0 0 547 23 14 7 0 6 7 0 5 6 2 7 84
0 47 0 0 0 628 15 16 0 0 0 0 0 0 1 1 3 94
0 16 0 0 0 2263 84 5 0 0 0 0 0 0 17 4 4 75

0 16 0 0 0 1941 89 15 0 0 0 0 0 0 7 3 4 86
0 16 0 0 0 2446 142 2 0 0 0 0 0 0 17 4 10 69
# 2  
Old 03-21-2009
Install ORCA OrcaWare Technologies - Home Page
Its a good tool.
# 3  
Old 03-21-2009
@incredible,tx, shall do -

Back to the question at hand
can anyone tell me about the perfomance of a box from the above stats ?

thanks
# 4  
Old 03-21-2009
Looks OK. Can you also provide the prstat -a output?
# 5  
Old 03-21-2009
Quote:
-vmstat 5 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s6 sd sd sd in sy cs us sy id
0 0 0 20258552 6355368 326 278 1998 10 11 0 9 0 23 0 0 984 1552 655 6 2
The "9" figure in the sr column shows that your system has got low of memory at some point (the first line being a summary of the system since it booted up, but I have seen systems with much larger figures than that.
The "1998" for paging in also indicates your system has run out of memory at some time and had to page in from swap space.
This could be caused by for instance a backup running overnight in which case it is not a problem.

Quote:
-iostat 5 5
tty sd6 ssd3 ssd5 ssd7 cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id
0 1 0 0 0 547 23 14 7 0 6 7 0 5 6 2 7 84
0 47 0 0 0 628 15 16 0 0 0 0 0 0 1 1 3 94
0 16 0 0 0 2263 84 5 0 0 0 0 0 0 17 4 4 75
0 16 0 0 0 1941 89 15 0 0 0 0 0 0 7 3 4 86
0 16 0 0 0 2446 142 2 0 0 0 0 0 0 17 4 10 69
The figures here look like the output from mpstat (?), if that is the case then wt column shows your system is experiencing some Input / Output waits which I would expect to be zero for most of the time so you may need to stripe a busy disk volume or install more memory but again if this of not affecting performance when it matters.

An iostat would show which disk volume is busy.

None of the figures are outrageous.

Enabling the sys user crontab entries for sar can be very useful for gathering historical performance data, so that if a user reports that they experienced bad performance yesterday afternoon you can go back and take a look at the figures.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

FTP perfomance < 2MB

Hi, I am transferring files to a Solaris 10 installation on Sun Fire 480. I find that when transferring large files > 1G via FTP, the performance is < 2GB. I am using FileZilla and the network is 100Mbit. I am currently transferring 2 files concurrently & there are only having a bandwidth of... (17 Replies)
Discussion started by: wong.Raymond
17 Replies

2. Solaris

Sense key unit attention & iostat hardware and transport errors on SAN disks

Hello, I'm trying to get to the bottom of SAN disk errors we've been seeing. Server is Sun Fire X4270 M2 running Solaris 10 8/11 u10 X86 since April 2012. SAN HBAs are SG-PCIE2FC-QF8-Z-Sun-branded Qlogic. SAN storage system is Hitachi VSP. We have 32 LUNs in use and another 8 LUNs not brought... (4 Replies)
Discussion started by: TKD
4 Replies

3. UNIX for Advanced & Expert Users

Shell script to monitor cpu and VMstat, iostat

Hi , I am new to scripting. please help me out how to write a script to monitor cpu , vmstat, iostat in Redhat linux. we are doing the load test. Thanks in advance !!!! (1 Reply)
Discussion started by: saanvi
1 Replies

4. Red Hat

disks perfomance issues

Hi, All I'm trying to figure out why on very similar hosts with the same settings disks perfomance is different. Linux 2.6.16.60-0.69.1-smp #1 SMP Fri Sep 17 17:07:54 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux disks are in similar array, everything looks good from the system site, but... (1 Reply)
Discussion started by: ranger5
1 Replies

5. AIX

troubleshoot

Dear friends, is there any kind of scripts that will damage aix than we can troubleshoot what was the reason :-) just for having fun :-) (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

6. Shell Programming and Scripting

perl: howto print to screen & filehandle

Hello, I need to print messages both to screen and to file handle in perl , like tee does in unix . Any suggestions ? Thanks (2 Replies)
Discussion started by: Alalush
2 Replies

7. Solaris

Describe the parameters of iostat,vmstat and mpstat

Hi, I am trying to take the Statistics of the machine during load.Can someone explian the parameters of iostat: tty sd1 sd2 sd3 sd4 cpu tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id vmstat: kthr ... (1 Reply)
Discussion started by: grrajeish
1 Replies

8. UNIX for Dummies Questions & Answers

vmstat output with date & timestamp

Hello all This is a sample vmstat output ... $ vmstat 2 2 kthr memory page disk faults cpu r b w swap free re mf pi po fr de sr hx hx hx hx in sy cs us sy id 1 0 0 23105784 7810488 323 767 1742 5 5 0 0 0 0 0 0 683 780 457 43 ... (9 Replies)
Discussion started by: luft
9 Replies

9. Programming

Howto convert Ascii -> UTF-8 & back C++

While working with russian text under FreeBSD&MySQL I need to convert a string from MySQL to the Unicode format. I've just started my way in C++ under FreeBSD , so please explain me how can I get ascii code of Char variable and also how can i get a character into variable with the specified ascii... (3 Replies)
Discussion started by: macron
3 Replies

10. UNIX for Dummies Questions & Answers

BOX Status with vmstat & top Solaris 2.8

Hi there, I´m trying to get the information of vmstat & top in two different logfiles. That not that difficult. vmstat 30 >> myfile.log top >> myfile2.log But I also like to include a timestamp every 30 sec to be sure from what date the logs are. For the Top command I were able to... (2 Replies)
Discussion started by: isacs
2 Replies
Login or Register to Ask a Question