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

Very low transfer speed #18

Open
megapro17 opened this issue Feb 14, 2022 · 3 comments
Open

Very low transfer speed #18

megapro17 opened this issue Feb 14, 2022 · 3 comments

Comments

@megapro17
Copy link

We both have a stable 100 Mbps internet but pcp sends it with about 2.3 MB/s. Does it use multiple threads? I'm using v0.4.0-rc1 Windows.

@dennis-tra
Copy link
Owner

Hi @megapro17, it could very well be the case that your connection got relayed by an intermediate peer. This happens if pcp was not able to hole punch a connection through either of your routers. (this is just a guess)

If that's the case, there a many improvements on the way that address this problem:

libp2p/go-libp2p#1039

Indeed, I just learned that it got merged two months ago. pcp would definitely benefit from that improvement.

I'm also thinking to indicate in the command line if the connection got relayed.

@megapro17
Copy link
Author

Thanks for looking. I guess it was because my friend had a shared ip from isp, mine is dedicated. I tried today with both dedicated and it hit 10 MB/s speed, but not for a long time, dropped to about 5 MB/s. I didn't realised it is so difficult to send files, torrents are just working with any connection with maximum speed.

@megapro17
Copy link
Author

can i have a nightly build to test new branch??

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

2 participants