Server performance bottleneck


 
Thread Tools Search this Thread
Operating Systems Solaris Server performance bottleneck
# 1  
Old 10-27-2011
Server performance bottleneck

hi all,

My server box is slow running. I have provide some statistics below:

Where is the bottleneck on the server?
I guess the bottleneck is disk I/O?


Code:
bash-3.00# prstat -Z

   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
 29206 mobi1     334M  264M sleep   14    2   0:00:14 2.3% discounting/1
 10225 oracle   6284M 6263M cpu10   10    0   0:14:13 1.6% oracle/1
 17658 mobi1     394M   95M cpu8    16    2   0:09:19 1.5% discounting/1

ZONEID    NPROC  SWAP   RSS MEMORY      TIME  CPU ZONE
     0           606     19G   13G    80%    19:10:36  13% global


I'm provide some SAR reports:

Code:
bash-3.00# sar -f /var/adm/sa/sa27 -s 09:00 -e 15:00 -u

09:00:01    %usr    %sys    %wio   %idle
09:20:01       6       2       0      92
09:40:01       5       6       0      89
10:00:00       9       8       0      83
10:20:00       7       3       0      90
10:40:01      10       4       0      86
11:00:01      17       9       0      75
11:20:01       8       7       0      85
11:40:00      12       6       0      82
12:00:00      10       5       0      85
12:20:01      11       7       0      82
12:40:01       9       3       0      87
13:00:00      16       7       0      76
13:20:00       9       5       0      86
13:40:00      10       5       0      85
14:00:01      11       5       0      84
14:20:01       9       5       0      86
14:40:01      12       3       0      85

Average       10       5       0      85


Code:

bash-3.00# sar -f /var/adm/sa/sa27 -s 09:00 -e 15:00 -b

09:00:01 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
09:20:01       1    1361     100       2      64      97       0       0
09:40:01       6    7576     100       5    5188     100       0       0
10:00:00       6    8206     100       6    5910     100       0       0
10:20:00       1    1706     100       2     347      99       0       0
10:40:01       4    7494     100       7    3361     100       0       0
11:00:01      10   29329     100      21   16495     100       0       0
11:20:01       5   12976     100      10    6976     100       0       0
11:40:00       4   12718     100      11    6877     100       0       0
12:00:00       1     995     100       3      44      93       0       0
12:20:01       1    1087     100       2      21      89       0       0
12:40:01       0    1587     100       2      35      93       0       0
13:00:00       0    1723     100       3      41      94       0       0
13:20:00       1    1515     100       3      27      90       0       0
13:40:00       0    1807     100       3      37      92       0       0
14:00:01       0    1922     100       2      32      93       0       0
14:20:01       1    2814     100       4     235      98       0       0
14:40:01       1    4178     100       5    1616     100       0       0

Average        3    5823     100       5    2782     100       0       0

Waiting for your reply.Smilie
# 2  
Old 10-28-2011
Post output of
Code:
vmstat 2 5
vmstat -S 2 5
iostat -xn 2 5

# 3  
Old 10-31-2011
Server performance bottleneck

hi bartus11

This is ouptup:

Code:
-bash-3.00$ vmstat 2 5
 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr s0 s1 s2 sd   in   sy   cs us sy id
 0 2 0 23051384 1313496 3119 1270 31840 332 532 88808 1239 5 24 -0 -0 3498 48598 4350 8 3 90
 0 6 0 20364128 603328 6518 1510 57076 4 4 71936 0 14 169 0 0 8009 85458 7456 7 5 88
 0 9 0 20360856 593096 3992 780 30972 20 16 58272 0 2 146 0 0 7447 59545 7240 5 7 88
 0 3 0 20388440 624968 4501 1275 40655 8 4 47208 0 0 3 0 0 3284 52829 3636 9 4 87
 0 5 0 20444440 634280 2627 437 25616 12 12 38240 0 5 52 0 0 3739 31079 3723 3 2 95

-bash-3.00$ vmstat -S 2 5
 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  si  so pi po fr de sr s0 s1 s2 sd   in   sy   cs us sy id
 0 2 0 23051328 1313480 0 0 31840 332 532 25096 1239 5 24 -0 -0 3498 48598 4350 8 3 90
 0 2 0 20461096 639472 0  0 51104 4 4 20336 0 5 15 0 0 3885 70370 3486 3  5 92
 0 3 0 20461768 644872 0  0 41851 0 0 16480 0 2 6 0  0 3205 41070 3187 2  4 94
 0 4 0 20456768 641880 0  0 32263 4 4 13352 0 4 22 0 0 3863 49445 3489 5  5 90
 0 6 0 20441656 630144 0  0 51351 4 4 10824 0 9 30 0 0 3636 63399 3709 12 4 83


-bash-3.00$ iostat -xn 2 5
                    extended device statistics
    r/s    w/s   kr/s   kw/s wait actv wsvc_t asvc_t  %w  %b device
    0.5    3.5  182.3   60.8  0.0  0.0    0.0    8.0   0   2 c0t1d0
    0.0    3.0    0.0   21.5  0.0  0.0    0.0    9.9   0   2 c0t0d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c0t3d0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c1t202300A0B8492A7Ad2
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c1t202300A0B8492A7Ad1
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c1t202300A0B8492A7Ad0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c1t203200A0B8492A7Ad2
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c1t203200A0B8492A7Ad1
  555.1  132.7 37364.6 1058.0  0.0  8.5    0.0   12.4   0 100 c1t203200A0B8492A7Ad0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c4t202300A0B8492A7Ad2
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c4t202300A0B8492A7Ad1
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c4t202300A0B8492A7Ad0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c4t203200A0B8492A7Ad2
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c4t203200A0B8492A7Ad1
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c4t203200A0B8492A7Ad0
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 cerprodm:vold(pid534)
    0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 10.10.10.11:/pool1/data/prillion

