Solaris7 交流 -- 重新配置系统核心tcp_ip_abort_cinterval (read and write) tcp_ip_abort_linterval (read and write) tcp_ip_abort_interval (read and write) tcp_ip_notify_cinterval (read and write) tcp_ip_notify_interval (read and write) tcp_ip_ttl (read and write) tcp_keepalive_interval (read and write) tcp_maxpsz_multiplier (read and write) tcp_mss_def (read and write) tcp_mss_max (read and write) tcp_mss_min (read and write) tcp_naglim_def (read and write) tcp_rexmit_interval_initial (read and write) tcp_rexmit_interval_max (read and write) tcp_rexmit_interval_min (read and write) tcp_wroff_xtra (read and write) tcp_deferred_ack_interval (read and write) tcp_snd_lowat_fraction (read and write) tcp_sth_rcv_hiwat (read and write) tcp_sth_rcv_lowat (read and write) tcp_dupack_fast_retransmit (read and write) tcp_ignore_path_mtu (read and write) tcp_rcv_push_wait (read and write) tcp_smallest_anon_port (read and write) tcp_largest_anon_port (read and write) tcp_xmit_hiwat (read and write) tcp_xmit_lowat (read and write) tcp_recv_hiwat (read and write) tcp_recv_hiwat_minmss (read and write) tcp_fin_wait_2_flush_interval (read and write) tcp_co_min (read and write) tcp_max_buf (read and write) tcp_zero_win_probesize (read and write) tcp_strong_iss (read and write) tcp_rtt_updates (read and write) tcp_wscale_always (read and write) tcp_tstamp_always (read and write) tcp_tstamp_if_wscale (read and write) tcp_rexmit_interval_extra (read and write) tcp_deferred_acks_max (read and write) tcp_slow_start_after_idle (read and write) tcp_slow_start_initial (read and write) tcp_co_timer_interval (read and write) tcp_extra_priv_ports (read only) tcp_extra_priv_ports_add (write only) tcp_extra_priv_ports_del (write only) tcp_status (read only) tcp_bind_hash (read only) tcp_listen_hash (read only) tcp_conn_hash (read only) tcp_queue_hash (read only) tcp_host_param (read and write) tcp_1948_phrase (write only) ndd命令语法为 #ndd –set driver parameter 显示当前值 #ndd /dev/arp arp_debug 0 0:代表特性禁止 ndd –set /dev/arp arp_debug 1 1:允许 由于这些参数一般是经过优化过的,而且一旦改变失误,可能导致系统的不正常工作。 所以sun不提供文档供人随意调节。 See ndd(1M) for more information; 但是tcp_conn_hash_size和ipc_tcp_conn_hash_size这两个参数只能在/etc/system中 设置; 如果想在系统启动过程中修改TCP/IP参数,需要将NDD命令加入启动脚本中。使用下面的 方法来创建一个包含NDD命令的启动脚本; · 在/etc/init.d路径下建立一个脚本,并在相应 /etc/rc2.d,/etc/rc1.d,/etc/rcs.d建立相应的连接; · 这个脚本必须在S69inet和S72inetsvc脚本之间; · 该文件名的前缀为S70或S71。有同一前缀的脚本连续执行,不会有什么问 题; · 参阅/etc/init.d目录下的README文件获取更多的信息; tcp:tcp_conn_hash_size 默认值为 256,在忙的服务器建议增加; 控制TCP模块哈希表的大小 $ ndd /dev/tcp tcp_conn_hash tcp_conn_hash_size = 256 TCP dest snxt suna swnd rnxt rack rwnd rto mss w sw rw t recent [lport,fport] state 251 f5bcf2a8 130.075.003.xxx 204a5e77 204a5e77 0000032120 e6255721 e6255721 0000034752 02000 01448 1 00 00 1 002a16c0 [22, 1022] TCP_ESTABLISHED 上一篇:Sun Solaris 用户手册 -- 三.系统安装 下一篇:Solaris7 交流 --- 进程管理、进程控制及cron处理 更多相关文章
|
推荐文章
精彩文章
|