by withinboredom · 6y ago · 0 comments
Source: I ran a small satellite ISP on a base in Afghanistan.
Irrespective of how right or wrong your first paragraph is; this is one of the reasons I absolutely love the HN community.
If you saw a lot of jitter it was because you were in an oversubscribed, contended tdma network. What was your terminal hardware, what modems were you using and what was the rf chain and modem setup at the far end (not in Afghanistan)?
Latency on terrestrial ptp microwave also does not vary. Ducting and diffraction and temperature inversions on long 6GHz links affects rsl and modulation, not latency.
In the case of starlink, each satellite is functioning as a bent pipe relay between cpe and starlink earth station. Latency will vary a ms or two based on satellite position during a pass overhead, but no more than that. The rest of the latency is the same as from any terrestrial internet customer in the same geographic location as the earth station. For instance one of the beta test earth stations is in north bend, wa, colocated with a level3 long haul dwdm site.
People in WA have been posting tests with latencies of 25-26ms to speed test servers in downtown Seattle. That's actually really, really good, considering that latency to your default gateway on a residential cable docsis3 coaxial connection can easily be 16ms on a terrestrial connection. North bend is a few ms from seattle, the brewster starlink teleport site several ms more.
In the case of starlink they are competing against 32:1 or worse oversubscribed geostationary consumer grade vsat services like viasat and Hughesnet. Starlink is far superior tech.
Lost packets increase latency. And weather conditions cause lost packets.
As a note there were lots of people buying and installing cheap COTS 1.2-1.8 meter size ku band vsat terminals at all sorts of military sites in Afghanistan for MWR purposes, it's not rocket science or really hard to do at all. This stuff was, and is, all kept air gapped and separated from anything that is a real DoD or ISAF/RS network. These were networks for peoples' own personal recreational internet and entertainment in their rest time. You absolutely would see weird latency, jitter, packet loss behavior on those.
They can both be right as walrus01 seems to talk about latency of a single rtt in isolation, and withinboredom about what does the TCP endpoint effectively see.
Example: at one location, a 3.8 meter ku band dual linear polarity compact cassegrain dish in somalia, a 200W BUC+SSPA, good quality norsat PLL LNB, a cdm760 modem. Ten MHz of transponder space occupied total. Other end, a 5.5m dish with similar gear on it in a teleport in Cyprus.
If the person I'm replying to isn't willing or able to clarify whether they were in a contended, or dedicated network, or specify the gear, it's hard to say exactly why they're seeing jitter. But I can quite confidently say that excursions above 495ms are not something seen in a dedicated network.
It's how that dedicated capacity can get sliced up and shared that is the most common cause of packet loss, jitter and high latency in geostationary based two way satellite IP links.
The most common thing for a cheap VSAT isp to do is to acquire one chunk of Ku transponder capacity (let's say about $8000 a month worth), install something like an idirect hub with line cards in it, and sell access to individual end users in $developingnation at an 8:1 oversubscription ratio or more. Meaning that an end user vsat terminal might see 495ms at a lucky time when its peers in the same network were not also moving traffic, but could also often see latency anywhere from 500 to 850 during busy periods.
Now that same 8000 bucks a month of transponder space could equally well be assigned to a single high priority end user with money to pay, in which case they would never see above 495ms. Or it could be oversubscribed to all hell, such as if the ISP wanted to sell $280/month service to a bunch of very cost conscious end users in a developing nation environment who can only afford very cheap VSAT terminal hardware (one 1.2m fiberglass compression molded reflector, a 4W BUC, and an idirect modem) and minimal monthly ongoing payments. In which case each user will be in a 16:1 or worse oversubscribed network.
The economics of making a 5500 kilogram $200 million satellite in geostationary orbit pay for itself, before its lifespan is done in 15 years, are not favorable. If you ever want to truly be shocked go price the $ per Mbps per month that results from the 1:1 dedicated setup I described above.
On the topic of what the average hn reader considers "satellite internet". Based on consumer experience with the absolute cheapest consumer grade ku and Ka band vsat terminals in the usa, they almost 99% of the time mean Hughesnet or viasat/wildblue. Very few people actually have money or reason to lay their hands on real two way satellite stuff. Generally if you work for a company that needs something like a $3500/month link for a mine in Nunavut you're paying some third party experts to implement it.
Everybody can be wrong about something, no matter how smart / credentialed / experienced they are.
That said unless we're talking about lasers air refraction doesn't usually impact RF(there is tropospheric ducting but that's something different).
Latency as experienced by users might be much worse, however, if suddenly 300Mbps of traffic is trying to be shoved through a 40-75Mbps link, for a period of several minutes or more.
From the point of view of an end user on a LAN at a site dependent on two way satellite it may not be possible for them to determine exact why they're seeing packet loss.
Ultimately, the latter is the kind of latency the user cares about.
I like that to you only one is a random guy on the internet. And I should know, I'm the president of the World Liking Things club, and you random guy on the internet have no business liking things like I do.
Only on HN
But my knowledge of networks is fairly rudimentary and old now and now that I think about it, pings would get sudden spikes in the rain too and that's just a lower layer than I'm talking about. hmm. I was also a child then so I might be misremembering.
For an example of a modern radio google aviat wtm4200.
Edit: And, any really good blog series on this? so I know what to expect in such a course
Until very recently you have not been able to move more than 2400 bps through an individual iridium link, limiting it to very low data rate IP networking and single user at a time per device.
The military itself uses a lot more geostationary than you might think at first glance. They don't have their own iridium sized low earth orbit narrow band networks. There's many series of DoD satellites in geostationary, and they also lease a lot of commercial transponder capacity.
The other uplink was a solar powered 4G connection and despite several deep cycle batteries and a few 200 watt panels, the station did not get enough light to stay powered over those weeks.
We finally found a hilltop wireless ISP that can serve us. We’ll try to get Starlink too but I don’t expect that to work well during fire season. It’s tough to be offline for weeks at a time.
When dealing directly with UDP, one can implement different application-level logic for dealing with packet loss: "NAK" packets, different backoff strategies, and even forward error correction.
TCP is designed for encapsulation in IP, this is why it is called TCP/IP. And UDP is very similar to IP, only difference is that UDP gives you source and destination port numbers and a payload checksum, where IP only gives you a protocol numbers and non-checksummed data. None of these "features" is going to have any effect on how TCP is delivered.
So the only effect that use of TCP over UDP would have here is:
- increase the overhead used for headers, thereby decreasing the MSS (segment size)
- "cloak" the TCP traffic as UDP and thereby prevent any routers and/or middleboxes [2] from applying special treatment to TCP (i.e. traffic shaping, buffering etc.)
Maybe the latter effect is what made a difference for the link in question.
[1] https://tools.ietf.org/id/draft-baset-tsvwg-tcp-over-udp-01....
[2] https://en.wikipedia.org/wiki/Middlebox
edit: formatting
But he wrote that he'd used "TCP over UDP". The first lines of the TCP over UDP spec already state
"It provides exactly the same congestion control, flow control, reliability, and extension mechanisms as offered by TCP." [1]
[1] https://tools.ietf.org/id/draft-baset-tsvwg-tcp-over-udp-01....