# 4  
Old 10-31-2011
The bottleneck was likely RAM.
# 5  
Old 10-31-2011
Hi jlliagre

What information tell you that bottleneck was RAM.
# 6  
Old 10-31-2011
Can you also post output of:
Code:
sar -f /var/adm/sa/sa27 -s 09:00 -e 15:00 -g

# 7  
Old 10-31-2011
This is the output above command you mentioned

Code:
09:00:01  pgout/s ppgout/s pgfree/s pgscan/s %ufs_ipf
09:20:01    88.04   369.89   517.64  2210.69     0.00
09:40:01     0.57     1.75     1.72     0.00     0.00
10:00:00    18.79   131.88   174.26   953.12     0.00
10:20:00     3.19    29.82    36.08    70.21     0.00
10:40:01    17.18   542.91   641.47  1701.98     0.00
11:00:01    29.29   977.21  1321.35  2507.45     0.00
11:20:01    13.38   365.26   458.38   277.97     0.00
11:40:00     8.08   268.26   400.09  1447.84     0.00
12:00:00     1.19     4.37     9.74    26.00     0.00
12:20:01     7.61    38.55   105.03  2664.11     0.00
12:40:01     5.59    25.51    57.35  1520.08     0.00
13:00:00     5.68    26.44    52.50  1785.57     0.00
13:20:00    22.45    94.24   197.90  4331.76     0.00
13:40:00    11.30    38.99   102.93  1247.37     0.00
14:00:01    26.47    94.16   240.80  3934.98     0.00
14:20:01    46.45   171.12   361.42  7579.79     0.00
14:40:01     5.85    30.13    43.82  1754.30     0.00


Last edited by DukeNuke2; 10-31-2011 at 06:06 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Performance Bottleneck in server, Need help

We are wondering if we are facing performance issue in our server when running Informatica jobs. Two things to suspect: cache memory never comes down even when Top shows > 99% used. There is some contention io or network related or Cache is clogged top - 20:58:20 up 16 days, ... (3 Replies)
Discussion started by: smart_guy471
3 Replies

2. Red Hat

Server performance

Hi Guys, I am running Oracle database on RHEL 2.6.18-164.el5, now I want to check and make sure that my server is performing optimally. I check top: top - 09:45:03 up 2 days, 15:22, 3 users, load average: 2.57, 2.85, 2.77 Tasks: 433 total, 3 running, 430 sleeping, 0 stopped, 0... (1 Reply)
Discussion started by: Phuti
1 Replies

3. UNIX for Advanced & Expert Users

Performance of a server

Hi, how can we define performance of a server (Windows or Unix or Linux) ? If processes waiting for CPU (on queue) are usually more than 3 or 5 can we conclude that CPU is not enough for that usage ? Thank you. (1 Reply)
Discussion started by: big123456
1 Replies

4. Infrastructure Monitoring

99% performance wa, slow server.

There is a big problem with the server (VPS based on OpenVZ, CentOS 5, 3GB RAM). The problem is the following. The first 15-20 minutes after starting the server is operating normally, the load average is less than or about 1.0, but then begins to increase sharply% wa, then hovers around 95-99%.... (2 Replies)
Discussion started by: draiphod
2 Replies

5. Solaris

Server performance

Hi, Please advice .. if server is slowness then what are the steps i have to follow... Thanks, Mani (5 Replies)
Discussion started by: Mani_apr08
5 Replies

6. Solaris

Server performance

Hi, i would like to ask if it is possible to get the server load on a solaris machine, but i don't want something like uptime (load average), iostat and vmstat. I would like to get something in percentage like CPU load in %, Disk usage in %, Ram usage in %. I want to collect this data and to... (3 Replies)
Discussion started by: tafil
3 Replies

7. UNIX for Dummies Questions & Answers

performance of unix server

Hi, I am supposed to run few jobs based on the usage of unix server. How to find out if the server is too busy. what are the commands we can use to find out that. Thanks (1 Reply)
Discussion started by: dnat
1 Replies

8. UNIX and Linux Applications

server/client performance

Ello group, I have general question about how the performance of server/client should be? My server is able to answer about 650times per second. Is it good performance? the apache on the same machine makes 1600/sec BUT there is nine instances of httpd daemon what makes 180/ sec /instance. of... (1 Reply)
Discussion started by: tomjan
1 Replies

9. AIX

monitor aix bottleneck

Hi All, I would like to create a script that will monitor the server if it's heavy on the processing. I have already some scripts for monitoring disk capacity, application monitoring, etc but not on the bottleneck of the server processing. I don't know which one to measure/query. Can you... (2 Replies)
Discussion started by: itik
2 Replies

10. HP-UX

server performance..

Hi, would like to know the server status from the following 'top' out put. Because, the application is giving a bad performance. would like to know whether the load is within the acceptable limit. Murali... System: shpu28 Tue Feb 3 10:03:31... (4 Replies)
Discussion started by: manduva
4 Replies
Login or Register to Ask a Question