News for hackers. Stuff that matters.
Re:SpaceX Starlink has some hiccups as expected, but users a... by withinboredom on Sunday November 15, 2020 @09:01PM (#25107126)
The thing with satellite internet (up and downlink) is mostly to do with jitter. You can get pretty good rates on a nice day, but you can’t control air refraction 2 miles off the ground doing weird stuff to your signal. I experimented with many things, but the best solution I had was using TCP over UDP with a server in a data center able to resend TCP (over UDP) packets if they were dropped. I think http3 will help out immensely here.

Source: I ran a small satellite ISP on a base in Afghanistan.

Re:SpaceX Starlink has some hiccups as expected, but users a... by simonebrunozzi on Monday November 16, 2020 @01:48AM (#25108856)
> 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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Sunday November 15, 2020 @09:27PM (#25107287)
Sorry but you're wrong, dedicated 1:1 capacity scpc geostationary links will always be 492-495ms rtt ping latency between teleport and far end. Latency will never be less than the laws of physics and modem FEC dictate, but jitter will be very low.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by gamblor956 on Sunday November 15, 2020 @09:44PM (#25107387)
I like that some random guy on the internet is telling a guy who was in charge of the satellite internet on a military base that he doesn't know anything about satellite internet.

Lost packets increase latency. And weather conditions cause lost packets.

Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Sunday November 15, 2020 @11:48PM (#25108134)
I understand that I am some random guy on the internet, but I've also spent a lot of time in Afghanistan (weird coincidence here, believe me or don't believe me) implementing two way satellite systems, and still work professionally in expensive two way satellite systems. I also happen to be a person who's been doing network engineering for ISPs since 1996-1997 or thereabouts, and currently has business cards that read "Senior Network Engineer" on them. I'm not willing to give up anonymity here, but ask a specific two way satellite technology question and I'll be more than happy to answer.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by viraptor on Sunday November 15, 2020 @10:23PM (#25107615)
Credentials are not that important here. Maybe the random guy also ran satellite internet on a military base, maybe they manufacture the satellite comms gear? The important bit is, are either of those supported by facts and where the technical difference / misunderstanding comes from? (I wouldn't start with "you're wrong" but that's a separate thing)

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Monday November 16, 2020 @12:03AM (#25108230)
What I'm talking about is the nature of a dedicated access (1:1) single carrier per channel geostationary link, via a pair of modems such as comtech cdm760 and appropriately sized rf chains and antennas on both ends. It'll be a rock solid 492ms and the bandwidth (in Mbps) will be proportional to the size of the transponder space leased, and influenced by antenna sizing/gain, overall link budget, tx power on both ends and so forth.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by shaklee3 on Monday November 16, 2020 @01:36AM (#25108783)
What does the dedicated case have to do with starlink? It will be completely oversubscribed once they are out of beta, or they simply don't make money. So the original comment stands in that latency will vary.
Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Monday November 16, 2020 @01:57AM (#25108917)
I was referring the parent posters's comment that he did serious internet access for military facilities in Afghanistan over geostationary.
Re:SpaceX Starlink has some hiccups as expected, but users a... by runako on Monday November 16, 2020 @01:33AM (#25108768)
(I'm definitely not very knowledgable about any of this, naive questions incoming.)

> 3.8 meter ku band dual linear polarity compact cassegrain dish > a 5.5m dish

Are these receiver sizes in the range of what Starlink expects from users? I had in mind something more like a DirectTV dish. If the consumer dish sizes are indeed smaller, how does that affect the discussion about jitter and other aspects of link quality?

Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Monday November 16, 2020 @01:56AM (#25108906)
No not at all, I was referring to the size of equipment seen in Afghanistan for dedicated geostationary links to military facilities.

The starlink cpe is indeed in the category of directv dish sized.

Re:SpaceX Starlink has some hiccups as expected, but users a... by runako on Monday November 16, 2020 @09:03AM (#25111712)
How does that affect the discussion about jitter and other aspects of link quality?

With only a tiny bit of the relevant subjects under my belt, I would expect the metrics to be significantly worse using a much smaller dish. But it seems like you're suggesting Starlink could achieve similar metrics on a smaller dish? I'm curious how that works. Apologies if I'm misunderstanding.

Re:SpaceX Starlink has some hiccups as expected, but users a... by mlyle on Monday November 16, 2020 @12:50AM (#25108516)
> It'll be a rock solid 492ms

Note that may be true for one bird in Afghanistan, but the path length isn't exactly the same everywhere, nor are the delays of all modulaiton schemes.

Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Monday November 16, 2020 @12:58AM (#25108567)
It will vary a few ms but not much. First hand experience, latency differs at most a millisecond or two between an Afghanistan-germany link, and an Afghanistan-singapore link. More latency variation to internet based things is seen based on where the teleport is. The same as would be experienced by a terrestrial internet user in either Raising, Germany or near the Singtel teleport in Singapore.

For instance our site in Germany was more than 15ms away by fiber from DE-CIX stuff in Frankfurt. The site in Singapore had better latency to any cdn or hosting operation that was in Singapore itself, but much worse if traffic had to find its way through the terrestrial submarine fiber internet to other places. End to end latency between Afghanistan-germany-seattle or Afghanistan-singapore-seattle was considerably different.

Yes, the position of the two end point sites on the sphere that is the earth will have slightly different speed of light times to a satellite in geostationary orbit. But 99% of that latency in the above 490ms figure is the extreme distance of the satellite, and not whether or not one site is slightly further down the sphere, as viewed from a theoretical observer sitting on the satellite.

It is also worth noting that modern scpc/mcpc modems can be intentionally configured to use more computationally "expensive" FECs, in a trade off of slightly more bps/Hz squeezed into a given sized slice of transport kHz, at the expense of a few ms higher latency. This is a network engineering design decision made when a link is first brought online. Modern modems and ASICs, FPGAs have made this less difficult than it used to be. If I can use an analogy for software developers, this is sort of like the speed vs file size trade off choice made between using gzip, bzip2, xzip, at different settings and compression levels.

Re:SpaceX Starlink has some hiccups as expected, but users a... by mlyle on Monday November 16, 2020 @03:29AM (#25109416)
> But 99% of that latency in the above 490ms figure is the extreme distance of the satellite, and not whether or not one site is slightly further down the sphere, as viewed from a theoretical observer sitting on the satellite.

Path length varies from ~34500km to ~42000km (~115ms to ~140ms). So, assuming an ideally placed teleport, from 115 * 4 = 460ms to 115 * 2 + 140 * 2 = 510ms speed of light delay on round trips. This is why I said I found 492ms to be an amazingly over-precise number. Just call it 500ms. :P

Re:SpaceX Starlink has some hiccups as expected, but users a... by drmpeg on Monday November 16, 2020 @03:22AM (#25109375)
The slant range has a significant effect on latency. For two ground stations at the edges of the satellites footprint, each with 10 degree antenna elevation, the latency is around 540 milliseconds.
Re:SpaceX Starlink has some hiccups as expected, but users a... by withinboredom on Monday November 16, 2020 @08:25AM (#25111321)
Wow. I wrote that comment, went to sleep, then work, and now sitting down and eating my lunch... didn't expect to see this blow up. :)

Let me see if I can answer some of this.

We were on a 1:1, eventually. Tried the 8:1 (or something like that) at first and it was terrible.

Latency was almost always, like you said, almost exactly 495ms at the link. However, we'd suffer transient jitter that directly correlated to weather in the atmosphere. Essentially, satellite communication is a laser (parabolas ftw), so this made sense at the time. Correlation doesn't necessarily mean causation, but it was annoyingly correlated.

I only made this correlation because my "day job" in the military had a lot to do with radar, microwave antennas, and optics. So, I'd observe the refraction personally (being able to see mountains as clutter for example, when the radar rays were pointed well over the mountains) and then notice the observed jitter on the network. Not to mention people coming to tell me how unusable Skype was at the moment and could I fix it please?

No offense, but you probably don't see this at your level as a network engineer unless you're "boots on the ground." When you're there and easily accessible, people will come complain to you when any and every little thing that goes wrong and "their wife is threatening to leave them and they can't even have a conversation, omg, fix it right now plz."

In a more corporate setting, people are far less likely to complain about transient issues because they fix themselves before the complaint can be made, or if they do, it's easy to dismiss as other issues.

To be honest, we had those other issues as well. QoS was a thing, and constantly battling bittorrent clients and their users was also a thing. But those issues were usually only during the evenings when lots of people were trying to call home and get on Facebook. I'm talking about when none of those issues were at play, such as late at night or during the day.

The UDP solution was directly related to periods of saturation, specifically I built a custom transparent proxy forked from Squid. It's sole job was to act as a mediator between a server back in the US that did a few things:

1. On the Afghanistan side, it would wrap the HTTP(S) request packet and send it via a TCP control channel to the server in the US.

2. On the US side, it would do some image compression (if applicable) and other things to the response to make it smaller (in bytes).

3. On the US side, it would also keep track of user flows and how much bandwidth each user got, and spit back UDP packets, reserving a dynamic % of bandwidth for control and unregulated packets. There was also an open TCP control connection for sending back smaller things that fit within a few packets.

4. On the Afghanistan side, it would put all these packets together to reform the stream, keeping track of any dropped packets (rare) and then forwarding the completed stream (or once the buffer was full) to the user at 100mbps. If any were dropped, it sent back a bitmap over the open TCP connection to have those frames retransmitted via TCP and then inserted into the stream before going to the client.

It worked fantastic for things like youtube, since the subscriber could make full use of their subscribed bandwidth with a half-second delay after clicking a link. The only things that didn't use that system were things like Skype. We never really had transport-related congestion issues after this was built as a hack, over several weeks. To be honest, it probably would have worked just fine by forwarding over already open TCP connections to the back-end server and giving each subscriber a dedicated stream. However, time in the desert is a premium and once something works good-enough, it pretty much stays that way forever.

> 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 was over ten years ago at this point, so I don't remember the exact models of anything. I do remember it was ku-band, but that's not exactly helpful. :) I sold everything off after getting sent back to the US for a medical discharge. The source was also lost in that pretty crazy time of my life, mostly due to the laptop ceasing to exist. The code still probably exists in SVN somewhere (Google Code, probably).

Re:SpaceX Starlink has some hiccups as expected, but users a... by Dylan16807 on Wednesday November 18, 2020 @03:17AM (#25134308)
So you had physical problems with the signal, and you had jitter, but the physical problems don't directly or inevitably cause jitter. The cause of the jitter has to have been a flawed method of compensating for the signal problems.

Even when you can see a mountain multiple times at once, the apparent distance to the mountain is going to have almost no variance as it shimmers around.

Re:SpaceX Starlink has some hiccups as expected, but users a... by JimDabell on Monday November 16, 2020 @02:11AM (#25108987)
Saying “you’re wrong” is not the same as saying “you don’t know anything about this topic”. Grandparent did the former; you’re accusing them of doing the latter.

Everybody can be wrong about something, no matter how smart / credentialed / experienced they are.

Re:SpaceX Starlink has some hiccups as expected, but users a... by vvanders on Sunday November 15, 2020 @09:57PM (#25107477)
If you want to get pedantic, the band used will determine what natural phenomenon impacts the received signal. Even in those cases FEC and dynamic modulation will let the signal work(at reduced throughout).

That said unless we're talking about lasers air refraction doesn't usually impact RF(there is tropospheric ducting but that's something different).

Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Monday November 16, 2020 @12:19AM (#25108329)
In an example of a modern highly rain fade resistant ptp microwave system in the 18GHz band, standard fcc part 101 fdd band plan. The radios might be talking to each other in both H and V polarities, 80MHz wide channel in both, at 2048QAM 5/6 during a normal sunny day. In an extreme rain fade event they may go all the way down to QPSK 1/2 and the link's capacity in Mbps could be as poor as 40Mbps (from what is nominally a 900Mbps+ link), but the end to end latency will remain pretty much the same.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by ikiris on Sunday November 15, 2020 @10:12PM (#25107550)
uhhh packet loss doesn't change latency? Its loss, which has its own effects, but jesus dude you're just doubling down on you not knowing what you're talking about.
Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Sunday November 15, 2020 @11:53PM (#25108157)
Packet loss on an oversubscribed tdma, contended, shared access cheap VSAT system is a result of too much traffic and not enough pipe. For an analogy think of a big office sharing a 5Mbps DSL line. A properly implemented dedicated geostationary link doesn't have packet loss except under sun transit events, extreme rain fade (for ku and higher bands), and when too many people try to stuff too much traffic through too narrow of a link without appropriate QoS.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by gamblor956 on Monday November 16, 2020 @03:07AM (#25109280)
We're taking about two different types of latency. You, and the other people telling me that I'm wrong, are referring to latency at the packet level, and I am referring to latency at the message\data level. https://en.m.wikipedia.org/wiki/Latency_(engineering)

Ultimately, the latter is the kind of latency the user cares about.

Re:SpaceX Starlink has some hiccups as expected, but users a... by robertlagrant on Monday November 16, 2020 @02:56AM (#25109230)
> I like that some random guy on the internet is telling a guy who was in charge of the satellite internet on a military base that he doesn't know anything about satellite internet.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by ffpip on Sunday November 15, 2020 @09:49PM (#25107431)
> I like that some random guy on the internet is telling a guy who was in charge of the satellite internet on a military base that he doesn't know anything about satellite internet.

Only on HN

Re:SpaceX Starlink has some hiccups as expected, but users a... by jjeaff on Sunday November 15, 2020 @11:15PM (#25107939)
More like everywhere on the internet. Just the other day, I saw some idiot on facebook try to lecture a board certified pulmonologist at one of the state's largest hospital about how covid is nothing to worry about.
Re:SpaceX Starlink has some hiccups as expected, but users a... by renewiltord on Sunday November 15, 2020 @09:38PM (#25107351)
Very interesting. We once had a microwave link setup that would fail during the rain. Admittedly this was maybe 20 years ago so maybe the tech is different, but this would manifest as latency spikes presumably as there was a failure to extract signal and TCP backoff kicked in. i.e. it wasn't physical layer latency but transport layer latency.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Sunday November 15, 2020 @09:41PM (#25107366)
The modern tech is indeed quite different, a modern microwave ptp radio system in rain susceptible bands (11,18,23GHz, etc) will be capable of adaptive coding and modulation to change to looser modulations on the fly during rain fade. With no change in latency, but drops in aggregate Mbps capacity. Of course no amount of ACM will help if someone has engineered the link wrong, at a distance too far, antennas too small, or similar.

For an example of a modern radio google aviat wtm4200.

Re:SpaceX Starlink has some hiccups as expected, but users a... by renewiltord on Sunday November 15, 2020 @09:51PM (#25107438)
Interesting. They appear to be much cheaper (under $15k for the 4100 for the radio). Very cool very cool. Funny how in my head I've been judging a modern Monkeybrains installation by my 20 year old experience.
Re:SpaceX Starlink has some hiccups as expected, but users a... by vvanders on Sunday November 15, 2020 @10:05PM (#25107516)
It's not at the same level but Ubiquiti makes some impressively "cheap" gear in this space that will do 1gbps over decent distances[1]. I've mostly used their lower powered p2p links but it's amazing to see how far the tech has come.

[1] https://operator.ui.com/ptp-bridging

Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Monday November 16, 2020 @12:37AM (#25108444)
I would caution people against using the af11 or AF24 if they don't have to. Ubiquiti doesn't know how to make a serious radio.

For something like the af5xhd, it's a great little thing for its price, and with good quality antennas at both ends can make a very effective bridge. But for more serious things? No. It's so bad they haven't even been able to implement snmpv2 on their $1000+ radios. The af11 is so bad it only uses a 56MHz channel mask in an 80MHz channel.

No matter what manufacturer, serious ptp radios can be distinguished by two things: the presence of terminals for a direct -48vdc wiring connection and sfp/sfp+ ports.

At the very low end of cost, ubnt's 802.11ac chipset ptp bridge radios are great and very cost effective, I'm talking about the powerbeam ac series, nanobeam and similar. For when you want to buy a few hundred bucks of stuff on your credit card to link a few buildings together quickly. For anyone looking at that category of stuff they should also look at mikrotik and mimosa radios.

Re:SpaceX Starlink has some hiccups as expected, but users a... by definetheword on Sunday November 15, 2020 @09:29PM (#25107301)
I want to take a class/course/certficate on space communications. Do you have any great recommendations?

Edit: And, any really good blog series on this? so I know what to expect in such a course

Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Sunday November 15, 2020 @09:31PM (#25107311)
Unfortunately I do not, I learned on the job. I would recommend learning general network engineering and study radio, microwave, physics and wireless communication stuff generally to have a good basis to begin.
Re:SpaceX Starlink has some hiccups as expected, but users a... by vvanders on Sunday November 15, 2020 @09:43PM (#25107380)
For the RF side of things a ham radio license is a fun thing to have. Although you do have to dig a bit to find sections of the hobby that focus more on the digital side of things.
Re:SpaceX Starlink has some hiccups as expected, but users a... by greesil on Monday November 16, 2020 @12:42AM (#25108477)
Maybe the op was using a LEO constellation? Somehow. With military birds. Doppler would cause all kinds of weird stuff to happen I would guess.
Re:SpaceX Starlink has some hiccups as expected, but users a... by walrus01 on Monday November 16, 2020 @12:48AM (#25108508)
The military uses a hell of a lot of iridium, but from context it really sounds to me like he's describing the low end of the COTS C/ku band ISP market.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by TaylorAlexander on Sunday November 15, 2020 @09:48PM (#25107418)
We definitely lost both of our internet uplinks at our California farm when the wildfires filled the air with smoke this summer. One uplink is satellite and for weeks it had no signal as the farm is only a few kilometers from one of the largest fires.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by beams on Sunday November 15, 2020 @09:25PM (#25107276)
Why TCP over UDP? The whole point of TCP is retransmission. What did you gain by encapsulating this way?
Re:SpaceX Starlink has some hiccups as expected, but users a... by bhk on Monday November 16, 2020 @03:28AM (#25109401)
TCP does have retransmission, but it was designed for networks with very low packet loss and where most packet loss is due to congestion, so it does not react quickly to packet loss and when multiple packets are lost it slows down dramatically. TCP typically uses an exponential backoff in re-transmission times to avoid exacerbating congestion.

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.

Re:SpaceX Starlink has some hiccups as expected, but users a... by dvdkhlng on Monday November 16, 2020 @03:06AM (#25109273)
Yes, I had the same confusion. There seems to be a standard for TCP over UDP [1]. But in general, I would assume that it does not help at all WRT any of the packet loss/latency problems posed by satellite links.

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

Re:SpaceX Starlink has some hiccups as expected, but users a... by TYMorningCoffee on Monday November 16, 2020 @02:54AM (#25109214)
He probably saw benefits from using UDP because he's no longer limited by TCP's congestion control and can flood the pipe with duplicates of his packets.
Re:SpaceX Starlink has some hiccups as expected, but users a... by dvdkhlng on Monday November 16, 2020 @03:09AM (#25109293)
> He probably saw benefits from using UDP because he's no longer limited by TCP's congestion control and can flood the pipe with duplicates of his packets.

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....

Re:SpaceX Starlink has some hiccups as expected, but users a... by TYMorningCoffee on Tuesday November 24, 2020 @04:01PM (#25202962)
Then I'm wrong. Thanks for the clarification.
Re:SpaceX Starlink has some hiccups as expected, but users a... by LinuxBender on Monday November 16, 2020 @11:15AM (#25113394)
I found a youtuber that has Starlink and had them run the dslreports bufferbloat test. They received an "A". This suggests that the jitter should be acceptable to most people on Starlink. Note: If running the test on Starlink, select "cable modem" as the Satellite tests on dslreports have not been updated to deal with Starlinks different behavior.

[1] - http://www.dslreports.com/speedtest

Re:SpaceX Starlink has some hiccups as expected, but users a... by anko on Sunday November 15, 2020 @09:32PM (#25107314)
do you think having lower altitude satellites will help with the jitter much?