Clearly throttled in Brazil

Home > Random stuff > Clearly throttled in Brazil

Clearly throttled in Brazil

2026-11-12

tl;dr: A Brazilian internet provider only gives you the contracted bandwith when you access sites that measure connection performance. Otherwise you only get a small fraction of the contracted speed.

A couple of years ago, in a trip to Brazil, I visited my mother. At her place, I was trying to download some photo files from my server using rsync. She had a 50Mbps contract, and I was downloading files at around 2.5Mbps, so using 5% of the bandwidth. My initial thought was that the connection to the server was bad at some point along the way.

So I decided to use one of these web sites to measure the connection performance. I chose speedcheck.org. Not so surprisingly, the connection speed as reported by the speedcheck.org was much higher than the one I was getting. I tried a couple of other connection performance measurement websites and got similar results. I still couldn't eliminate the possibility that I was downloading from a slow path.

But then after a while I realized that the scrolling speed of lines in the terminal I was using to fetch photo files increased whenever I accessed the websites to measure the connection speed. Reproducibly. The size of photo files don't vary much, so the scroll speed variation was not due to differences in size of files. Besides that, I confirmed using the network monitor in my desktop bar that the connection speed was actually faster for a few seconds after the performance measurement from the website was finished (*).

The video below illustrates the situation (you can also download if from here). Check the scroll speed of the terminal while the performance test is being executed. Notice how the upload speed is higher than the download speed, presumably because I was using a good share of the download bandwidth for the photo files.

As a workaround for that situation, I made a script that downloaded the payload file from the connection speed-measurement website in a loop (sorry, speedcheck.org!). While the download of the payload file ate part of the bandwidth, the remaining bandwidth was still 10x greater than what I was getting without the parallel payload download.

(*) While observing that, I also noticed that I was using a broken version of my desktop bar, which caused the network monitor to report weird values. The issue had been fixed already, but I had not updated it in my travel notebook and, funnily enough, only realized the problem after I had recorded the video :-). Please also note that in this text I've used bits per second (bps) and the network monitor shows bytes per second (Bps).

P.S.: Portuguese speakers might notice the pun related to Clearly in the title of this text (the name of the Internet provider is Claro -- one of the possible translations of Clear).