Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow single connection speed #55

Open
kdurov opened this issue Jan 20, 2023 · 2 comments
Open

Slow single connection speed #55

kdurov opened this issue Jan 20, 2023 · 2 comments

Comments

@kdurov
Copy link

kdurov commented Jan 20, 2023

Hello.

I've been using wireproxy to convert wireguard VPN to socks proxy for geo restricted websites for few days and I truly appreciate all your hard work.

As I used it to open foreign streaming sites, I've notice that the video quality is downgraded but using wireguard conf to set up a new interface doesn't seem to have this issue. So I did some speed tests with curl
curl -x socks5://localhost:1080 -O https://nyc.speedtest.clouvider.net/10g.bin > /dev/null
and the speed is indeed much slower. The speed is capped at around 3200k (byte/s)

However, if I set this socks proxy on my browser and test on speedtest.net (multiple thread), it does nearly saturate my local port speed so it looks like single connection is the problem.

Can you reproduce this issue on your end?
What's the bottleneck here and is there a fix to this issue?

Thanks in advance.

@deixl
Copy link

deixl commented Feb 18, 2023

I don’t know what the speed was in the past. I have only used wireproxy for a few days and found that the speed of YouTube is similar to the 3200k you said

@kubrickfr
Copy link
Contributor

Yes, this is a duplicate of #30
TCP on long distances has a low Bandwidth Delay Product, which would severly limit your available bandwidth on a single connection.
UDP/QUIC (used by HTTP3) also suffers from that to some extent but has much better congestion avoidance, but can't work because of the lack of support for UDP proxying in wireproxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants