Solaris系统性能管理.ppt

  1. 1、本文档共72页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * “ * 文件系统参数 (ufs_WRITES ,ufs_HW,ufs_LW) 当有大量的写操作时,可以调整write throttle 以提供最好的性能 当ufs_WRITES为1时, write throttle 被激活 当大量明显的操作的值超过了ufs_HW定义的值时,写操作就被挂起,直到小于ufs_LW定义的值。这样当大量写操作进行时可增加性能 The default value: ufs:ufs_WRITES=1 文件系统参数 (ufs_WRITES ,ufs_HW,ufs_LW) 不建议将ufs_WRITES 的值设为 0. 当值为0时,会使整个系统的内存资源被IO 请求耗尽 范围0 或1 文件系统参数 (ufs_WRITES ,ufs_HW,ufs_LW) ufs_LW默认值为 256 x 1024 byte ufs_HW默认值为 384 x 1024 byte 范围: 0 to MAXINT 文件系统参数(ufs_HW / ufs_LW) 当ufs_LW 和 ufs_HW的值过于接近时,写操 作会产生问题 当ufs_LW 和 ufs_HW的值差距过大时,会产 生不必要的等待 同时更改 ufs_HW and ufs_LW 的值,以避免 混淆 文件系统优化(maxpgio) 从分页系统中可申请的最大I/O请求分页数(IOs) 可限制对交换区设备的I/O请求速度 值设置过高会产生虚假的大cache需求或在cache产生无用垃圾 值设置过低会影响影响cache写入性能 默认值为40 范围为1-1024 The default value: ufs:ufs_maxpgio=40 网络优化 部分 TCP/IP 参数可别优化 通过 ndd命令 /etc/system or /etc/rc2.d/S69inet TCP网络优化 当有大量信息传输时,优化TCP参数 100 Mbit专网 # ndd -set /dev/tcp tcp_xmit_lowat 8000 # ndd -set /dev/tcp tcp_xmit_hiwat 24000 Gigabit Ethernet (or 100 Mbit) # ndd -set /dev/tcp tcp_xmit_lowat 16000 # ndd -set /dev/tcp tcp_xmit_hiwat 256000 何时网络优化 用 netstat 命令查看建立连接数和等待数 #!/bin/sh echo echo TCP Connections for: `hostname` echo ESTABLISHED: `netstat -n | egrep ESTAB | wc -l` echo various WAITs: `netstat -n | egrep WAIT | wc -l` 如果等待数达到几千,则TCP需要优化 有用的网址 /db/doc/806-6779?l=zh /~psg/unix/Solaris/troub leshoot 谢谢大家! 感谢您的观看! * * * Kernel tuning requires intimate knowledge of the customers configuration, application and procedures. It can result in slight performance gains or losses if done incorrectly. It is not in the scope of this course. * * * Latency, or response time, refers to the amount of time users must wait for work to complete. Utilization is the measure of the amount of resources used to do work. Throughput is the amount of work completed in a given amount of time. * There are generally four factors that affect syst

文档评论(0)

xiangxiang + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档