View Single Post

   
  #3 (permalink)  
Old 04-03-2008, 02:45 PM
yannanqi@126.com
 
Posts: n/a
Default Re: help analyzing low system(with sar/vmstat/u386mon/sarcheck data)

Bela,I can't express my heart by words.Only one word:you're
great,great thanks! You freeed me through clear explanation.

But the sco system really encounters performance problem: the telnet
users' working interface is very slow,the items of the dropdown list
fields slowly appears one by one.

(1)sar -b: The %rcache and %wcache seem to be normal.
SCO_SV zjyw-38 3.2v5.0.6 i80386 04/03/2008

14:25:10 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/
s (-b)
14:25:11 18 36849 100 388 5282 93 0
0
14:25:12 3 158264 100 33 316 89 0
0
14:25:13 0 59686 100 0 226 100 0
0
14:25:14 0 79142 100 0 159 100 0
0
14:25:15 0 164502 100 0 50 100 0
0
14:25:16 0 169043 100 0 181 100 0
0
14:25:17 0 61087 100 0 7 100 0
0
14:25:18 0 15037 100 0 16 100 0
0
14:25:19 0 230439 100 0 102 100 0
0
14:25:20 0 55642 100 0 61 100 0
0
14:25:21 0 37027 100 0 12 100 0
0
14:25:22 1 127536 100 0 43 100 0
0
14:25:23 0 133101 100 18 122 85 0
0
14:25:24 0 17444 100 1 2 60 0
0
14:25:25 0 0 0 0 0 100 0
0
14:25:26 0 7142 100 1 12 92 0
0
14:25:27 0 3 100 4 4 11 0
0
14:25:28 0 146721 100 0 79 100 0
0
14:25:29 0 8179 100 0 37 100 0
0
14:25:30 0 175348 100 0 37 100 0
0
14:25:31 0 98968 100 0 81 100 0
0
14:25:32 0 67449 100 0 26 100 0
0
14:25:33 0 66537 100 0 27 100 0
0
14:25:34 0 19567 100 0 8 100 0
0
14:25:35 0 99711 100 0 31 100 0
0
14:25:36 0 45507 100 0 86 100 0
0
14:25:37 0 98409 100 0 34 100 0
0
14:25:39 0 85748 100 10 80 88 0
0
14:25:40 130 156812 100 6 5129 100 0
0
14:25:41 0 14653 100 421 143 0 0
0
14:25:42 0 431218 100 0 284 100 0
0
14:25:43 0 26278 100 0 81 100 0
0
14:25:44 0 77340 100 0 116 100 0
0
14:25:45 0 18695 100 0 18 100 0
0
14:25:46 0 21389 100 0 20 100 0
0
14:25:47 0 149728 100 11 68 84 0
0
14:25:48 0 1027 100 0 56 100 0
0

(2) sar -d:
14:24:48 Sdsk-0 4.95 1.00 7.92 15.84 0.00
6.25

14:24:49
14:24:50
14:24:51
14:24:52
14:24:53
14:24:54 Sdsk-0 1.98 1.00 4.95 9.90 0.00
4.00

14:24:55
14:24:56
14:24:57 Sdsk-0 10.00 1.00 13.00 26.00 0.00
7.69

14:24:58 Sdsk-0 100.00 1.00 53.92 178.43 0.00
21.82

14:24:59 Sdsk-0 100.00 1.00 240.59 1976.24 0.00
44.07

14:25:00 Sdsk-0 0.99 1.00 0.99 1.98 0.00
10.00

14:25:01
14:25:02
14:25:03
14:25:04
14:25:05
14:25:06
14:25:07
14:25:08
14:25:09 Sdsk-0 0.99 1.00 0.99 9.90 0.00
10.00

14:25:10
14:25:11 Sdsk-0 100.00 1.00 134.65 857.43 0.00
76.25

14:25:12 Sdsk-0 21.78 1.00 6.93 27.72 0.00
31.43

14:25:13
14:25:14
14:25:15
14:25:16
14:25:17
14:25:18
14:25:19
14:25:20
14:25:21 Sdsk-0 1.00 1.00 1.00 2.00 0.00
10.00

14:25:22
14:25:23 Sdsk-0 17.65 1.00 18.63 37.25 0.00
9.47

(3)vmstat:
Thu Mar 27 16:23:31 CST 2008
# vmstat 1 100

PROCS PAGING SYSTEM CPU
r b w frs dmd sw cch fil pft frp pos pif pis rso rsi sy cs us
su id

2 921 0 1048576 8 0 0 0 2 0 0 0 0 0 0 1128585
54570 28 27 45
2 921 0 1048576 62 0 0 0 0 0 0 0 0 0 0 1174108
57445 20 32 48
2 918 0 1048576 5 0 0 0 14 0 0 0 0 0 0 1149028
52759 35 36 29
2 920 0 1048576 26 0 425 0 104 0 0 0 0 0 0 1180505
55345 24 33 43
2 920 0 1048576 0 0 0 0 0 0 0 0 0 0 0 1204870
57131 29 26 45
5 917 0 1048576 28 0 0 0 1 0 0 0 0 0 0 1154900
53069 30 30 40
2 922 0 1048576 31 0 425 0 104 0 0 0 0 0 0 1232803
55362 27 35 38
3 921 0 1048576 30 0 0 0 0 0 0 0 0 0 0 1153011
47926 27 37 36
3 925 0 1048576 111 0 822 0 165 0 0 0 0 0 0 1165042
55808 34 39 27
2 926 0 1048576 24 0 85 0 18 0 0 0 0 0 0 1203487
46580 32 43 25
4 925 0 1048576 6 0 85 0 15 0 0 0 0 0 0 1215516
55999 23 35 42

*************************
My thoughts:
(1)By vmstat's output,the "sy:system calls" and "cs:context switch"
are very high. Are these value normal? (The sco system is only an
endpoint-telnet-server, and the telnet users don't have much business,
only querying & charging--the database server is on third part)
(2)By vmstat's output,does the "cch" effect the system's performance?
Reply With Quote