Why Your Rural Uplink Is Fine at Lunch and Useless at 8pm
Your server answers instantly at 11am, and at 8pm the same box times out. Same cable, same config, nothing new in the logs. The usual culprit is contention: the capacity between you and the wider internet is shared, and your neighbours get home from work at about the time you do.
Annoyingly, contention looks like a dozen other faults. Before you blame the ISP, prove where the slowdown lives. That takes a log file and a few days of patience.
Contention is a planning ratio, not a promise
Shared access networks (4G and 5G cells, fixed wireless masts, satellite beams, the backhaul behind a street cabinet) are built on a bet: not everyone uses full speed at once. The bet is good at lunchtime and poor at 8pm.
Rural links often suffer more because the shared piece is small. A mast serving a few dozen homes has far less headroom than a city exchange, so a handful of people streaming video moves the numbers.
Upload tends to go first. Consumer links are usually provisioned with much less upstream than downstream, and a server lives entirely on upstream.
First, rule out your own house
The contention might be you. Evening is when a console starts a download, phones back up photos and your own cron jobs fire. Check these before anything else:
- Is anything else on the LAN saturating the uplink? Look at the router's per-device counters.
- Do your own scheduled jobs (backups, syncs, container pulls) run in the evening?
- Does the slowdown appear with every other device unplugged?
If a quiet house still slows down at 8pm, the problem is outside your front door.
Log latency and upload speed by the hour
You need two latency readings and one throughput reading, on a timer. The first latency target is as close to you as possible (the first ISP hop that mtr shows). The second is somewhere far away. The throughput test needs a box you control, such as a cheap VPS running iperf3 -s.
#!/bin/sh
# NEAR: first hop beyond your own router; VPS: your iperf3 server
NEAR=203.0.113.1
VPS=vps.example.org
while :; do
ts=$(date -Is)
near=$(ping -c 10 -q "$NEAR" | awk -F/ '/^rtt/ {print $5}')
far=$(ping -c 10 -q 1.1.1.1 | awk -F/ '/^rtt/ {print $5}')
up=$(iperf3 -c "$VPS" -t 5 -J | jq '.end.sum_sent.bits_per_second')
echo "$ts near=$near far=$far up_bps=$up"
sleep 300
done >> uplink.log
Run it for a week, including a weekend. One evening proves nothing; seven evenings that all dip at the same hour is a pattern you can show someone.
Reading the log
The near and far columns tell you which segment is guilty:
- Both climb together, and upload falls: the shared access segment is congested. This is the contention signature.
- Near is flat but far climbs: the problem is further upstream, in the ISP's transit or peering.
- Neither moves but the service still struggles: look at your own server, not the network.
Run a test while the problem is live, and again with your house idle. If the numbers move with the clock and not with your own activity, you have your answer.
Quick detour: why a small rise in latency hurts so much
You might see latency go from 40ms to 120ms with a per cent or two of loss, and wonder why services fall over rather than merely slow down. The Mathis approximation for a single TCP flow says throughput is roughly proportional to MSS / (RTT x sqrt(loss)).
Both terms hurt at once. Triple the RTT and throughput drops to a third; add loss and it drops again, by the square root. It is an approximation for steady-state flows, but the direction of the effect is reliable: a link that is "a bit worse" is much worse for TCP.
Back to the main thread.
What you can actually do
You cannot add capacity to someone else's mast, but you can stop making the evening worse:
- Move heavy jobs (backups, mirror syncs, large uploads) out of the window. Most backup tools also have a bandwidth cap; use it.
- Shape your own uplink with a smart queue (
cakevia SQM on OpenWrt, for instance) set a little below the evening rate you measured, so your router's queue fills rather than the ISP's. - Add a second link on a different technology, with failover. Two links on the same mast share the same contention.
- Take the log to your provider. "Upload drops to X Mbit/s between 7pm and 10pm on seven days out of seven" gets further than "it's slow".
What your contract or any published speed commitments entitle you to depends on the provider and the terms you signed, so read yours before complaining, and keep the logs as evidence.
One last caveat: the log shows when the link degrades, not why. A busy evening and a faulty radio can look identical, which is a good reason to keep data from the quiet months too.