我想直观地评估网页的几个互联网连接类型的响应时间(DSL,电缆,T1,拨号等),而我的浏览器和网络服务器是在同一局域网,甚至在同一台机器上。是否有任何简单的网络工具或浏览器插件来降低网络带宽,以模拟不同的现实连接场景。

对此我很感激。


当前回答

You can use dummynet ofcourse, There is extension of dummynet called KauNet. which can provide even more precise control of network conditions. It can drop/delay/re-order specific packets (that way you can perform more in-depth analysis of dropping key packets like TCP handshake to see how your web pages digest it). It also works in time domain. Usually most the emulators are tuned to work in data domain. In time domain you can specify from what time to what time you can alter the network conditions.

其他回答

你也可以尝试WANem,这是一个开源的广域网模拟器。您可以下载映像(ISO、Knoppix live CD)或VMWare虚拟设备。

我已经成功地使用TMnetSim(页面底部,在“其他工具”下-链接显示类似于“ZIP: TMnetSim网络模拟器2.4 32位(600KB)”

它不仅仅适用于网站——你可以减慢任何TCP端口的连接。我用它来模拟一个缓慢的SQL Server(端口1433)。

试试微软的NEWT吧,它非常适合我。它提供了定制的延迟,数据包丢弃技术和更多:)

http://blog.mrpol.nl/2010/01/14/network-emulator-toolkit/

更新1:

这是一个很好的NEWT -视频教程 网络仿真器For Windows Toolkit教程(credit to Jimmery)

我的作品使用了这个工具,看起来还不错: http://www.dallaway.com/sloppy/

祝你好运。

如果你想要一个硬件解决方案,Netgear有一系列便宜的(50美元左右)交换机来限制带宽。Netgear Prosafe GS105E和类似的交换机值得研究。