您的位置:首页 > 其它

How to Accelerate Your Test Automation Execution speed 3-4 times with only one setting

2012-03-05 13:39 441 查看
Precondition:

 You use WinXP (other windows version may also works, but I have not tried it)

you mainly use your PC to execute test automation case but not to use it as ftp client to transfer large files

You test automation case need to frequent interaction with your DUT(Device Under Test), that is a common behavior of TA case

You are tired of waiting for long TA case execution time and want to speed it up.

then you can do following modification to accelerate your case execution.

In my scenario, the test automation case execution speed have been speed up about 3-4 times.

[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \Tcpip \Parameters \Interfaces \{Adapter-id}]
TcpAckFrequency = 2 (Default=2, 1=Disables delayed ACK, 2-n = If n outstanding ACKs before timed interval, sent ACK)

1.add "TcpAckFrequency" with DWORD, set value to 1.

2.And reboot your OS

Just enjoy "The Need for Speed"!!!

If you want to know deeply why this setting works, you can refer following articles:

http://smallvoid.com/article/winnt-nagle-algorithm.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