Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Network tools that simulate slow network connection [closed]

I would like to visually evaluate web pages response time for several Internet connections types (DSL, Cable, T1, dial-up etc.) while my browser and web server are on the same LAN or even on the same machine. Are there any simple network tools or browser plug-ins that slow down network bandwidth to simulate different real-world connection scenarios.

I appreciate any input on that.

like image 566
MaxK Avatar asked Sep 26 '22 12:09

MaxK


People also ask

How do I intentionally throttle my Internet connection?

Press Control+Shift+J or Command+Option+J (Mac) Navigate to the Network Tab and open the Throttling dropdown which is set to Online by default. From the dropdown menu highlighted (as shown in the image above), select Slow 3G. 5. Long press on the Reload icon at the left of the address bar.

How do you simulate network packet loss?

To simulate packet loss, you can use an open source tool called tc (traffic control). tc can be installed on any Linux host. With this tool you can introduce packet loss to a network interface, as well as increase in latency and round-trip time.


1 Answers

On Linux, see netem: the kernel already contains support for traffic shaping, and can simulate high latency, low bandwidth, packet losses, and all sort of other adverse conditions, even on a loopback device (so you don't need a real, physical network to test across).

like image 280
ephemient Avatar answered Oct 07 '22 15:10

ephemient