免费注册 查看新帖 |

Chinaunix

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

SUN V880 IO等待过高问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-13 10:45 |只看该作者 |倒序浏览
我单位一台SUN V880,4CPU,内存8G,硬盘72G*6(1或1.5万转?),一个做系统盘,另5个做RAID5,SUNOS 5.8+ORACLE 8.1.7,在数据库中做大批量数据的INSERT或UPDATE时,top和sar均提示IO等待高达50%以上,另外FTP大文件到这台机子也提示IO等待30%以上,总体性能还不如另一台HP LH6000(2CPU,内存2G,REDHAT LINUX 7.2+ORACLE 8.1.6)。请各位高手不吝赐教,是硬件还是软件原因?

# sar 1 10

SunOS server 5.8 Generic_108528-27 sun4u    04/13/04

09:47:56    %usr    %sys    %wio   %idle
09:47:57       1       2      61      36
09:47:58       0       2      62      36
09:47:59       1       2      52      45
09:48:00       0       0      53      47
09:48:01       1       0      53      46
09:48:02       2       1      58      39
09:48:03       1       1      58      40
09:48:04       1       1      51      47
09:48:05       2       0      63      35
09:48:06       0       1      59      40

Average        1       1      57      41

#top
load averages:  0.02,  0.03,  0.04                                                         09:53:09
82 processes:  81 sleeping, 1 on cpu
CPU states: 46.4% idle,  0.0% user,  0.9% kernel, 52.6% iowait,  0.0% swap
Memory: 8192M real, 1732M free, 4850M swap in use, 5780M swap free

   PID USERNAME THR PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
14768 oracle   258  58    0    0K    0K sleep    1:59  0.30% oracle
18314 root       1  52    0 2064K 1216K cpu/1    0:00  0.06% top
    80 root      14  11    0 8024K 6384K sleep   42:29  0.02% picld
   341 root       1  28   10 3928K 2672K sleep    0:06  0.01% nsrindexd
16223 oracle     1  58    0    0K    0K sleep    6:11  0.00% oracle
18089 oracle     1  58    0    0K    0K sleep    3:41  0.00% oracle
14816 oracle    11  58    0    0K    0K sleep    1:39  0.00% oracle
14770 oracle    11  58    0    0K    0K sleep    0:58  0.00% oracle
14772 oracle    11  58    0    0K    0K sleep    0:16  0.00% oracle
   644 root       1  59    0   38M   79M sleep    0:14  0.00% Xsun
18294 oracle     1  58    0    0K    0K sleep    0:11  0.00% oracle
14820 oracle    11  58    0    0K    0K sleep    0:10  0.00% oracle
15261 oracle    11  58    0    0K    0K sleep    0:08  0.00% oracle
   222 root      11  58    0 2784K 1944K sleep    0:05  0.00% nscd
14774 oracle     1  58    0    0K    0K sleep    0:04  0.00% oracle

# iostat -E
sd6      Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: TOSHIBA  Product: DVD-ROM SD-M1401 Revision: 1009 Serial No: 12/20/00
Size: 18446744073.71GB <-1 bytes>;
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
ssd0     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST373405FSUN72G  Revision: 0638 Serial No: 0231K23SMZ
Size: 73.40GB <73400057856 bytes>;
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
ssd1     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST373405FSUN72G  Revision: 0638 Serial No: 0231K23V2T
Size: 73.40GB <73400057856 bytes>;
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
ssd2     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST373405FSUN72G  Revision: 0638 Serial No: 0231K23SNN
Size: 73.40GB <73400057856 bytes>;
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
ssd3     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST373405FSUN72G  Revision: 0638 Serial No: 0231K23RSL
Size: 73.40GB <73400057856 bytes>;
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
ssd4     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST373405FSUN72G  Revision: 0638 Serial No: 0231K23SVD
Size: 73.40GB <73400057856 bytes>;
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
ssd5     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST373405FSUN72G  Revision: 0638 Serial No: 0231K23VLG
Size: 73.40GB <73400057856 bytes>;
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0

# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c1t0d0s0    10327372 1977574 8246525    20%    /
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
swap                 5917088      16 5917072     1%    /var/run
swap                 5917480     408 5917072     1%    /tmp
/dev/md/dsk/d5       276753209 235813844 38171833    87%    /oracle
/dev/dsk/c1t0d0s7    50552800 16670723 33376549    34%    /export/home

#more init.ora
open_cursors = 300
max_enabled_roles = 30
open_links  = 200
processes = 300

db_block_buffers  = 500000
shared_pool_size  = 512000000
large_pool_size   = 157286400
java_pool_size = 31457280
log_buffer  = 1048576
sort_area_size           = 10485760
sort_area_retained_size  = 10485760

log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800

db_block_size = 8192
remote_login_passwordfile = exclusive
os_authent_prefix = ""

job_queue_processes = 4
job_queue_interval = 60
distributed_transactions = 10
compatible = "8.1.0"

论坛徽章:
0
2 [报告]
发表于 2004-04-15 14:05 |只看该作者

SUN V880 IO等待过高问题

建议RAID5变为raid1试试,另外最好别用SUN的FREE的disksuite!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP