Re: [tor-relays] TCP CCA for Tor Relays (and especially Bridges)

2020-01-20 Thread Alex Xu
Quoting Iain Learmonth (2020-01-20 16:00:01) > Last time I looked you could not switch TCP congestion control algorithm > in Linux per-namespace (maybe you can now and you don't need to have > multiple VMs). It's been allowed for about two years now [0], but you don't need it anyways. Trying out n

Re: [tor-relays] TCP CCA for Tor Relays (and especially Bridges)

2020-01-20 Thread Iain Learmonth
Hi, On 11/01/2020 05:07, Matt Corallo wrote: > Sadly, the large scale deployments of BBR are mostly not high-latency links > (as CDNs generally have a nearby datacenter for you to communicate with), and > the high retransmission rates may result in more “lag” for browsing when > absolute bandwi

Re: [tor-relays] TCP CCA for Tor Relays (and especially Bridges)

2020-01-12 Thread Matt Corallo
Hmm, this type of test doesn’t really seem to have much connection to the average Tor user. Middle relay <-> middle relay connections may be mostly servers, but residential/mobile connections in Russia/Iran/China likely don’t perform quite the same. Worse still, BBR can have measurable effects o

Re: [tor-relays] TCP CCA for Tor Relays (and especially Bridges)

2020-01-12 Thread Matt Corallo
Cool! What did your testing rig look like? I suppose the real question is what does the latency/loss profile of the average Tor (bridge) user look like? On 1/10/20 8:18 AM, Roman Mamedov wrote: > On Thu, 9 Jan 2020 00:58:36 -0500 > Matt Corallo wrote: > >> BBA should handle random packet loss m

Re: [tor-relays] TCP CCA for Tor Relays (and especially Bridges)

2020-01-10 Thread Roman Mamedov
On Fri, 10 Jan 2020 16:24:56 + Matt Corallo wrote: > Cool! What did your testing rig look like? A few years ago I've got a dedicated server from one of these cheap French hosts, which appeared to have a congested uplink (low-ish upload speeds). Since the support was not able to solve this, b

Re: [tor-relays] TCP CCA for Tor Relays (and especially Bridges)

2020-01-10 Thread Roman Mamedov
On Thu, 9 Jan 2020 00:58:36 -0500 Matt Corallo wrote: > BBA should handle random packet loss much better than, eg, Cubic. Do you mean BBR? https://github.com/google/bbr In my experience it does work very well on Tor relays, and also on servers in general (keeping in mind that these TCP congesti

Re: [tor-relays] TCP CCA for Tor Relays (and especially Bridges)

2020-01-09 Thread Felix
Hi Matt Am 2020-01-09 um 6:58 AM schrieb Matt Corallo: I’m sure this exists somewhere so this is more of a request-for-links, but what’s the current thinking on TCP CCA selection for Tor relays? While it has fairness issues (and reported long-tail issues for higher-latency links, though I can

[tor-relays] TCP CCA for Tor Relays (and especially Bridges)

2020-01-09 Thread Matt Corallo
I’m sure this exists somewhere so this is more of a request-for-links, but what’s the current thinking on TCP CCA selection for Tor relays? While it has fairness issues (and reported long-tail issues for higher-latency links, though I can’t find good in-practice analysis of this), BBA should han