Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

Troubleshooting • Sudden unexplained measured Internet bandwidth reduction

$
0
0
This is a rather off-the-wall post, so if that sort of thing irritates you, then perhaps move on. However, if you'd like to help me solve a bandwidth mystery, then read on.

This on a wireless, headless Pi 4 Model B Rev 1.1 still running Buster. It's located at a condo that I only visit once per month. Its main chore is to upload webcam images to a web host every two minutes and to encode and upload a time lapse video once every 24 hours.

Once a day, at 2:11 AM, it uses the speediest v2.0.2 CLI (via a simple Bash script) to measure the Internet bandwidth. For the last few years this has come out to about 60 Mbps which corresponded well with results from the web based speedtest.net and the AppleTV Speediest app.

The condo has a shared Internet connection for all units; fiber optic to the router, CAT 5 cable to switches on each floor and then CAT 5 to each unit. There are 300+ units most of which are unoccupied except on long weekends and holidays. My router is a Deco20. The Pi is about 3 meters from and in line of sight with the router.

Early this year the bandwidth measured by this Pi suddenly fell to about 30Mbps. Since I wasn't present, I wasn't able to do much checking. I assumed that this was perhaps because of a change in bandwidth policy set by the condo, or perhaps a change in arrangements with the ISP (NT, Thailand's National Telecom company).

Next time I visited (last week) I checked the bandwidth using speediest.net on a MacBook Air. To my surprise it was right around 60Mbs. I immediately manually ran the speedtest CLI on the Pi and was, perhaps, not surprised to see it come in at about 30Mbs. I ran it again on the MacBook making sure to select the same server as the CLI selected on the Pi, and got the same result, around 60Mbs.

So, now I'm stumped. Nothing has changed since the Pi was consistently measuring bandwidth at 60Mbs. It's in the same location (stuck to a baseboard). I've not changed any software or shell scripts. The router is in the same location. Its configuration has not changed.

I do understand that measuring Internet bandwidth is never going to be precise. There are just too many variables involved.

Note that this is not a crucial issue. Even 30Mbs is more than I'll ever use. It's just that the mystery plagues me and I'd like to understand what's happening.

What do I need to look at to figure out what's going on here?

Here are the last 12 results from the Pi:

Code:

2024-02-23 0211 Download: 12 Mbit/s2024-02-24 0211 Download: 34 Mbit/s2024-02-25 0211 Download: 35 Mbit/s2024-02-26 0211 Download: 33 Mbit/s2024-02-27 0211 Download: 20 Mbit/s2024-02-28 0211 Download: 37 Mbit/s2024-02-29 0211 Download: 35 Mbit/s2024-03-01 0211 Download: 37 Mbit/s2024-03-02 0211 Download: 36 Mbit/s2024-03-03 0211 Download: 34 Mbit/s2024-03-04 0211 Download: 18 Mbit/s2024-03-05 0211 Download: 14 Mbit/s

Statistics: Posted by Ratsima — Tue Mar 05, 2024 1:46 am



Viewing all articles
Browse latest Browse all 4151

Trending Articles