News for hackers. Stuff that matters.
Re:Manually Throttle the Bandwidth of a Linux Network Interface by FabHK on Sunday April 02, 2017 @02:47PM (#14018380)
BTW, I've no idea of the technicalities of this, but I travel frequently to places with terrible internet (and of course billions of people live in such places), and many web experiences degrade considerably.

If some supercool app or videos don't work, sure, no problem, but if reading some programming documentation (with maybe 30KB of actual text) or a bank statement (with maybe 2KB of actual information) or even getting a restaurant address/phone number doesn't work because of monstrously huge sites with much back and forth (what's the technical term here...), that's frustrating.

So please please please do try to make your sites usable over bad connections :-)

Re:Manually Throttle the Bandwidth of a Linux Network Interface by walrus01 on Sunday April 02, 2017 @05:47PM (#14019222)
When working in locations with really terrible net connections, one of the things I have resorted to is a VNC session that is a 1920x1200 desktop (256 color) tunneled inside SSH. In this setup the workstation's VNC client connects to a port on localhost that is SSH forwarded to the remote host. With the right SSH settings for timeout and keepalive it can be surprisingly usable. Then open up whatever application you have that is terrible on high-jitter/high-latency connections inside Chrome or Firefox, or as a native desktop app on the machine that is hosting the VNC session.
Re:Manually Throttle the Bandwidth of a Linux Network Interface by kovek on Sunday April 02, 2017 @05:58PM (#14019274)
How would you get to having the right SSH settings for timeout and keep alive?

What I've done when using a slow connection is run emacs with w3m on a remote server and get the rendered text through SSH. I'm realizing more and more that a lot of our interfaces are more visual so I might try your method.

Re:Manually Throttle the Bandwidth of a Linux Network Interface by walrus01 on Sunday April 02, 2017 @05:59PM (#14019281)
Either by pushing the settings from the ssh client (http://www.gsp.com/cgi-bin/man.cgi?topic=ssh_config) or by changing the settings on the /etc/ssh/sshd_config file of the machine that is both hosting the VNC server and hosting the ssh daemon.

https://www.google.com/search?q=ssh+timeout+keepalive+sshd_c...

Re:Manually Throttle the Bandwidth of a Linux Network Interface by wtallis on Sunday April 02, 2017 @02:59PM (#14018431)
> So please please please do try to make your sites usable over bad connections :-)

This is only going to happen if people are accurately simulating the true problem. The instructions given in the article and the measures implemented by wrappers like the comcast tool mentioned in another comment do not simulate anything remotely realistic. Testing against a simulation like this can help verify that the obvious changes like reducing image sizes and the total number of requests for a page will help, but it won't fully show how things like the CDG and BBR TCP congestion control methods help.