How do I simulate a low bandwidth, high latency en

2019-01-05 06:47发布

I need to simulate a low bandwidth, high latency connection to a server in order to emulate the conditions of a VPN at a remote site. The bandwidth and latency should be tweakable so I can discover the best combination in order to run our software package.

22条回答
我想做一个坏孩纸
2楼-- · 2019-01-05 07:43

I would try using netem on linux. With it you can simulate additional delay, corruption, packet loss and duplication. It even works on the loopback device.

查看更多
Summer. ? 凉城
3楼-- · 2019-01-05 07:44

There is a product from http://www.shunra.com called VE Desktop which can be used to simulate varying network conditions. It allows you to tweak latencies, bandwidth and packetloss with a simple UI. Only caveat is, its not free. Hope this helps.

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2019-01-05 07:45

I've been looking for an easy to use tool for this type of testing for a while now. I just came across this the other day: Network Delay Simulator

If you're running Windows, you should check it out. It was super easy to set up and get going, and seems to work really well. It allows you to define bandwidth, latency, and packet loss in each direction. The other really nice thing is that you can define "Flow Match Conditions" so that it only affects the traffic you want it to. Oh yeah, and it's free.

查看更多
手持菜刀,她持情操
5楼-- · 2019-01-05 07:45

We used this software once inside of a Virtual Machine to do some bandwidth scale testing:

http://www.softinengines.com/index.php?section=download&langu=en

It's not free, but does have a 30 day trial.

查看更多
虎瘦雄心在
6楼-- · 2019-01-05 07:47

Try WANem

WANem is a Wide Area Network Emulator, meant to provide a real experience of a Wide Area Network/Internet, during application development / testing over a LAN environment.

查看更多
We Are One
7楼-- · 2019-01-05 07:49

I guess tc could do the job on UNIX based platform.

tc is used to configure Traffic Control in the Linux kernel
http://lartc.org/manpages/tc.txt

查看更多
登录 后发表回答