`
happyqing
  • 浏览: 3151819 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

LoadRunner客户机TCP/IP参数优化

阅读更多

在注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters里,

修改如下两个键值:

 

TcpTimedWaitDelay 5 释放连接的等待时间,默认值是30s。调小

(创建名为 MaxUserPort 的新 REG_DWORD 值。)

MaxUserPort 65536  端口号数量,调大

 

windows查看TIME_WAIT连接的数据量

(linux:netstat -an | grep TIME_WAIT -wc

netstat -an|find "xxx.xxx.xxx.xxx:端口" |find  "ESTABLISHED" /c 

netstat -an|find "10.10.10.10:8080" |find "TIME_WAIT" /c

netstat -an|find "ESTABLISHED" /c

netstat -an|find "TIME_WAIT" /c

netstat -an|find "CLOSE_WAIT" /c

 

windows命令行下也有好工具(一)-统计端口的连接数

http://blog.sina.com.cn/s/blog_6441e0640102vaeg.html

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics