News for hackers. Stuff that matters.
Re:How we built a new, fast file transfer protocol by fn-mote on Saturday March 26, 2022 @02:07PM (#30813944)
This article was interesting and also frustrating to read.

1. There are very few numbers. In particular, improvement in performance under various circumstances is _not_ given! If you dig around you can find their transfer time application [1], but there is no discussion on that page.

2. The basis for the improvement is not spelled out. (References are given, but you have to know the field - "acronyms only".) If I understand correctly, their contribution is the improved measures of congestion used. Their landing page just touts "don't use TCP"... which sounds like Step 0 of a very long process.

I admit, the title is basically accurate: "how to build" not "the performance of".

tl;dr: Start with existing work, simulate and improve incrementally.

I don't know anything about the field, but this article didn't lead me to understand any better. I'd love to know the real numbers they observed, which approaches didn't pan out, are they effectively using an error correcting code?

Anyway, it's certainly not an academic paper - just an advertisement.

[1] https://www.trytachyon.com/file-transfer-calculator

Re:How we built a new, fast file transfer protocol by amelius on Saturday March 26, 2022 @02:37PM (#30814154)
I just tried the calculator. It seems that if you're in "US Metro" or "Europe", then the transfer protocol is just as fast as TCP, is this correct? I wonder why this is the case. Is it because the routers play more fairly?
Re:How we built a new, fast file transfer protocol by jandrese on Saturday March 26, 2022 @04:53PM (#30815254)
I would expect it means your service provider isn't dropping packets. Their protocol seems to just be more aggressive about not backing off in the face of packet loss, which is helpful if one of your links is a marginal radio connection.

The cynic in me thinks they achieve better throughput because they don't play nice with TCP and monopolize the link while everybody else gets backed off.

Re:How we built a new, fast file transfer protocol by drpixie on Saturday March 26, 2022 @07:58PM (#30816454)
I'm inclined to agree. Perhaps there's a place for a "fast" FTP protocol but I wouldn't want to be sharing the link with them ... imagine the cries going around the office ... "has the internet gone down again!?"

For TCP transfers, I expect to see near 100% utilisation (if I'm not sharing bandwidth) but that's on wired (reliable) links.

Re:How we built a new, fast file transfer protocol by hansel_der on Sunday March 27, 2022 @10:54AM (#30820678)
nailed it.

communication links are generally a shared resource (common good) and the experience will degrade for everyone if individual transfers/users aren't backing down voluntarily.

Re:How we built a new, fast file transfer protocol by ncmncm on Sunday March 27, 2022 @02:57AM (#30818317)
You can do better than TCP and still "play nice". Just using up exactly the bandwidth TCP refuses to use, as FASP does by default, gets you much faster transmission.
Re:How we built a new, fast file transfer protocol by hansel_der on Sunday March 27, 2022 @10:49AM (#30820649)
> Just using up exactly the bandwidth TCP refuses to use

There's not much good to say about ppl that "use up the space others refuse to use" at the queue in a store, thou.

i.e. our network links are generally not designed to be used at full capacity b/c queueing is hard and buying faster/more gear is easy.

Re:How we built a new, fast file transfer protocol by ncmncm on Sunday March 27, 2022 @07:09PM (#30825100)
Then let's not say it. Clearly you miss the point: any provisioned backbone bandwidth that does not carry a packet just goes to waste. Network backbone channels are not provisioned like your consumer-grade cable TV network endpoint hubs. Carriers pay for guaranteed capacity. When TCP fails to use bandwidth capacity, it is failing to use backbone bandwidth, not dodgy last-mile bandwidth.

Even moreso: when so configured, FASP is having exactly zero effect on the actual bit rate of the TCP connections. Another TCP connection would compete for the same packet slots, slowing them all down. The FASP traffic does not slow down any of the TCP connections, but only competes with other FASP (or similar) traffic.

Re:How we built a new, fast file transfer protocol by jandrese on Monday March 28, 2022 @10:30AM (#30830864)
Anything that causes packet loss will slow down TCP. If you are fully saturating a link you will introduce packet loss. It's just how TCP works.
Re:How we built a new, fast file transfer protocol by ncmncm on Monday March 28, 2022 @04:39PM (#30835286)
And if you are fully saturating exactly the packet slots TCP would not try to use, then you are not introducing packet loss. That is just how FASP works.
Re:How we built a new, fast file transfer protocol by hansel_der on Friday April 01, 2022 @09:05AM (#30877700)
there is just no way for end-points to know about the 'unused slots' much less use them specifically (w/o introducing packet loss or latency).
Re:How we built a new, fast file transfer protocol by hansel_der on Sunday March 27, 2022 @10:36AM (#30820549)
> The cynic in me thinks they achieve better throughput because they don't play nice with TCP and monopolize the link while everybody else gets backed off.

sounds like BBRv1

Re:How we built a new, fast file transfer protocol by mcharawi on Saturday March 26, 2022 @02:46PM (#30814230)
Thanks for taking the time to read it! To address your concerns:

1. To give you an idea of the speed improvements, we transferred a 2GB file between Ohio and Singapore on AWS and were able to transfer it in 0:26 (seconds) using our protocol, vs 2:15 for SCP.

2. The basis for improvement is taking into account the changes in round-trip-time for a particular network path; these temporary increases are used as the primary congestion signal.

We are not using error correcting codes, which are good for preventing the retransmission of packets but do not address the underlying problem of avoiding congestion in a network.

Re:How we built a new, fast file transfer protocol by koprulusector on Saturday March 26, 2022 @06:09PM (#30815810)
Can I ask a dumb question? Why SCP and not rsync?
Re:How we built a new, fast file transfer protocol by metadat on Saturday March 26, 2022 @07:14PM (#30816198)
There is no meaningful difference, at the end of the day they'll both be fine for measuring the base case of single-threaded TCP connection performance.

I prefer rsync as well, but SCP works on more machines by default (no dependency on rsync being installed on the target host).

Re:How we built a new, fast file transfer protocol by Straw on Saturday March 26, 2022 @04:28PM (#30815081)
How much was SCP affected by TCP buffer size tuning?