免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6450 | 回复: 4
打印 上一主题 下一主题

[性能调优] AIX 5.3 iostat hdisk1的活动百分比经常达到100%,怎么处理?[已解决] [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-11-21 13:44 |只看该作者 |倒序浏览
本帖最后由 huowz 于 2013-11-30 20:56 编辑

解决步骤在5楼。
tty:      tin         tout    avg-cpu: % user % sys % idle % iowait
          0.0        291.5                0.7   3.6   70.4     25.3

Disks:        % tm_act     Kbps      tps    Kb_read   Kb_wrtn
hdisk1          99.5     736.0     184.0       1404        68
hdisk0           0.0       0.0       0.0          0         0
dac0             0.0       0.0       0.0          0         0
dac0-utm         0.0       0.0       0.0          0         0
hdisk3           0.0       0.0       0.0          0         0
cd0              0.0       0.0       0.0          0         0
  1. Topas Monitor for host:    HBTTDB01             EVENTS/QUEUES    FILE/TTY
  2. Mon Nov 25 09:03:18 2013   Interval:  2         Cswitch     587  Readch   224.0K
  3.                                                 Syscall     214  Writech   70350
  4. Kernel    0.7   |#                           |  Reads         3  Rawin         0
  5. User      1.3   |#                           |  Writes       14  Ttyout      394
  6. Wait     48.8   |##############              |  Forks         0  Igets         0
  7. Idle     49.2   |##############              |  Execs         0  Namei         0
  8.                                                 Runqueue    0.0  Dirblk        0
  9. Network  KBPS   I-Pack  O-Pack   KB-In  KB-Out  Waitqueue   2.0
  10. en0       3.3     12.0    16.0     1.5     1.8
  11. en1       0.1      1.5     0.0     0.1     0.0  PAGING           MEMORY
  12. lo0       0.0      0.0     0.0     0.0     0.0  Faults      242  Real,MB    3727
  13.                                                 Steals      196  % Comp     44.0
  14. Disk    Busy%     KBPS     TPS KB-Read KB-Writ  PgspIn      133  % Noncomp  56.8
  15. hdisk1  100.0    704.0   168.5   534.0   170.0  PgspOut      42  % Client   57.0
  16. hdisk3   13.5    292.0    12.0   224.0    68.0  PageIn      189
  17. hdisk0    0.0      0.0     0.0     0.0     0.0  PageOut      59  PAGING SPACE
  18. dac0-utm  0.0      0.0     0.0     0.0     0.0  Sios        232  Size,MB    4096
  19. cd0       0.0      0.0     0.0     0.0     0.0                   % Used     64.7
  20. dac0      0.0    292.0    12.0   224.0    68.0  NFS (calls/sec)  % Free     35.2
  21.                                                 ServerV2       0
  22. Name            PID  CPU%  PgSp Owner           ClientV2       0   Press:
  23. hatsd        655418   0.1   8.2 root            ServerV3       0   "h" for help
  24. topas        856196   0.1   1.4 root            ClientV3       0   "q" to quit
  25. hats_rs2     368830   0.1   1.7 root  
  26. clcomd       262290   0.0   1.9 root  
  27. aioserve     311464   0.0   0.1 root  
  28. aioserve     508108   0.0   0.1 root  
  29. X            118848   0.0   3.1 root  
  30. gsclvmd      676012   0.0   0.4 root  
  31. aixmibd      446580   0.0   0.7 root  
  32. dataserv     847948   0.0   5.8 sybase
  33. dataserv     340138   0.0   5.3 sybase
  34. lrud          16392   0.0   0.1 root
  35. hats_nim     643292   0.0   1.7 root
  36. hats_nim     229436   0.0   1.7 root
  37. gil           65568   0.0   0.1 root
  38. clstrmgr     630796   0.0   2.5 root
复制代码
这是topas的结果。

论坛徽章:
0
2 [报告]
发表于 2013-11-27 11:40 |只看该作者
帮顶一下,这里好像没啥人关注AIX性的性能调优。

论坛徽章:
0
3 [报告]
发表于 2013-11-27 15:34 |只看该作者
只有频繁读写磁盘才会导致100% busy,检查一下有没有频繁读写磁盘的应用。

论坛徽章:
0
4 [报告]
发表于 2013-11-27 18:10 |只看该作者
  1. more fm.out1
  2. Wed Nov 27 15:33:01 2013
  3. System: AIX HBTTDB01 Node: 5 Machine: 00C6528C4C00

  4. Cpu utilization:  83.4%
  5. Cpu allocation:  100.0%

  6. Most Active Files
  7. ------------------------------------------------------------------------
  8.   #MBs  #opns   #rds   #wrs  file                     volume:inode
  9. ------------------------------------------------------------------------
  10.    0.4     24     96      0  isobjects                /dev/hd4:792
  11.    0.3      1     74      0  unix                     /dev/hd2:4462
  12.    0.0      1      2      0  ksh.cat                  /dev/hd2:11418
  13.    0.0      1      2      0  cmdtrace.cat             /dev/hd2:11265
  14.    0.0      1      2      0  vfs                      /dev/hd4:747
  15.    0.0      1      0     88  nmDiag.nim.topsvcs.en1.clt001  /dev/hd9var:562
  16.    0.0      9      2      0  SWservAt                 /dev/hd4:53
  17.    0.0      9      2      0  SWservAt.vc              /dev/hd4:54

  18. Most Active Segments
  19. ------------------------------------------------------------------------
  20.   #MBs  #rpgs  #wpgs  segid  segtype                  volume:inode
  21. ------------------------------------------------------------------------
  22.   24.6   6288      0   54871  client                 
  23.   20.0   5120      0   185e2  client                 
  24.   14.3    560   3103   48a36  working               
  25.   14.0    609   2985   3c94b  working               
  26.   13.3    534   2873   4c477  working               
  27.   10.7   2736      0   4c7d7  client                 
  28.    8.3    525   1588   c947  working               
  29.    7.4   1904      0   6487d  client                 
  30.    7.3    333   1532   48a56  working               
  31.    3.4    212    671   189c2  working               
  32.    2.5     37    607   54a51  working               
  33.    2.0    107    406   54a71  working               
  34.    1.9    130    365   18aa2  working               
  35.    0.3     82      0   247cd  working               
  36.    0.1     10      6   3000  page table            
  37.    0.0      0      5   18a22  client                 
  38.    0.0      0      3   30908  client                 
  39.    0.0      1      0   7cb7b  working               
  40.    0.0      0      1   70658  client                 
  41.    0.0      1      0   482d6  client                 

  42. Most Active Logical Volumes
  43. ------------------------------------------------------------------------
  44.   util  #rblk  #wblk   KB/s  volume                   description
  45. ------------------------------------------------------------------------
  46.   1.00  25136 113104 1190.2  /dev/hd6                 paging
  47.   0.08 128384      0 1105.3  /dev/fslv00              /sybasedata
  48.   0.04      0    320    2.8  /dev/hd8                 jfs2log
  49.   0.02      8     88    0.8  /dev/hd9var              /var
  50.   0.00      0      8    0.1  /dev/hd4                 /

  51. Most Active Physical Volumes
  52. ------------------------------------------------------------------------
  53.   util  #rblk  #wblk   KB/s  volume                   description
  54. ------------------------------------------------------------------------
  55.   1.00  25136 109456 1158.8  /dev/hdisk1              N/A
  56.   0.08 128384      0 1105.3  /dev/hdisk3              N/A




  57. ------------------------------------------------------------------------
  58. Detailed File Stats
  59. ------------------------------------------------------------------------

  60. FILE: /etc/isobjects  volume: /dev/hd4  inode: 792
  61. opens:                  24
  62. total bytes xfrd:       393216
  63. reads:                  96      (0 errs)
  64.   read sizes (bytes):   avg  4096.0 min    4096 max    4096 sdev     0.0
  65.   read times (msec):    avg   0.003 min   0.001 max   0.009 sdev   0.002

  66. FILE: /unix  volume: /dev/hd2  inode: 4462
  67. opens:                  1
  68. total bytes xfrd:       303104
  69. reads:                  74      (0 errs)
  70.   read sizes (bytes):   avg  4096.0 min    4096 max    4096 sdev     0.0
  71.   read times (msec):    avg   0.005 min   0.003 max   0.007 sdev   0.001
  72. lseeks:                 140

  73. FILE: /usr/lib/nls/msg/en_US/ksh.cat  volume: /dev/hd2  inode: 11418
  74. opens:                  1
  75. total bytes xfrd:       8192
  76. reads:                  2       (0 errs)
  77.   read sizes (bytes):   avg  4096.0 min    4096 max    4096 sdev     0.0
  78.   read times (msec):    avg   0.006 min   0.004 max   0.008 sdev   0.002
  79. lseeks:                 5

  80. FILE: /usr/lib/nls/msg/en_US/cmdtrace.cat  volume: /dev/hd2  inode: 11265
  81. opens:                  1
  82. total bytes xfrd:       8192
  83. reads:                  2       (0 errs)
  84.   read sizes (bytes):   avg  4096.0 min    4096 max    4096 sdev     0.0
  85.   read times (msec):    avg   0.006 min   0.006 max   0.007 sdev   0.000
  86. lseeks:                 8

  87. FILE: /etc/vfs  volume: /dev/hd4  inode: 747
  88. opens:                  1
  89. total bytes xfrd:       8192
  90. reads:                  2       (0 errs)
  91.   read sizes (bytes):   avg  4096.0 min    4096 max    4096 sdev     0.0
  92.   read times (msec):    avg   0.005 min   0.002 max   0.007 sdev   0.003

  93. FILE: /var/ha/log//nmDiag.nim.topsvcs.en1.clt001  volume: /dev/hd9var  inode: 562
  94. opens:                  1
  95. total bytes xfrd:       5005
  96. writes:                 88      (0 errs)
  97.   write sizes (bytes):  avg    56.9 min      24 max     168 sdev    31.0
  98.   write times (msec):   avg   0.007 min   0.005 max   0.025 sdev   0.004
  99. lseeks:                 1

  100. FILE: /etc/objrepos/SWservAt  volume: /dev/hd4  inode: 53
  101. opens:                  9
  102. total bytes xfrd:       796
  103. reads:                  2       (0 errs)
  104.   read sizes (bytes):   avg   398.0 min     328 max     468 sdev    70.0
  105.   read times (msec):    avg   0.003 min   0.002 max   0.004 sdev   0.001
  106. lseeks:                 1

  107. FILE: /etc/objrepos/SWservAt.vc  volume: /dev/hd4  inode: 54
  108. opens:                  9
  109. total bytes xfrd:       84
  110. reads:                  2       (0 errs)
  111.   read sizes (bytes):   avg    42.0 min      40 max      44 sdev     2.0
  112.   read times (msec):    avg   0.003 min   0.002 max   0.003 sdev   0.001
  113. lseeks:                 1

  114. ------------------------------------------------------------------------
  115. Detailed VM Segment Stats   (4096 byte pages)
  116. ------------------------------------------------------------------------

  117. SEGMENT: 54871  segtype: client
  118. segment flags:          clnt
  119. reads:                  6288    (0 errs)
  120.   read times (msec):    avg   6.295 min   1.539 max  14.152 sdev   2.072
  121.   read sequences:       221
  122.   read seq. lengths:    avg    28.5 min      16 max      64 sdev    15.8

  123. SEGMENT: 185e2  segtype: client
  124. segment flags:          clnt
  125. reads:                  5120    (0 errs)
  126.   read times (msec):    avg   6.527 min   1.442 max  14.122 sdev   2.093
  127.   read sequences:       188
  128.   read seq. lengths:    avg    27.2 min      16 max      80 sdev    15.7

  129. SEGMENT: 48a36  segtype: working
  130. segment flags:          work
  131. reads:                  560     (0 errs)
  132.   read times (msec):    avg  23.936 min   0.306 max 1405.597 sdev 112.667
  133.   read sequences:       344
  134.   read seq. lengths:    avg     1.6 min       1 max      16 sdev     1.6
  135. writes:                 3103    (0 errs)
  136.   write times (msec):   avg 550.845 min   9.988 max 2101.755 sdev 498.427
  137.   write sequences:      3037
  138.   write seq. lengths:   avg     1.0 min       1 max       2 sdev     0.1

  139. SEGMENT: 3c94b  segtype: working
  140. segment flags:          work
  141. reads:                  609     (0 errs)
  142.   read times (msec):    avg  20.945 min   0.308 max 1471.949 sdev  89.315
  143.   read sequences:       415
  144.   read seq. lengths:    avg     1.5 min       1 max       9 sdev     1.0
  145. writes:                 2985    (0 errs)
  146.   write times (msec):   avg 538.276 min   6.337 max 2181.718 sdev 499.759
  147.   write sequences:      2936
  148.   write seq. lengths:   avg     1.0 min       1 max       2 sdev     0.1

  149. SEGMENT: 4c477  segtype: working
  150. segment flags:          work
  151. reads:                  534     (0 errs)
  152.   read times (msec):    avg  17.124 min   0.305 max 1305.715 sdev  75.217
  153.   read sequences:       376
  154.   read seq. lengths:    avg     1.4 min       1 max      15 sdev     1.2
  155. writes:                 2873    (0 errs)
  156.   write times (msec):   avg 500.483 min   7.399 max 2081.998 sdev 479.399
  157.   write sequences:      2826
  158.   write seq. lengths:   avg     1.0 min       1 max       2 sdev     0.1

  159. SEGMENT: 4c7d7  segtype: client
  160. segment flags:          clnt
  161. reads:                  2736    (0 errs)
  162.   read times (msec):    avg   6.491 min   1.586 max  14.332 sdev   2.220
  163.   read sequences:       98
  164.   read seq. lengths:    avg    27.9 min      16 max      64 sdev    16.4

  165. SEGMENT: c947  segtype: working
  166. segment flags:          work
  167. reads:                  525     (0 errs)
  168.   read times (msec):    avg  30.870 min   0.567 max 1363.605 sdev 118.374
  169.   read sequences:       301
  170.   read seq. lengths:    avg     1.7 min       1 max      11 sdev     1.6
  171. writes:                 1588    (0 errs)
  172.   write times (msec):   avg 552.739 min   8.078 max 2179.592 sdev 525.372
  173.   write sequences:      1558
  174.   write seq. lengths:   avg     1.0 min       1 max       3 sdev     0.1

  175. SEGMENT: 6487d  segtype: client
  176. segment flags:          clnt
  177. reads:                  1904    (0 errs)
  178.   read times (msec):    avg   6.318 min   1.629 max   9.366 sdev   1.697
  179.   read sequences:       72
  180.   read seq. lengths:    avg    26.4 min      16 max      64 sdev    15.6

  181. SEGMENT: 48a56  segtype: working
  182. segment flags:          work
  183. reads:                  333     (0 errs)
  184.   read times (msec):    avg  33.896 min   0.557 max 1495.904 sdev 126.735
  185.   read sequences:       232
  186.   read seq. lengths:    avg     1.4 min       1 max       5 sdev     0.7
  187. writes:                 1532    (0 errs)
  188.   write times (msec):   avg 547.290 min   7.019 max 2088.306 sdev 473.836
  189.   write sequences:      1505
  190.   write seq. lengths:   avg     1.0 min       1 max       2 sdev     0.1

  191. SEGMENT: 189c2  segtype: working
  192. segment flags:          work
  193. reads:                  212     (0 errs)
  194.   read times (msec):    avg  42.396 min   0.319 max 1507.293 sdev 171.975
  195.   read sequences:       195
  196.   read seq. lengths:    avg     1.1 min       1 max       2 sdev     0.3
  197. writes:                 671     (0 errs)
  198.   write times (msec):   avg 585.932 min  10.046 max 2127.574 sdev 427.059
  199.   write sequences:      655
  200.   write seq. lengths:   avg     1.0 min       1 max       4 sdev     0.2

  201. SEGMENT: 54a51  segtype: working
  202. segment flags:          work
  203. reads:                  37      (0 errs)
  204.   read times (msec):    avg 113.420 min   1.359 max 1333.788 sdev 253.088
  205.   read sequences:       21
  206.   read seq. lengths:    avg     1.8 min       1 max       2 sdev     0.4
  207. writes:                 607     (0 errs)
  208.   write times (msec):   avg 489.555 min  11.503 max 1975.903 sdev 437.007
  209.   write sequences:      595
  210.   write seq. lengths:   avg     1.0 min       1 max       2 sdev     0.1

  211. SEGMENT: 54a71  segtype: working
  212. segment flags:          work
  213. reads:                  107     (0 errs)
  214.   read times (msec):    avg  36.916 min   1.196 max 653.073 sdev 100.017
  215.   read sequences:       56
  216.   read seq. lengths:    avg     1.9 min       1 max       4 sdev     0.4
  217. writes:                 406     (0 errs)
  218.   write times (msec):   avg 482.201 min  17.543 max 1971.418 sdev 438.979
  219.   write sequences:      399
  220.   write seq. lengths:   avg     1.0 min       1 max       2 sdev     0.1

  221. SEGMENT: 18aa2  segtype: working
  222. segment flags:          work
  223. reads:                  130     (0 errs)
  224.   read times (msec):    avg  42.735 min   0.986 max 690.689 sdev 102.825
  225.   read sequences:       79
  226.   read seq. lengths:    avg     1.6 min       1 max       2 sdev     0.5
  227. writes:                 365     (0 errs)
  228.   write times (msec):   avg 487.937 min  11.975 max 2058.624 sdev 453.990
  229.   write sequences:      354
  230.   write seq. lengths:   avg     1.0 min       1 max       2 sdev     0.2

  231. SEGMENT: 247cd  segtype: working
  232. segment flags:          work
  233. reads:                  82      (0 errs)
  234.   read times (msec):    avg  29.228 min   0.364 max 469.480 sdev  80.674
  235.   read sequences:       40
  236.   read seq. lengths:    avg     2.0 min       1 max       8 sdev     2.0

  237. SEGMENT: 3000  segtype: page table
  238. segment flags:          work sys pgtbl
  239. reads:                  10      (0 errs)
  240.   read times (msec):    avg  19.480 min   2.257 max  72.516 sdev  19.615
  241.   read sequences:       10
  242.   read seq. lengths:    avg     1.0 min       1 max       1 sdev     0.0
  243. writes:                 6       (0 errs)
  244.   write times (msec):   avg 322.550 min  17.243 max 1525.233 sdev 538.758
  245.   write sequences:      6
  246.   write seq. lengths:   avg     1.0 min       1 max       1 sdev     0.0

  247. SEGMENT: 18a22  segtype: client
  248. segment flags:          clnt
  249. writes:                 5       (0 errs)
  250.   write times (msec):   avg   8.652 min   6.774 max   9.123 sdev   0.939
  251.   write sequences:      1
  252.   write seq. lengths:   avg     5.0 min       5 max       5 sdev     0.0

  253. SEGMENT: 30908  segtype: client
  254. segment flags:          clnt
  255. writes:                 3       (0 errs)
  256.   write times (msec):   avg  10.678 min   5.510 max  13.262 sdev   3.654
  257.   write sequences:      1
  258.   write seq. lengths:   avg     3.0 min       3 max       3 sdev     0.0

  259. SEGMENT: 7cb7b  segtype: working
  260. segment flags:          work priv
  261. reads:                  1       (0 errs)
  262.   read times (msec):    avg 1041.640 min 1041.640 max 1041.640 sdev   0.000
  263.   read sequences:       1
  264.   read seq. lengths:    avg     1.0 min       1 max       1 sdev     0.0

  265. SEGMENT: 70658  segtype: client
  266. segment flags:          clnt
  267. writes:                 1       (0 errs)
  268.   write times (msec):   avg   2.649 min   2.649 max   2.649 sdev   0.000
  269.   write sequences:      1
  270.   write seq. lengths:   avg     1.0 min       1 max       1 sdev     0.0

  271. SEGMENT: 482d6  segtype: client
  272. segment flags:          clnt
  273. reads:                  1       (0 errs)
  274.   read times (msec):    avg 1106.593 min 1106.593 max 1106.593 sdev   0.000
  275.   read sequences:       1
  276.   read seq. lengths:    avg     1.0 min       1 max       1 sdev     0.0

  277. ------------------------------------------------------------------------
  278. Detailed Logical Volume Stats   (512 byte blocks)
  279. ------------------------------------------------------------------------

  280. VOLUME: /dev/hd6  description: paging
  281. reads:                  3142    (0 errs)
  282.   read sizes (blks):    avg     8.0 min       8 max       8 sdev     0.0
  283.   read times (msec):    avg  28.369 min   0.303 max 1507.291 sdev 113.967
  284.   read sequences:       3112
  285.   read seq. lengths:    avg     8.1 min       8 max      32 sdev     0.9
  286. writes:                 14134   (0 errs)
  287.   write sizes (blks):   avg     8.0 min       8 max      16 sdev     0.1
  288.   write times (msec):   avg 533.053 min   6.280 max 2181.682 sdev 488.100
  289.   write sequences:      14024
  290.   write seq. lengths:   avg     8.1 min       8 max      24 sdev     0.7
  291. seeks:                  17136   (99.2%)
  292.   seek dist (blks):     init 3612920,
  293.                         avg 2402266.6 min       8 max 8363248 sdev 1966958.4
  294. time to next req(msec): avg   3.361 min   0.000 max 1327.676 sdev  29.682
  295. throughput:             1190.2 KB/sec
  296. utilization:            1.00

  297. VOLUME: /dev/fslv00  description: /sybasedata
  298. reads:                  799     (0 errs)
  299.   read sizes (blks):    avg   160.7 min     128 max     256 sdev    55.8
  300.   read times (msec):    avg   6.152 min   1.418 max  14.286 sdev   2.071
  301.   read sequences:       579
  302.   read seq. lengths:    avg   221.7 min     128 max     640 sdev   126.9
  303. seeks:                  579     (72.5%)
  304.   seek dist (blks):     init 213515904,
  305.                         avg  2308.2 min     128 max   76288 sdev  3413.2
  306. time to next req(msec): avg  72.626 min   0.462 max 2468.372 sdev 232.650
  307. throughput:             1105.3 KB/sec
  308. utilization:            0.08

  309. VOLUME: /dev/hd8  description: jfs2log
  310. writes:                 40      (0 errs)
  311.   write sizes (blks):   avg     8.0 min       8 max       8 sdev     0.0
  312.   write times (msec):   avg  51.696 min   2.682 max 786.701 sdev 134.596
  313.   write sequences:      37
  314.   write seq. lengths:   avg     8.6 min       8 max      16 sdev     2.2
  315. seeks:                  37      (92.5%)
  316.   seek dist (blks):     init  76704,
  317.                         avg     8.0 min       8 max       8 sdev     0.0
  318. time to next req(msec): avg 999.509 min   2.715 max 37889.178 sdev 5908.599
  319. throughput:             2.8 KB/sec
  320. utilization:            0.04

  321. VOLUME: /dev/hd9var  description: /var
  322. reads:                  1       (0 errs)
  323.   read sizes (blks):    avg     8.0 min       8 max       8 sdev     0.0
  324.   read times (msec):    avg 1106.581 min 1106.581 max 1106.581 sdev   0.000
  325.   read sequences:       1
  326.   read seq. lengths:    avg     8.0 min       8 max       8 sdev     0.0
  327. writes:                 7       (0 errs)
  328.   write sizes (blks):   avg    12.6 min       8 max      32 sdev     8.4
  329.   write times (msec):   avg   7.979 min   2.642 max  13.225 sdev   3.236
  330.   write sequences:      7
  331.   write seq. lengths:   avg    12.6 min       8 max      32 sdev     8.4
  332. seeks:                  8       (100.0%)
  333.   seek dist (blks):     init  18240,
  334.                         avg 13269.7 min     328 max   32584 sdev 11315.0
  335. time to next req(msec): avg 5451.744 min   0.030 max 38280.898 sdev 12525.400
  336. throughput:             0.8 KB/sec
  337. utilization:            0.02

  338. VOLUME: /dev/hd4  description: /
  339. writes:                 1       (0 errs)
  340.   write sizes (blks):   avg     8.0 min       8 max       8 sdev     0.0
  341.   write times (msec):   avg   1.469 min   1.469 max   1.469 sdev   0.000
  342.   write sequences:      1
  343.   write seq. lengths:   avg     8.0 min       8 max       8 sdev     0.0
  344. seeks:                  1       (100.0%)
  345.   seek dist (blks):     init  25288
  346. time to next req(msec): avg 38424.827 min 38424.827 max 38424.827 sdev   0.000
  347. throughput:             0.1 KB/sec
  348. utilization:            0.00

  349. ------------------------------------------------------------------------
  350. Detailed Physical Volume Stats   (512 byte blocks)
  351. ------------------------------------------------------------------------

  352. VOLUME: /dev/hdisk1  description: N/A
  353. reads:                  3142    (0 errs)
  354.   read sizes (blks):    avg     8.0 min       8 max       8 sdev     0.0
  355.   read times (msec):    avg   7.325 min   0.293 max 171.794 sdev   7.360
  356.   read sequences:       3114
  357.   read seq. lengths:    avg     8.1 min       8 max      32 sdev     0.8
  358. writes:                 12052   (0 errs)
  359.   write sizes (blks):   avg     9.1 min       8 max      56 sdev     3.5
  360.   write times (msec):   avg  10.357 min   0.660 max 404.042 sdev  11.911
  361.   write sequences:      12050
  362.   write seq. lengths:   avg     9.1 min       8 max      56 sdev     3.5
  363. seeks:                  15164   (99.8%)
  364.   seek dist (blks):     init 133116408,
  365.                         avg 3657492.3 min       8 max 109026584 sdev 18163601.3
  366.   seek dist (%tot blks):init 92.84557,
  367.                         avg 2.55102 min 0.00001 max 76.04348 sdev 12.66869
  368. time to next req(msec): avg  12.478 min   0.002 max 1327.678 sdev  56.007
  369. throughput:             1158.8 KB/sec
  370. utilization:            1.00

  371. VOLUME: /dev/hdisk3  description: N/A
  372. reads:                  799     (0 errs)
  373.   read sizes (blks):    avg   160.7 min     128 max     256 sdev    55.8
  374.   read times (msec):    avg   6.143 min   1.410 max  14.275 sdev   2.071
  375.   read sequences:       579
  376.   read seq. lengths:    avg   221.7 min     128 max     640 sdev   126.9
  377. seeks:                  579     (72.5%)
  378.   seek dist (blks):     init 386535296,
  379.                         avg  2308.2 min     128 max   76288 sdev  3413.2
  380.   seek dist (%tot blks):init 45.09819,
  381.                         avg 0.00027 min 0.00001 max 0.00890 sdev 0.00040
  382. time to next req(msec): avg  72.626 min   0.461 max 2468.374 sdev 232.651
  383. throughput:             1105.3 KB/sec
  384. utilization:            0.08
  385. #
复制代码

论坛徽章:
0
5 [报告]
发表于 2013-11-28 21:25 |只看该作者
本帖最后由 huowz 于 2013-11-29 08:52 编辑

    根据 iostat 的结果表现为 hdisk1 活动百分比高,而同属于 rootvg 的 hdisk0 却基本不活动,因此首先考虑的是使用 reorgvg 命令重新组织卷组,结果是 hd6 被自动转移到了 hdisk0,重组过程中观察 iostat,发现两块硬盘速率均可达到 20Mbps,排除硬盘故障。
    接下来使用 migratelp hd6/x hdisk1/x 命令,将编号是偶数的一半卷组从 hdisk0 转移到 hdisk1, 发现两块硬盘活动百分比都达到80左右,但是 IOwait 仍然很高。
    最后考虑从更改内存参数入手解决。参考 http://www.ibm.com/developerwork ... -memtun3/index.html,利用 vmo -a 命令查询内存参数,发现 lru_file_repage 值为默认的‘1’,改为‘0’。用 vmstat 观察,刚开始时 pi 达到1000左右,po 消失,十分钟后 pi 也基本消失,颠簸现象基本消除。相应的,cpu 占用率从平均 80 峰值 99 降到 30 左右,性能调优初见成效!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP