免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234
最近访问板块 发新帖
楼主: vanvesee
打印 上一主题 下一主题

[性能调优] <解决中><请教>disk busy 100% 解决及调优 [复制链接]

论坛徽章:
0
31 [报告]
发表于 2008-12-28 11:45 |显示全部楼层

回复 #56 冬瓜头 的帖子

mServer1/#ioo -a
         j2_atimeUpdateSymlink = 0
j2_dynamicBufferPreallocation = 16
             j2_inodeCacheSize = 400
           j2_maxPageReadAhead = 128
             j2_maxRandomWrite = 0
       j2_maxUsableMaxTransfer = 512
          j2_metadataCacheSize = 400
           j2_minPageReadAhead = 2
      j2_nBufferPerPagerDevice = 512
j2_nPagesPerWriteBehindCluster = 32
             j2_nRandomCluster = 0
      j2_nonFatalCrashesSystem = 0
         j2_syncModifiedMapped = 1
       j2_syncdLogSyncInterval = 1
            jfs_clread_enabled = 0
             jfs_use_read_lock = 1
                    lvm_bufcnt = 9
                    maxpgahead = 8
                    maxrandwrt = 0
                 memory_frames = 6094848
                    minpgahead = 2
                      numclust = 1
                     numfsbufs = 196
                     pd_npages = 65536
            pgahd_scale_thresh = 0
                   pv_min_pbuf = 512
            sync_release_ilock = 0

mServer1/#iostat -D
hdisk12        xfer:  %tm_act      bps      tps      bread      bwrtn   
                        57.7     15.4M   473.8        8.7M       6.7M
               read:      rps  avgserv  minserv  maxserv   timeouts      fails
                       345.7      1.3      0.1      1.3S          0          0
              write:      wps  avgserv  minserv  maxserv   timeouts      fails
                       128.0      1.1      0.2     30.0S          0          0
              queue:  avgtime  mintime  maxtime  avgwqsz    avgsqsz     sqfull
                        16.5      0.0      1.2M     1.2        0.1    917329075
hdisk11        xfer:  %tm_act      bps      tps      bread      bwrtn   
                        60.2     16.1M   499.3        8.9M       7.2M
               read:      rps  avgserv  minserv  maxserv   timeouts      fails
                       361.8      1.3      0.1      1.3S          0          0
              write:      wps  avgserv  minserv  maxserv   timeouts      fails
                       137.5      1.1      0.2     42.7S   4512981079148984054          0
              queue:  avgtime  mintime  maxtime  avgwqsz    avgsqsz     sqfull
                        19.5      0.0      1.0M     1.4        0.1    966763002

论坛徽章:
0
32 [报告]
发表于 2008-12-28 11:50 |显示全部楼层

回复 #56 冬瓜头 的帖子

性能降低是换磁盘后出现的 出现这样的问题
我们问主机部 他们给予的回复是 “肯定是你们应用的问题”
现在我们做的 就是从应用上进行优化 分离部门帐号出去

感谢您的回复 发现我要学的还有很多

论坛徽章:
0
33 [报告]
发表于 2008-12-28 11:52 |显示全部楼层

回复 #57 Charlemagne 的帖子

mServer1/#fget_config -A -v

---dar0---

User array name = ''
dac2 ACTIVE dac3 ACTIVE

Disk     DAC   LUN Logical Drive
utm             31
hdisk4   dac3    0 mail2-disk1  
hdisk5   dac3    1 mail2-disk2  
hdisk6   dac3    2 mail2-disk3  
hdisk7   dac3    3 mail2-disk4  
hdisk8   dac3    4 mail2-disk5  
hdisk9   dac3    5 mail2-disk6  

这个命令的含义我待会查查。。  存储方面我很菜
网上没查到详细解释 - -
能不能麻烦你讲细点。。 怎么操作。。 我把结果贴出来请你分析。

mServer1/#lsdev -C |grep hdisk
hdisk0         Available 03-08-00-5,0  16 Bit LVD SCSI Disk Drive
hdisk1         Available 03-08-00-8,0  16 Bit LVD SCSI Disk Drive
hdisk2         Defined   05-08-02      MPIO Other FC SCSI Disk Drive
hdisk3         Defined   05-08-02      MPIO Other FC SCSI Disk Drive
hdisk4         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk5         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk6         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk7         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk8         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk9         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk10        Available 05-08-02      MPIO Other FC SCSI Disk Drive
hdisk11        Available 05-08-02      MPIO Other FC SCSI Disk Drive
hdisk12        Available 05-08-02      MPIO Other FC SCSI Disk Drive

[ 本帖最后由 vanvesee 于 2008-12-28 17:49 编辑 ]

论坛徽章:
0
34 [报告]
发表于 2008-12-28 11:54 |显示全部楼层

回复 #58 zlwww1227 的帖子

服务器参数配置什么的都没有变
既然主机部坚持说 问题源自我们的应用
目前仅仅是从应用层进行优化  
不过效果一般  待会我把这周的监控情况整理下 发上来

一周的I/O wait% 平均仍为60%
只能说应用层的问题也排除了  这下不知道主机部的家伙会怎么说

[ 本帖最后由 vanvesee 于 2008-12-28 17:20 编辑 ]

论坛徽章:
0
35 [报告]
发表于 2009-01-02 17:15 |显示全部楼层

回复 #63 Nikolai 的帖子

谢谢您的回复~
"File system must be remounted"
需要重新安装文件系统。。?

这个操作对我来说比较不现实。我没有权力去做

论坛徽章:
0
36 [报告]
发表于 2009-02-02 17:33 |显示全部楼层

回复 #69 jasure 的帖子

谢谢你的回复
前面也有人回复说是 瓶颈在存储上
可是怎么解决呢?如何调优?

论坛徽章:
0
37 [报告]
发表于 2009-02-04 14:40 |显示全部楼层

回复 #28 hp9000a 的帖子

主机部说确实是用Veritas做的存储

论坛徽章:
0
38 [报告]
发表于 2009-02-04 15:48 |显示全部楼层

回复 #73 ronton 的帖子

谢谢。。
不过我输入后得到的结果跟你不大一样:
mServer1/#lsattr -l hdisk12 -E
PCM             PCM/friend/fcpother Path Control Module              False
algorithm       fail_over           Algorithm                        True
clr_q           no                  Device CLEARS its Queue on error True
dist_err_pcnt   0                   Distributed Error Percentage     True
dist_tw_width   50                  Distributed Error Sample Time    True
hcheck_cmd      inquiry             Health Check Command             True
hcheck_interval 300                 Health Check Interval            True
hcheck_mode     nonactive           Health Check Mode                True
location                            Location Label                   True
lun_id          0x2000000000000     Logical Unit Number ID           False
max_transfer    0x40000             Maximum TRANSFER Size            True
node_name       0x50060160c1e06e00  FC Node Name                     False
pvid            none                Physical volume identifier       False
q_err           yes                 Use QERR bit                     True
q_type          simple              Queuing TYPE                     True
queue_depth     1                   Queue DEPTH                      True
reassign_to     120                 REASSIGN time out value          True
reserve_policy  single_path         Reserve Policy                   True
rw_timeout      30                  READ/WRITE time out value        True
scsi_id         0x10800             SCSI ID                          False
start_timeout   60                  START unit time out value        True
ww_name         0x5006016a41e06e00  FC World Wide Name               False
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP